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.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.
|
Constructor and Description |
---|
StatsRulesProcFactory() |
Modifier and Type | Method and Description |
---|---|
static NodeProcessor |
getDefaultRule() |
static NodeProcessor |
getFilterRule() |
static NodeProcessor |
getGroupByRule() |
static NodeProcessor |
getJoinRule() |
static NodeProcessor |
getLimitRule() |
static NodeProcessor |
getReduceSinkRule() |
static NodeProcessor |
getSelectRule() |
static NodeProcessor |
getTableScanRule() |
public static NodeProcessor getTableScanRule()
public static NodeProcessor getSelectRule()
public static NodeProcessor getFilterRule()
public static NodeProcessor getGroupByRule()
public static NodeProcessor getJoinRule()
public static NodeProcessor getLimitRule()
public static NodeProcessor getReduceSinkRule()
public static NodeProcessor getDefaultRule()
Copyright © 2017 The Apache Software Foundation. All rights reserved.