| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql | |
| org.apache.hadoop.hive.ql.exec |
Hive QL execution tasks, operators, functions and other handlers.
|
| org.apache.hadoop.hive.ql.optimizer | |
| org.apache.hadoop.hive.ql.optimizer.stats.annotation | |
| org.apache.hadoop.hive.ql.plan | |
| org.apache.hadoop.hive.ql.stats |
| Modifier and Type | Method and Description |
|---|---|
Statistics |
Context.getMaterializedTableStats(TableName tableName) |
| Modifier and Type | Method and Description |
|---|---|
void |
Context.addMaterializedTable(String cteName,
Table table,
Statistics statistics) |
| Modifier and Type | Method and Description |
|---|---|
Statistics |
Operator.getStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
Operator.setStatistics(Statistics stats) |
| Modifier and Type | Method and Description |
|---|---|
long |
ConvertJoinMapJoin.computeOnlineDataSize(Statistics statistics) |
long |
ConvertJoinMapJoin.computeOnlineDataSizeFast(Statistics statistics) |
long |
ConvertJoinMapJoin.computeOnlineDataSizeFastCompositeKeyed(Statistics statistics) |
long |
ConvertJoinMapJoin.computeOnlineDataSizeFastLongKeyed(Statistics statistics) |
long |
ConvertJoinMapJoin.computeOnlineDataSizeGeneric(Statistics statistics,
long overHeadPerRow,
long overHeadPerSlot) |
long |
ConvertJoinMapJoin.computeOnlineDataSizeOptimized(Statistics statistics) |
| Modifier and Type | Method and Description |
|---|---|
Statistics |
AnnotateStatsProcCtx.getAndExprStats() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
StatsRulesProcFactory.FilterStatsRule.evaluateExpression(Statistics stats,
ExprNodeDesc pred,
AnnotateStatsProcCtx aspCtx,
List<String> neededCols,
Operator<?> op,
long currNumRows) |
void |
AnnotateStatsProcCtx.setAndExprStats(Statistics andExprStats) |
| Modifier and Type | Field and Description |
|---|---|
protected Statistics |
AbstractOperatorDesc.statistics |
| Modifier and Type | Method and Description |
|---|---|
Statistics |
Statistics.clone() |
Statistics |
OperatorDesc.getStatistics() |
Statistics |
AbstractOperatorDesc.getStatistics() |
Statistics |
Statistics.scaleToRowCount(long newRowCount,
boolean downScaleOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
Statistics.addBasicStats(Statistics stats) |
void |
OperatorDesc.setStatistics(Statistics statistics) |
void |
AbstractOperatorDesc.setStatistics(Statistics statistics) |
| Modifier and Type | Method and Description |
|---|---|
static Statistics |
StatsUtils.collectStatistics(HiveConf conf,
PrunedPartitionList partList,
ColumnStatsList colStatsCache,
Table table,
TableScanOperator tableScanOperator)
Collect table, partition and column level statistics
|
static Statistics |
StatsUtils.collectStatistics(HiveConf conf,
PrunedPartitionList partList,
Table table,
List<ColumnInfo> schema,
List<String> neededColumns,
ColumnStatsList colStatsCache,
List<String> referencedColumns,
boolean needColStats) |
| Modifier and Type | Method and Description |
|---|---|
static long |
StatsUtils.computeNDVGroupingColumns(List<ColStatistics> colStats,
Statistics parentStats,
boolean expDecay) |
static ColStatistics |
StatsUtils.getColStatisticsFromExpression(HiveConf conf,
Statistics parentStats,
ExprNodeDesc end)
Get column statistics expression nodes
|
static List<ColStatistics> |
StatsUtils.getColStatisticsFromExprMap(HiveConf conf,
Statistics parentStats,
Map<String,ExprNodeDesc> colExprMap,
RowSchema rowSchema)
Get column statistics from parent statistics.
|
static List<ColStatistics> |
StatsUtils.getColStatisticsUpdatingTableAlias(Statistics parentStats,
RowSchema rowSchema)
Get column statistics from parent statistics given the
row schema of its child.
|
static void |
StatsUtils.updateStats(Statistics stats,
long newNumRows,
boolean useColStats,
Operator<? extends OperatorDesc> op)
Update the basic statistics of the statistics object based on the row number
|
static void |
StatsUtils.updateStats(Statistics stats,
long newNumRows,
boolean useColStats,
Operator<? extends OperatorDesc> op,
Set<String> affectedColumns) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.