org.apache.hadoop.hive.ql.optimizer.stats.annotation
Class StatsRulesProcFactory.DefaultStatsRule
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.stats.annotation.StatsRulesProcFactory.DefaultStatsRule
- All Implemented Interfaces:
- NodeProcessor
- Direct Known Subclasses:
- StatsRulesProcFactory.FilterStatsRule, StatsRulesProcFactory.GroupByStatsRule, StatsRulesProcFactory.JoinStatsRule, StatsRulesProcFactory.LimitStatsRule, StatsRulesProcFactory.SelectStatsRule, StatsRulesProcFactory.TableScanStatsRule
- Enclosing class:
- StatsRulesProcFactory
public static class StatsRulesProcFactory.DefaultStatsRule
- extends Object
- implements NodeProcessor
Default rule is to aggregate the statistics from all its parent operators.
StatsRulesProcFactory.DefaultStatsRule
public StatsRulesProcFactory.DefaultStatsRule()
process
public Object process(Node nd,
Stack<Node> stack,
NodeProcessorCtx procCtx,
Object... nodeOutputs)
throws SemanticException
- Description copied from interface:
NodeProcessor
- Generic process for all ops that don't have specific implementations.
- Specified by:
process
in interface NodeProcessor
- Parameters:
nd
- operator to processprocCtx
- operator processor contextnodeOutputs
- A variable argument list of outputs from other nodes in the walk
- Returns:
- Object to be returned by the process call
- Throws:
SemanticException
Copyright © 2014 The Apache Software Foundation. All rights reserved.