Uses of Interface
org.apache.drill.metastore.statistics.StatisticsKind
Package
Description
-
Uses of StatisticsKind in org.apache.drill.exec.metastore.analyze
Modifier 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
Modifier and TypeMethodDescriptionstatic StatisticsKind<?>
AnalyzeColumnUtils.getStatisticsKind
(String fullName) ReturnsStatisticsKind
instance obtained form intermediate field name.Modifier 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
Modifier 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
Modifier 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.Modifier 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.Modifier 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
.ModifierConstructorDescriptionStatisticsHolder
(T statisticsValue, StatisticsKind<?> statisticsKind)