Class TableMetadataUnit.Schema
java.lang.Object
org.apache.drill.metastore.components.tables.TableMetadataUnit.Schema
- Enclosing class:
- TableMetadataUnit
Contains schema metadata, including lists of columns which belong to table, segment, file, row group
or partition. Also provides unit class getters and its builder setters method handlers
to optimize reflection calls.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TableMetadataUnit.Schema
Obtains field information for the given unit class and its builder.
-
Method Details
-
of
Obtains field information for the given unit class and its builder. Traverses through the list of unit class fields which are annotated withMetastoreFieldDefinition
and creates instance ofTableMetadataUnit.Schema
class that holds unit class schema metadata. Assumes that given unit class and its builder getters and setters method names are the same as annotated fields names. -
tableColumns
-
segmentColumns
-
fileColumns
-
rowGroupColumns
-
partitionColumns
-
unitGetters
-
unitBuilderSetters
-