Class BaseTableMetadata
java.lang.Object
org.apache.drill.metastore.metadata.BaseMetadata
org.apache.drill.metastore.metadata.BaseTableMetadata
- All Implemented Interfaces:
Metadata
,TableMetadata
Base implementation of
TableMetadata
interface.-
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
Modifier and TypeMethodDescriptionbuilder()
cloneWithStats
(Map<SchemaPath, ColumnStatistics<?>> columnStatistics, List<StatisticsHolder<?>> tableStatistics) boolean
org.apache.hadoop.fs.Path
int
hashCode()
boolean
isPartitionColumn
(String fieldName) protected void
toString()
Methods inherited from class org.apache.drill.metastore.metadata.BaseMetadata
containsExactStatistics, getColumn, getColumnsStatistics, getColumnStatistics, getLastModifiedTime, getMetadataInfo, getSchema, getStatistic, getStatisticsForColumn, getTableInfo, toMetadataUnit
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.drill.metastore.metadata.Metadata
containsExactStatistics, getColumn, getColumnsStatistics, getColumnStatistics, getMetadataInfo, getSchema, getStatistic, getStatisticsForColumn, getTableInfo, toMetadataUnit
Methods inherited from interface org.apache.drill.metastore.metadata.TableMetadata
getLastModifiedTime
-
Method Details
-
isPartitionColumn
-
getLocation
public org.apache.hadoop.fs.Path getLocation()- Specified by:
getLocation
in interfaceTableMetadata
-
getInterestingColumns
- Specified by:
getInterestingColumns
in interfaceTableMetadata
-
equals
- Overrides:
equals
in classBaseMetadata
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseMetadata
-
toString
-
cloneWithStats
public BaseTableMetadata cloneWithStats(Map<SchemaPath, ColumnStatistics<?>> columnStatistics, List<StatisticsHolder<?>> tableStatistics) - Specified by:
cloneWithStats
in interfaceTableMetadata
-
toMetadataUnitBuilder
- Specified by:
toMetadataUnitBuilder
in classBaseMetadata
-
toBuilder
- Specified by:
toBuilder
in classBaseMetadata
-
builder
-