Enum ScanSchemaResolver.SchemaType
java.lang.Object
java.lang.Enum<ScanSchemaResolver.SchemaType>
org.apache.drill.exec.physical.impl.scan.v3.schema.ScanSchemaResolver.SchemaType
- All Implemented Interfaces:
Serializable
,Comparable<ScanSchemaResolver.SchemaType>
- Enclosing class:
- ScanSchemaResolver
Indicates the source of the schema to be analyzed.
Each schema type has subtly different rules. The
schema type allows us to inject those differences inline
within the resolution process. Also, each schema carries
a tag used for error reporting.
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionsource()
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.
-
Enum Constant Details
-
STRICT_PROVIDED_SCHEMA
-
LENIENT_PROVIDED_SCHEMA
-
EARLY_READER_SCHEMA
-
FIRST_READER_SCHEMA
-
READER_SCHEMA
-
MISSING_COLS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
source
-