|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.optimizer.stats.annotation.StatsRulesProcFactory
public class StatsRulesProcFactory
| Nested Class Summary | |
|---|---|
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.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 Summary | |
|---|---|
StatsRulesProcFactory()
|
|
| Method Summary | |
|---|---|
static NodeProcessor |
getDefaultRule()
|
static NodeProcessor |
getFilterRule()
|
static NodeProcessor |
getGroupByRule()
|
static NodeProcessor |
getJoinRule()
|
static NodeProcessor |
getLimitRule()
|
static NodeProcessor |
getSelectRule()
|
static NodeProcessor |
getTableScanRule()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatsRulesProcFactory()
| Method Detail |
|---|
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 getDefaultRule()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||