Uses of Class
org.apache.drill.metastore.metadata.BaseMetadata
Packages that use BaseMetadata
Package
Description
-
Uses of BaseMetadata in org.apache.drill.exec.physical.base
Methods in org.apache.drill.exec.physical.base with type parameters of type BaseMetadataModifier and TypeMethodDescriptionprotected <T extends BaseMetadata>
List<T>AbstractGroupScanWithMetadata.limitMetadata
(Collection<T> metadataList, int maxRecords) Prunes specified metadata list and leaves minimum metadata instances count with general rows number which is not less than specifiedmaxRecords
.protected static <T extends BaseMetadata & LocationProvider>
Map<org.apache.hadoop.fs.Path,T> AbstractGroupScanWithMetadata.pruneForPartitions
(Map<org.apache.hadoop.fs.Path, T> metadataToPrune, List<PartitionMetadata> filteredPartitionMetadata) Removes metadata which does not belong to any of partitions in metadata list.protected static <T extends BaseMetadata & LocationProvider>
Map<org.apache.hadoop.fs.Path,T> AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.pruneForSegments
(Map<org.apache.hadoop.fs.Path, T> metadataToPrune, Map<org.apache.hadoop.fs.Path, SegmentMetadata> filteredSegmentMetadata) Removes metadata which does not belong to any of partitions in metadata list. -
Uses of BaseMetadata in org.apache.drill.exec.store.parquet
Classes in org.apache.drill.exec.store.parquet with type parameters of type BaseMetadataModifier and TypeClassDescriptionclass
ParquetGroupScanStatistics<T extends BaseMetadata & LocationProvider>
Holds common statistics about data in parquet group scan, including information about total row count, columns counts, partition columns.Methods in org.apache.drill.exec.store.parquet with type parameters of type BaseMetadataModifier and TypeMethodDescriptionprotected static <T extends BaseMetadata & LocationProvider>
org.apache.drill.shaded.guava.com.google.common.collect.Multimap<org.apache.hadoop.fs.Path,T> AbstractParquetGroupScan.pruneForPartitions
(org.apache.drill.shaded.guava.com.google.common.collect.Multimap<org.apache.hadoop.fs.Path, T> metadataToPrune, List<PartitionMetadata> filteredPartitionMetadata) Removes metadata which does not belong to any of partitions in metadata list.protected static <T extends BaseMetadata & LocationProvider>
org.apache.drill.shaded.guava.com.google.common.collect.Multimap<org.apache.hadoop.fs.Path,T> AbstractParquetGroupScan.RowGroupScanFilterer.pruneForSegments
(org.apache.drill.shaded.guava.com.google.common.collect.Multimap<org.apache.hadoop.fs.Path, T> metadataToPrune, Map<org.apache.hadoop.fs.Path, SegmentMetadata> filteredSegmentMetadata) Removes metadata which does not belong to any of segments in metadata list. -
Uses of BaseMetadata in org.apache.drill.metastore.metadata
Subclasses of BaseMetadata in org.apache.drill.metastore.metadataModifier and TypeClassDescriptionclass
Base implementation ofTableMetadata
interface.class
Metadata which corresponds to the file level of table.class
Represents a metadata for the table part, which corresponds to the specific partition key.class
Metadata which corresponds to the row group level of table.class
Metadata which corresponds to the segment level of table.Methods in org.apache.drill.metastore.metadata that return BaseMetadata -
Uses of BaseMetadata in org.apache.drill.metastore.util
Methods in org.apache.drill.metastore.util with type parameters of type BaseMetadataModifier and TypeMethodDescriptionstatic <T extends BaseMetadata>
Map<SchemaPath,ColumnStatistics<?>> TableMetadataUtils.mergeColumnsStatistics
(Collection<T> metadataList, Set<SchemaPath> columns, List<CollectableColumnStatisticsKind<?>> statisticsToCollect) Merges list of specified metadata into the map ofColumnStatistics
with columns as keys.Method parameters in org.apache.drill.metastore.util with type arguments of type BaseMetadataModifier and TypeMethodDescriptionstatic TableMetadata
TableMetadataUtils.updateRowCount
(TableMetadata tableMetadata, Collection<? extends BaseMetadata> statistics) Updates row count and column nulls count for specified table metadata and returns newTableMetadata
instance with updated statistics.