public static enum ScanSchemaResolver.SchemaType extends Enum<ScanSchemaResolver.SchemaType>
Enum Constant and Description |
---|
EARLY_READER_SCHEMA |
FIRST_READER_SCHEMA |
LENIENT_PROVIDED_SCHEMA |
MISSING_COLS |
READER_SCHEMA |
STRICT_PROVIDED_SCHEMA |
Modifier and Type | Method and Description |
---|---|
String |
source() |
static ScanSchemaResolver.SchemaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanSchemaResolver.SchemaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanSchemaResolver.SchemaType STRICT_PROVIDED_SCHEMA
public static final ScanSchemaResolver.SchemaType LENIENT_PROVIDED_SCHEMA
public static final ScanSchemaResolver.SchemaType EARLY_READER_SCHEMA
public static final ScanSchemaResolver.SchemaType FIRST_READER_SCHEMA
public static final ScanSchemaResolver.SchemaType READER_SCHEMA
public static final ScanSchemaResolver.SchemaType MISSING_COLS
public static ScanSchemaResolver.SchemaType[] values()
for (ScanSchemaResolver.SchemaType c : ScanSchemaResolver.SchemaType.values()) System.out.println(c);
public static ScanSchemaResolver.SchemaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String source()
Copyright © 1970 The Apache Software Foundation. All rights reserved.