Class BaseMetadata.BaseMetadataBuilder<T extends BaseMetadata.BaseMetadataBuilder<T>>
java.lang.Object
org.apache.drill.metastore.metadata.BaseMetadata.BaseMetadataBuilder<T>
- Direct Known Subclasses:
BaseTableMetadata.BaseTableMetadataBuilder
,FileMetadata.FileMetadataBuilder
,PartitionMetadata.PartitionMetadataBuilder
,RowGroupMetadata.RowGroupMetadataBuilder
,SegmentMetadata.SegmentMetadataBuilder
- Enclosing class:
- BaseMetadata
public abstract static class BaseMetadata.BaseMetadataBuilder<T extends BaseMetadata.BaseMetadataBuilder<T>>
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<SchemaPath,
ColumnStatistics<?>> protected long
protected MetadataInfo
protected Collection<StatisticsHolder<?>>
protected TupleMetadata
protected TableInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract BaseMetadata
build()
protected void
columnsStatistics
(Map<SchemaPath, ColumnStatistics<?>> columnsStatistics) lastModifiedTime
(long lastModifiedTime) metadataInfo
(MetadataInfo metadataInfo) metadataStatistics
(Collection<StatisticsHolder<?>> metadataStatistics) protected abstract T
schema
(TupleMetadata schema) protected abstract T
self()
-
Field Details
-
tableInfo
-
metadataInfo
-
schema
-
columnsStatistics
-
metadataStatistics
-
lastModifiedTime
protected long lastModifiedTime
-
-
Constructor Details
-
BaseMetadataBuilder
public BaseMetadataBuilder()
-
-
Method Details
-
tableInfo
-
metadataInfo
-
schema
-
columnsStatistics
-
metadataStatistics
-
lastModifiedTime
-
metadataUnit
-
checkRequiredValues
protected void checkRequiredValues() -
build
-
self
-
metadataUnitInternal
-