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_FUNCTIONS
static final Map<StatisticsKind<?>,
TypeProtos.MinorType> AnalyzeColumnUtils.COLUMN_STATISTICS_TYPES
static final Map<StatisticsKind<?>,
org.apache.calcite.sql.SqlKind> AnalyzeColumnUtils.META_STATISTICS_FUNCTIONS
Methods in org.apache.drill.exec.metastore.analyze that return StatisticsKindModifier and TypeMethodDescriptionstatic StatisticsKind<?>
AnalyzeColumnUtils.getStatisticsKind
(String fullName) ReturnsStatisticsKind
instance obtained form intermediate field name.Methods in org.apache.drill.exec.metastore.analyze with parameters of type StatisticsKindModifier and TypeMethodDescriptionstatic String
AnalyzeColumnUtils.getColumnStatisticsFieldName
(String columnName, StatisticsKind<?> statisticsKind) Returns analyze-specific field name for column statistics which includes actual column name and statistics kind information.static String
AnalyzeColumnUtils.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 TypeMethodDescriptionboolean
BaseMetadata.containsExactStatistics
(StatisticsKind<?> statisticsKind) boolean
Metadata.containsExactStatistics
(StatisticsKind<?> statisticsKind) Checks whether specified statistics kind is set in this non-column statistics and it corresponds to the exact statistics value.boolean
NonInterestingColumnsMetadata.containsExactStatistics
(StatisticsKind<?> statisticsKind) <V> V
BaseMetadata.getStatistic
(StatisticsKind<V> statisticsKind) <V> V
Metadata.getStatistic
(StatisticsKind<V> statisticsKind) Returns value of non-column statistics which corresponds to specifiedStatisticsKind
.<V> V
NonInterestingColumnsMetadata.getStatistic
(StatisticsKind<V> statisticsKind) <V> V
BaseMetadata.getStatisticsForColumn
(SchemaPath columnName, StatisticsKind<V> statisticsKind) <V> V
Metadata.getStatisticsForColumn
(SchemaPath columnName, StatisticsKind<V> statisticsKind) Returns value of column statistics which corresponds to specifiedStatisticsKind
for column with specifiedcolumnName
.<V> V
NonInterestingColumnsMetadata.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 TypeInterfaceDescriptioninterface
This 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.interface
This 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 TypeClassDescriptionclass
Implementation ofStatisticsKind
which contain base table statistics kinds with implementedmergeStatistics()
method.class
Implementation ofCollectableColumnStatisticsKind
which contain base column statistics kinds with implementedmergeStatistics()
method.class
Implementation ofCollectableColumnStatisticsKind
which 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 TypeMethodDescriptionboolean
ColumnStatistics.contains
(StatisticsKind<?> statisticsKind) Checks whether specified statistics kind is set in this column statistics.boolean
ColumnStatistics.containsExact
(StatisticsKind<?> statisticsKind) Checks whether specified statistics kind is set in this column statistics and it corresponds to the exact statistics value.<V> V
ColumnStatistics.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)