Package org.apache.drill.metastore
Enum MetastoreColumn
- All Implemented Interfaces:
Serializable
,Comparable<MetastoreColumn>
Metastore column definition, contains all Metastore column and their name
to unique their usage in the code.
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MetastoreColumn
Looks upMetastoreColumn
value for the given column name.static MetastoreColumn
Returns the enum constant of this type with the specified name.static MetastoreColumn[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STORAGE_PLUGIN
-
WORKSPACE
-
TABLE_NAME
-
OWNER
-
TABLE_TYPE
-
METADATA_TYPE
-
METADATA_KEY
-
LOCATION
-
INTERESTING_COLUMNS
-
SCHEMA
-
COLUMNS_STATISTICS
-
METADATA_STATISTICS
-
LAST_MODIFIED_TIME
-
PARTITION_KEYS
-
ADDITIONAL_METADATA
-
METADATA_IDENTIFIER
-
COLUMN
-
LOCATIONS
-
PARTITION_VALUES
-
PATH
-
ROW_GROUP_INDEX
-
HOST_AFFINITY
-
-
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
-
columnName
-
of
Looks upMetastoreColumn
value for the given column name.- Parameters:
columnName
- column name- Returns:
MetastoreColumn
value- Throws:
MetastoreException
- ifMetastoreColumn
value is not found
-