Uses of Interface
org.apache.drill.metastore.statistics.StatisticsKind
Packages that use StatisticsKind
Package
Description
-
Uses of StatisticsKind in org.apache.drill.exec.metastore.analyze
Fields in org.apache.drill.exec.metastore.analyze with type parameters of type StatisticsKindModifier and TypeFieldDescriptionstatic final Map<StatisticsKind<?>, org.apache.calcite.sql.SqlKind> AnalyzeColumnUtils.COLUMN_STATISTICS_FUNCTIONSstatic final Map<StatisticsKind<?>, TypeProtos.MinorType> AnalyzeColumnUtils.COLUMN_STATISTICS_TYPESstatic final Map<StatisticsKind<?>, org.apache.calcite.sql.SqlKind> AnalyzeColumnUtils.META_STATISTICS_FUNCTIONSMethods in org.apache.drill.exec.metastore.analyze that return StatisticsKindModifier and TypeMethodDescriptionstatic StatisticsKind<?> AnalyzeColumnUtils.getStatisticsKind(String fullName) ReturnsStatisticsKindinstance obtained form intermediate field name.Methods in org.apache.drill.exec.metastore.analyze with parameters of type StatisticsKindModifier and TypeMethodDescriptionstatic StringAnalyzeColumnUtils.getColumnStatisticsFieldName(String columnName, StatisticsKind<?> statisticsKind) Returns analyze-specific field name for column statistics which includes actual column name and statistics kind information.static StringAnalyzeColumnUtils.getMetadataStatisticsFieldName(StatisticsKind<?> statisticsKind) Returns analyze-specific field name for metadata statistics which includes statistics kind information. -
Uses of StatisticsKind in org.apache.drill.metastore.metadata
Methods in org.apache.drill.metastore.metadata with parameters of type StatisticsKindModifier and TypeMethodDescriptionbooleanBaseMetadata.containsExactStatistics(StatisticsKind<?> statisticsKind) booleanMetadata.containsExactStatistics(StatisticsKind<?> statisticsKind) Checks whether specified statistics kind is set in this non-column statistics and it corresponds to the exact statistics value.booleanNonInterestingColumnsMetadata.containsExactStatistics(StatisticsKind<?> statisticsKind) <V> VBaseMetadata.getStatistic(StatisticsKind<V> statisticsKind) <V> VMetadata.getStatistic(StatisticsKind<V> statisticsKind) Returns value of non-column statistics which corresponds to specifiedStatisticsKind.<V> VNonInterestingColumnsMetadata.getStatistic(StatisticsKind<V> statisticsKind) <V> VBaseMetadata.getStatisticsForColumn(SchemaPath columnName, StatisticsKind<V> statisticsKind) <V> VMetadata.getStatisticsForColumn(SchemaPath columnName, StatisticsKind<V> statisticsKind) Returns value of column statistics which corresponds to specifiedStatisticsKindfor column with specifiedcolumnName.<V> VNonInterestingColumnsMetadata.getStatisticsForColumn(SchemaPath columnName, StatisticsKind<V> statisticsKind) -
Uses of StatisticsKind in org.apache.drill.metastore.statistics
Subinterfaces of StatisticsKind in org.apache.drill.metastore.statisticsModifier and TypeInterfaceDescriptioninterfaceThis class represents kinds of column statistics which may be received as a union of other statistics, for example column nulls count may be received as a sum of nulls counts of underlying metadata parts.interfaceThis class represents kinds of table statistics which may be received as a union of other statistics, for example row count may be received as a sum of row counts of underlying metadata parts.Classes in org.apache.drill.metastore.statistics that implement StatisticsKindModifier and TypeClassDescriptionclassImplementation ofStatisticsKindwhich contain base table statistics kinds with implementedmergeStatistics()method.classImplementation ofCollectableColumnStatisticsKindwhich contain base column statistics kinds with implementedmergeStatistics()method.classImplementation ofCollectableColumnStatisticsKindwhich contain base table statistics kinds with implementedmergeStatistics()method.Methods in org.apache.drill.metastore.statistics that return StatisticsKindMethods in org.apache.drill.metastore.statistics with parameters of type StatisticsKindModifier and TypeMethodDescriptionbooleanColumnStatistics.contains(StatisticsKind<?> statisticsKind) Checks whether specified statistics kind is set in this column statistics.booleanColumnStatistics.containsExact(StatisticsKind<?> statisticsKind) Checks whether specified statistics kind is set in this column statistics and it corresponds to the exact statistics value.<V> VColumnStatistics.get(StatisticsKind<V> statisticsKind) Returns statistics value which corresponds to specifiedStatisticsKind.Constructors in org.apache.drill.metastore.statistics with parameters of type StatisticsKindModifierConstructorDescriptionStatisticsHolder(T statisticsValue, StatisticsKind<?> statisticsKind)