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 Details

  • Constructor Details

    • BaseMetadataBuilder

      public BaseMetadataBuilder()
  • Method Details

    • tableInfo

      public T tableInfo(TableInfo tableInfo)
    • metadataInfo

      public T metadataInfo(MetadataInfo metadataInfo)
    • schema

      public T schema(TupleMetadata schema)
    • columnsStatistics

      public T columnsStatistics(Map<SchemaPath,ColumnStatistics<?>> columnsStatistics)
    • metadataStatistics

      public T metadataStatistics(Collection<StatisticsHolder<?>> metadataStatistics)
    • lastModifiedTime

      public T lastModifiedTime(long lastModifiedTime)
    • metadataUnit

      public T metadataUnit(TableMetadataUnit unit)
    • checkRequiredValues

      protected void checkRequiredValues()
    • build

      public abstract BaseMetadata build()
    • self

      protected abstract T self()
    • metadataUnitInternal

      protected abstract T metadataUnitInternal(TableMetadataUnit unit)