Uses of Class
org.apache.drill.metastore.metadata.BaseMetadata
Package
Description
-
Uses of BaseMetadata in org.apache.drill.exec.physical.base
Modifier 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
Modifier 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.Modifier 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
Modifier 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. -
Uses of BaseMetadata in org.apache.drill.metastore.util
Modifier 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.Modifier 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.