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 TypeClassDescriptionclassParquetGroupScanStatistics<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>
com.google.common.collect.Multimap<org.apache.hadoop.fs.Path, T> AbstractParquetGroupScan.pruneForPartitions(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>
com.google.common.collect.Multimap<org.apache.hadoop.fs.Path, T> AbstractParquetGroupScan.RowGroupScanFilterer.pruneForSegments(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 TypeClassDescriptionclassBase implementation ofTableMetadatainterface.classMetadata which corresponds to the file level of table.classRepresents a metadata for the table part, which corresponds to the specific partition key.classMetadata which corresponds to the row group level of table.classMetadata 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 ofColumnStatisticswith columns as keys.Method parameters in org.apache.drill.metastore.util with type arguments of type BaseMetadataModifier and TypeMethodDescriptionstatic TableMetadataTableMetadataUtils.updateRowCount(TableMetadata tableMetadata, Collection<? extends BaseMetadata> statistics) Updates row count and column nulls count for specified table metadata and returns newTableMetadatainstance with updated statistics.