public abstract static class BaseMetadata.BaseMetadataBuilder<T extends BaseMetadata.BaseMetadataBuilder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<SchemaPath,ColumnStatistics<?>> |
columnsStatistics |
protected long |
lastModifiedTime |
protected MetadataInfo |
metadataInfo |
protected Collection<StatisticsHolder<?>> |
metadataStatistics |
protected TupleMetadata |
schema |
protected TableInfo |
tableInfo |
Constructor and Description |
---|
BaseMetadataBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract BaseMetadata |
build() |
protected void |
checkRequiredValues() |
T |
columnsStatistics(Map<SchemaPath,ColumnStatistics<?>> columnsStatistics) |
T |
lastModifiedTime(long lastModifiedTime) |
T |
metadataInfo(MetadataInfo metadataInfo) |
T |
metadataStatistics(Collection<StatisticsHolder<?>> metadataStatistics) |
T |
metadataUnit(TableMetadataUnit unit) |
protected abstract T |
metadataUnitInternal(TableMetadataUnit unit) |
T |
schema(TupleMetadata schema) |
protected abstract T |
self() |
T |
tableInfo(TableInfo tableInfo) |
protected TableInfo tableInfo
protected MetadataInfo metadataInfo
protected TupleMetadata schema
protected Map<SchemaPath,ColumnStatistics<?>> columnsStatistics
protected Collection<StatisticsHolder<?>> metadataStatistics
protected long lastModifiedTime
public T metadataInfo(MetadataInfo metadataInfo)
public T schema(TupleMetadata schema)
public T columnsStatistics(Map<SchemaPath,ColumnStatistics<?>> columnsStatistics)
public T metadataStatistics(Collection<StatisticsHolder<?>> metadataStatistics)
public T lastModifiedTime(long lastModifiedTime)
public T metadataUnit(TableMetadataUnit unit)
protected void checkRequiredValues()
public abstract BaseMetadata build()
protected abstract T self()
protected abstract T metadataUnitInternal(TableMetadataUnit unit)
Copyright © 1970 The Apache Software Foundation. All rights reserved.