public enum InfoSchemaTableType extends Enum<InfoSchemaTableType> implements DrillTableSelection
Enum Constant and Description |
---|
CATALOGS |
COLUMNS |
FILES |
PARTITIONS |
SCHEMATA |
TABLES |
VIEWS |
Modifier and Type | Method and Description |
---|---|
String |
digest()
The digest of the selection represented by the implementation.
|
<S> PojoRecordReader<S> |
getRecordReader(org.apache.calcite.schema.SchemaPlus rootSchema,
InfoSchemaFilter filter,
OptionManager optionManager,
MetastoreRegistry metastoreRegistry) |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory) |
static InfoSchemaTableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfoSchemaTableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfoSchemaTableType CATALOGS
public static final InfoSchemaTableType SCHEMATA
public static final InfoSchemaTableType VIEWS
public static final InfoSchemaTableType COLUMNS
public static final InfoSchemaTableType TABLES
public static final InfoSchemaTableType PARTITIONS
public static final InfoSchemaTableType FILES
public static InfoSchemaTableType[] values()
for (InfoSchemaTableType c : InfoSchemaTableType.values()) System.out.println(c);
public static InfoSchemaTableType 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 <S> PojoRecordReader<S> getRecordReader(org.apache.calcite.schema.SchemaPlus rootSchema, InfoSchemaFilter filter, OptionManager optionManager, MetastoreRegistry metastoreRegistry)
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
public String digest()
DrillTableSelection
digest
in interface DrillTableSelection
Copyright © 1970 The Apache Software Foundation. All rights reserved.