Package | Description |
---|---|
org.apache.drill.exec.metastore.analyze | |
org.apache.drill.metastore.metadata | |
org.apache.drill.metastore.statistics |
Modifier and Type | Field and Description |
---|---|
static Map<StatisticsKind<?>,org.apache.calcite.sql.SqlKind> |
AnalyzeColumnUtils.COLUMN_STATISTICS_FUNCTIONS |
static Map<StatisticsKind<?>,TypeProtos.MinorType> |
AnalyzeColumnUtils.COLUMN_STATISTICS_TYPES |
static Map<StatisticsKind<?>,org.apache.calcite.sql.SqlKind> |
AnalyzeColumnUtils.META_STATISTICS_FUNCTIONS |
Modifier and Type | Method and Description |
---|---|
static StatisticsKind<?> |
AnalyzeColumnUtils.getStatisticsKind(String fullName)
Returns
StatisticsKind instance obtained form intermediate field name. |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
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 specified
StatisticsKind . |
<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 specified
StatisticsKind
for column with specified columnName . |
<V> V |
NonInterestingColumnsMetadata.getStatisticsForColumn(SchemaPath columnName,
StatisticsKind<V> statisticsKind) |
Modifier and Type | Interface and Description |
---|---|
interface |
CollectableColumnStatisticsKind<V>
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 |
CollectableTableStatisticsKind<T>
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 Type | Class and Description |
---|---|
class |
BaseStatisticsKind<T>
Implementation of
StatisticsKind which contain base
table statistics kinds with implemented mergeStatistics() method. |
class |
ColumnStatisticsKind<T>
Implementation of
CollectableColumnStatisticsKind which contain base
column statistics kinds with implemented mergeStatistics() method. |
class |
TableStatisticsKind<T>
Implementation of
CollectableColumnStatisticsKind which contain base
table statistics kinds with implemented mergeStatistics() method. |
Modifier and Type | Method and Description |
---|---|
StatisticsKind<?> |
StatisticsHolder.getStatisticsKind() |
Modifier and Type | Method and Description |
---|---|
boolean |
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 specified
StatisticsKind . |
Constructor and Description |
---|
StatisticsHolder(T statisticsValue,
StatisticsKind<?> statisticsKind) |
Copyright © 1970 The Apache Software Foundation. All rights reserved.