Uses of Class
org.apache.drill.metastore.statistics.ColumnStatistics
Packages that use ColumnStatistics
Package
Description
Drill expression materialization and evaluation facilities.
-
Uses of ColumnStatistics in org.apache.drill.exec.expr
Methods in org.apache.drill.exec.expr that return ColumnStatisticsModifier and TypeMethodDescriptionstatic <V> ColumnStatistics<V> StatisticsProvider.getColumnStatistics(V minVal, V maxVal, long nullsCount, TypeProtos.MinorType type) ReturnsColumnStatisticsinstance with set min, max values and nulls count statistics specified in the arguments.static <V> ColumnStatistics<V> StatisticsProvider.getConstantColumnStatistics(V minMaxValue, LogicalExpression expr) ReturnsColumnStatisticsinstance with min and max values set tominMaxValueand nulls count set to 0.static <V> ColumnStatistics<V> StatisticsProvider.getConstantColumnStatistics(V minMaxValue, TypeProtos.MinorType type) ReturnsColumnStatisticsinstance with min and max values set tominMaxValueand nulls count set to 0.StatisticsProvider.visitBooleanConstant(ValueExpressions.BooleanExpression expr, Void value) StatisticsProvider.visitDateConstant(ValueExpressions.DateExpression expr, Void value) StatisticsProvider.visitDoubleConstant(ValueExpressions.DoubleExpression expr, Void value) StatisticsProvider.visitFloatConstant(ValueExpressions.FloatExpression expr, Void value) StatisticsProvider.visitFunctionHolderExpression(FunctionHolderExpression holderExpr, Void value) StatisticsProvider.visitIntConstant(ValueExpressions.IntExpression expr, Void value) StatisticsProvider.visitLongConstant(ValueExpressions.LongExpression expr, Void value) StatisticsProvider.visitQuotedStringConstant(ValueExpressions.QuotedString expr, Void value) StatisticsProvider.visitTimeConstant(ValueExpressions.TimeExpression expr, Void value) StatisticsProvider.visitTimeStampConstant(ValueExpressions.TimeStampExpression expr, Void value) StatisticsProvider.visitTypedFieldExpr(TypedFieldExpr typedFieldExpr, Void value) StatisticsProvider.visitUnknown(LogicalExpression e, Void value) StatisticsProvider.visitVarDecimalConstant(ValueExpressions.VarDecimalExpression expr, Void value) Methods in org.apache.drill.exec.expr with parameters of type ColumnStatisticsModifier and TypeMethodDescriptionstatic booleanIsPredicate.isNullOrEmpty(ColumnStatistics<?> stat) Constructor parameters in org.apache.drill.exec.expr with type arguments of type ColumnStatisticsModifierConstructorDescriptionStatisticsProvider(Map<SchemaPath, ColumnStatistics<?>> columnStatMap, long rowCount, UdfUtilities udfUtilities) -
Uses of ColumnStatistics in org.apache.drill.exec.physical.base
Methods in org.apache.drill.exec.physical.base that return types with arguments of type ColumnStatisticsModifier and TypeMethodDescriptionprotected <T extends Metadata>
Map<SchemaPath, ColumnStatistics<?>> AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.getImplicitColumnStatistics(OptionManager optionManager, T metadata, Map<SchemaPath, ColumnStatistics<?>> columnsStatistics) Method parameters in org.apache.drill.exec.physical.base with type arguments of type ColumnStatisticsModifier and TypeMethodDescriptionprotected <T extends Metadata>
Map<SchemaPath, ColumnStatistics<?>> AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer.getImplicitColumnStatistics(OptionManager optionManager, T metadata, Map<SchemaPath, ColumnStatistics<?>> columnsStatistics) -
Uses of ColumnStatistics in org.apache.drill.exec.store.ischema
Constructors in org.apache.drill.exec.store.ischema with parameters of type ColumnStatisticsModifierConstructorDescriptionColumn(String catalog, String schemaName, String tableName, String columnName, ColumnMetadata columnMetadata, ColumnStatistics<?> columnStatistics, int index, boolean isNested) -
Uses of ColumnStatistics in org.apache.drill.exec.store.parquet
Methods in org.apache.drill.exec.store.parquet that return types with arguments of type ColumnStatisticsModifier and TypeMethodDescriptionstatic Map<SchemaPath, ColumnStatistics<?>> ParquetTableMetadataUtils.addImplicitColumnsStatistics(Map<SchemaPath, ColumnStatistics<?>> columnsStatistics, List<SchemaPath> columns, List<String> partitionValues, OptionManager optionManager, org.apache.hadoop.fs.Path location, boolean supportsFileImplicitColumns) Creates new map based on specifiedcolumnStatisticswith added statistics for implicit and partition (dir) columns.static Map<SchemaPath, ColumnStatistics<?>> ParquetTableMetadataUtils.getColumnStatistics(TupleMetadata schema, DrillStatsTable statistics) Returns map with schema path andColumnStatisticsobtained from specifiedDrillStatsTablefor all columns from specifiedBaseTableMetadata.static Map<SchemaPath, ColumnStatistics<?>> ParquetTableMetadataUtils.getRowGroupColumnStatistics(MetadataBase.ParquetTableMetadataBase tableMetadata, MetadataBase.RowGroupMetadata rowGroupMetadata) Converts specifiedMetadataBase.RowGroupMetadatainto the map ofColumnStatisticsinstances with column names as keys.Method parameters in org.apache.drill.exec.store.parquet with type arguments of type ColumnStatisticsModifier and TypeMethodDescriptionstatic Map<SchemaPath, ColumnStatistics<?>> ParquetTableMetadataUtils.addImplicitColumnsStatistics(Map<SchemaPath, ColumnStatistics<?>> columnsStatistics, List<SchemaPath> columns, List<String> partitionValues, OptionManager optionManager, org.apache.hadoop.fs.Path location, boolean supportsFileImplicitColumns) Creates new map based on specifiedcolumnStatisticswith added statistics for implicit and partition (dir) columns.static RowsMatchFilterEvaluatorUtils.matches(LogicalExpression expr, Map<SchemaPath, ColumnStatistics<?>> columnsStatistics, TupleMetadata schema, long rowCount, UdfUtilities udfUtilities, FunctionLookupContext functionImplementationRegistry, Set<SchemaPath> schemaPathsInExpr) static <T extends Comparable<T>>
RowsMatchFilterEvaluatorUtils.matches(FilterPredicate<T> parquetPredicate, Map<SchemaPath, ColumnStatistics<?>> columnsStatistics, long rowCount, TupleMetadata fileMetadata, Set<SchemaPath> schemaPathsInExpr, UdfUtilities udfUtilities) -
Uses of ColumnStatistics in org.apache.drill.metastore.metadata
Fields in org.apache.drill.metastore.metadata with type parameters of type ColumnStatisticsModifier and TypeFieldDescriptionprotected Map<SchemaPath, ColumnStatistics<?>> BaseMetadata.BaseMetadataBuilder.columnsStatisticsprotected final Map<SchemaPath, ColumnStatistics<?>> BaseMetadata.columnsStatisticsMethods in org.apache.drill.metastore.metadata that return ColumnStatisticsModifier and TypeMethodDescriptionBaseMetadata.getColumnStatistics(SchemaPath columnName) Metadata.getColumnStatistics(SchemaPath columnName) Returns statistics for specified column stored in current metadata.NonInterestingColumnsMetadata.getColumnStatistics(SchemaPath columnName) Methods in org.apache.drill.metastore.metadata that return types with arguments of type ColumnStatisticsModifier and TypeMethodDescriptionBaseMetadata.getColumnsStatistics()Metadata.getColumnsStatistics()Returns statistics stored in current metadata represented as Map of columnSchemaPaths and correspondingColumnStatistics.NonInterestingColumnsMetadata.getColumnsStatistics()Method parameters in org.apache.drill.metastore.metadata with type arguments of type ColumnStatisticsModifier and TypeMethodDescriptionBaseTableMetadata.cloneWithStats(Map<SchemaPath, ColumnStatistics<?>> columnStatistics, List<StatisticsHolder<?>> tableStatistics) TableMetadata.cloneWithStats(Map<SchemaPath, ColumnStatistics<?>> columnStatistics, List<StatisticsHolder<?>> tableStatistics) BaseMetadata.BaseMetadataBuilder.columnsStatistics(Map<SchemaPath, ColumnStatistics<?>> columnsStatistics) Constructor parameters in org.apache.drill.metastore.metadata with type arguments of type ColumnStatisticsModifierConstructorDescriptionNonInterestingColumnsMetadata(Map<SchemaPath, ColumnStatistics<?>> columnsStatistics) -
Uses of ColumnStatistics in org.apache.drill.metastore.statistics
Methods in org.apache.drill.metastore.statistics that return ColumnStatisticsModifier and TypeMethodDescriptionColumnStatistics.cloneWith(ColumnStatistics<T> sourceStatistics) Returns newColumnStatisticsinstance with overridden statistics taken from specifiedColumnStatistics.ColumnStatistics.genericClone(ColumnStatistics<?> sourceStatistics) static ColumnStatistics<?> Methods in org.apache.drill.metastore.statistics with parameters of type ColumnStatisticsModifier and TypeMethodDescriptionColumnStatistics.cloneWith(ColumnStatistics<T> sourceStatistics) Returns newColumnStatisticsinstance with overridden statistics taken from specifiedColumnStatistics.ColumnStatistics.genericClone(ColumnStatistics<?> sourceStatistics) ColumnStatisticsKind.getFrom(ColumnStatistics<?> metadata) Returns value which corresponds to this statistic kind, obtained from specifiedBaseMetadata.<V> VColumnStatisticsKind.getValueStatistic(ColumnStatistics<V> metadata) Method parameters in org.apache.drill.metastore.statistics with type arguments of type ColumnStatisticsModifier and TypeMethodDescriptionCollectableColumnStatisticsKind.mergeStatistics(List<? extends ColumnStatistics<?>> statistics) Returns column statistics value received by collecting specifiedColumnStatistics.ColumnStatisticsKind.mergeStatistics(List<? extends ColumnStatistics<?>> statistics) -
Uses of ColumnStatistics in org.apache.drill.metastore.util
Methods in org.apache.drill.metastore.util that return types with arguments of type ColumnStatisticsModifier 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.