Class PartitionMetadata.PartitionMetadataBuilder
java.lang.Object
org.apache.drill.metastore.metadata.BaseMetadata.BaseMetadataBuilder<PartitionMetadata.PartitionMetadataBuilder>
org.apache.drill.metastore.metadata.PartitionMetadata.PartitionMetadataBuilder
- Enclosing class:
- PartitionMetadata
public static class PartitionMetadata.PartitionMetadataBuilder
extends BaseMetadata.BaseMetadataBuilder<PartitionMetadata.PartitionMetadataBuilder>
-
Field Summary
Fields inherited from class org.apache.drill.metastore.metadata.BaseMetadata.BaseMetadataBuilder
columnsStatistics, lastModifiedTime, metadataInfo, metadataStatistics, schema, tableInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected void
column
(SchemaPath column) partitionValues
(List<String> partitionValues) self()
Methods inherited from class org.apache.drill.metastore.metadata.BaseMetadata.BaseMetadataBuilder
columnsStatistics, lastModifiedTime, metadataInfo, metadataStatistics, metadataUnit, schema, tableInfo
-
Constructor Details
-
PartitionMetadataBuilder
public PartitionMetadataBuilder()
-
-
Method Details
-
locations
public PartitionMetadata.PartitionMetadataBuilder locations(Set<org.apache.hadoop.fs.Path> locations) -
partitionValues
-
column
-
checkRequiredValues
protected void checkRequiredValues() -
build
- Specified by:
build
in classBaseMetadata.BaseMetadataBuilder<PartitionMetadata.PartitionMetadataBuilder>
-
self
- Specified by:
self
in classBaseMetadata.BaseMetadataBuilder<PartitionMetadata.PartitionMetadataBuilder>
-
metadataUnitInternal
- Specified by:
metadataUnitInternal
in classBaseMetadata.BaseMetadataBuilder<PartitionMetadata.PartitionMetadataBuilder>
-