public class StatsRulesProcFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StatsRulesProcFactory.DefaultStatsRule
Default rule is to aggregate the statistics from all its parent operators.
|
static class |
StatsRulesProcFactory.FilterStatsRule
FILTER operator does not change the average row size but it does change the number of rows
emitted.
|
static class |
StatsRulesProcFactory.GroupByStatsRule
GROUPBY operator changes the number of rows.
|
static class |
StatsRulesProcFactory.JoinStatsRule
JOIN operator can yield any of the following three cases The values of join keys are
disjoint in both relations in which case T(RXS) = 0 (we need histograms for this) Join
key is primary key on relation R and foreign key on relation S in which case every tuple in S
will have a tuple in R T(RXS) = T(S) (we need histograms for this) Both R & S relation
have same value for join-key.
|
static class |
StatsRulesProcFactory.LateralViewJoinStatsRule
LateralViewJoinOperator changes the data size and column level statistics.
|
static class |
StatsRulesProcFactory.LimitStatsRule
LIMIT operator changes the number of rows and thereby the data size.
|
static class |
StatsRulesProcFactory.ReduceSinkStatsRule
ReduceSink operator does not change any of the statistics.
|
static class |
StatsRulesProcFactory.SelectStatsRule
SELECT operator doesn't change the number of rows emitted from the parent operator.
|
static class |
StatsRulesProcFactory.TableScanStatsRule
Collect basic statistics like number of rows, data size and column level statistics from the
table.
|
static class |
StatsRulesProcFactory.UDTFStatsRule
UDTF operator changes the number of rows and thereby the data size.
|
| Constructor and Description |
|---|
StatsRulesProcFactory() |
| Modifier and Type | Method and Description |
|---|---|
static SemanticNodeProcessor |
getDefaultRule() |
static SemanticNodeProcessor |
getFilterRule() |
static SemanticNodeProcessor |
getGroupByRule() |
static SemanticNodeProcessor |
getJoinRule() |
static SemanticNodeProcessor |
getLateralViewJoinRule() |
static SemanticNodeProcessor |
getLimitRule() |
static SemanticNodeProcessor |
getReduceSinkRule() |
static SemanticNodeProcessor |
getSelectRule() |
static SemanticNodeProcessor |
getTableScanRule() |
static SemanticNodeProcessor |
getUDTFRule() |
public static SemanticNodeProcessor getTableScanRule()
public static SemanticNodeProcessor getSelectRule()
public static SemanticNodeProcessor getFilterRule()
public static SemanticNodeProcessor getGroupByRule()
public static SemanticNodeProcessor getJoinRule()
public static SemanticNodeProcessor getLimitRule()
public static SemanticNodeProcessor getReduceSinkRule()
public static SemanticNodeProcessor getUDTFRule()
public static SemanticNodeProcessor getLateralViewJoinRule()
public static SemanticNodeProcessor getDefaultRule()
Copyright © 2024 The Apache Software Foundation. All rights reserved.