Class MetadataInfo
java.lang.Object
org.apache.drill.metastore.metadata.MetadataInfo
Class that specifies metadata type and metadata information
which will be used for obtaining specific metadata from metastore.
For example:
For table metadata:
For default segment metadata:
For top-level segment metadata:
For nested segment metadata:
For file metadata:
For row group metadata:
For partition metadata:
MetadataInfo[MetadataType.TABLE, MetadataInfo.GENERAL_INFO_KEY, MetadataInfo.GENERAL_INFO_KEY]
MetadataInfo[MetadataType.SEGMENT, MetadataInfo.DEFAULT_SEGMENT_KEY, MetadataInfo.DEFAULT_SEGMENT_KEY]
MetadataInfo[MetadataType.SEGMENT, "1994", "1994"]
MetadataInfo[MetadataType.SEGMENT, "1994", "1994/Q1"]
MetadataInfo[MetadataType.FILE, "1994", "1994/Q1/0_0_0.parquet"]
MetadataInfo[MetadataType.ROW_GROUP, "1994", "1994/Q1/0_0_0.parquet/1"]
MetadataInfo[MetadataType.PARTITION, "1994", "1994/Q1/01"]
-
Field Details
-
GENERAL_INFO_KEY
- See Also:
-
DEFAULT_SEGMENT_KEY
- See Also:
-
DEFAULT_COLUMN_PREFIX
- See Also:
-
-
Method Details