Class PartitionMetadata
java.lang.Object
org.apache.drill.metastore.metadata.BaseMetadata
org.apache.drill.metastore.metadata.PartitionMetadata
- All Implemented Interfaces:
Metadata
Represents a metadata for the table part, which corresponds to the specific partition key.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.metastore.metadata.BaseMetadata
BaseMetadata.BaseMetadataBuilder<T extends BaseMetadata.BaseMetadataBuilder<T>>
-
Field Summary
Fields inherited from class org.apache.drill.metastore.metadata.BaseMetadata
columnsStatistics, lastModifiedTime, metadataInfo, metadataStatistics, schema, tableInfo, UNDEFINED_TIME
-
Method Summary
Methods inherited from class org.apache.drill.metastore.metadata.BaseMetadata
containsExactStatistics, getColumn, getColumnsStatistics, getColumnStatistics, getLastModifiedTime, getMetadataInfo, getSchema, getStatistic, getStatisticsForColumn, getTableInfo, toMetadataUnit
-
Method Details
-
getColumn
It allows to obtain the column path for this partition- Returns:
- column path
-
getLocations
File locations for this partition- Returns:
- file locations
-
getPartitionValues
-
equals
- Overrides:
equals
in classBaseMetadata
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseMetadata
-
toString
-
toMetadataUnitBuilder
- Specified by:
toMetadataUnitBuilder
in classBaseMetadata
-
toBuilder
- Specified by:
toBuilder
in classBaseMetadata
-
builder
-