Class SegmentMetadata
java.lang.Object
org.apache.drill.metastore.metadata.BaseMetadata
org.apache.drill.metastore.metadata.SegmentMetadata
- All Implemented Interfaces:
LocationProvider
,Metadata
Metadata which corresponds to the segment level of table.
-
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
-
getPath
public org.apache.hadoop.fs.Path getPath()Description copied from interface:LocationProvider
Returns path of the metadata. For files and row groups - full path to the file including file name. For segments - path to the segment directory.- Specified by:
getPath
in interfaceLocationProvider
- Returns:
- metadata path
-
getLocation
public org.apache.hadoop.fs.Path getLocation()Description copied from interface:LocationProvider
Returns location of the metadata. For files and row groups - path to the parent directory they reside it. For segments - path to the segment directory.- Specified by:
getLocation
in interfaceLocationProvider
- Returns:
- metadata location
-
getPartitionValues
-
getLocations
-
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
-