Package org.apache.drill.metastore
Annotation Type MetastoreFieldDefinition
Annotation used to determine to which metadata types Metastore units fields belong.
Mainly used when obtaining field information using reflection.
Only fields annotated with this annotation are considered to be part of component
metadata unit, non-annotated fields will be ignored.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionIndicates Metastore column which can be used in select or filter.Indicated metadata types to which field belongs to.
-
Element Details
-
column
MetastoreColumn columnIndicates Metastore column which can be used in select or filter.- Returns:
- column enum value
-
scopes
MetadataType[] scopesIndicated metadata types to which field belongs to.- Returns:
- array of metadata types field belongs to
-