public class GroupByOptimizer.SortGroupByProcessor extends Object implements NodeProcessor
Modifier and Type | Field and Description |
---|---|
protected ParseContext |
pGraphContext |
Constructor and Description |
---|
GroupByOptimizer.SortGroupByProcessor(ParseContext pGraphContext) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkGroupByOperatorProcessed(GroupByOptimizer.GroupByOptimizerContext groupBySortOptimizerContext,
GroupByOperator groupByOp) |
protected GroupByOptimizer.GroupByOptimizerSortMatch |
checkSortGroupBy(Stack<Node> stack,
GroupByOperator groupByOp) |
protected void |
convertGroupByMapSideSortedGroupBy(HiveConf conf,
GroupByOperator groupByOp,
int depth) |
Object |
process(Node nd,
Stack<Node> stack,
NodeProcessorCtx procCtx,
Object... nodeOutputs)
Generic process for all ops that don't have specific implementations.
|
protected void |
processGroupBy(GroupByOptimizer.GroupByOptimizerContext ctx,
Stack<Node> stack,
GroupByOperator groupByOp,
int depth) |
protected ParseContext pGraphContext
public GroupByOptimizer.SortGroupByProcessor(ParseContext pGraphContext)
protected boolean checkGroupByOperatorProcessed(GroupByOptimizer.GroupByOptimizerContext groupBySortOptimizerContext, GroupByOperator groupByOp)
protected void processGroupBy(GroupByOptimizer.GroupByOptimizerContext ctx, Stack<Node> stack, GroupByOperator groupByOp, int depth) throws SemanticException
SemanticException
public Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx, Object... nodeOutputs) throws SemanticException
NodeProcessor
process
in interface NodeProcessor
nd
- operator to processprocCtx
- operator processor contextnodeOutputs
- A variable argument list of outputs from other nodes in the walkSemanticException
protected GroupByOptimizer.GroupByOptimizerSortMatch checkSortGroupBy(Stack<Node> stack, GroupByOperator groupByOp) throws SemanticException
SemanticException
protected void convertGroupByMapSideSortedGroupBy(HiveConf conf, GroupByOperator groupByOp, int depth)
Copyright © 2017 The Apache Software Foundation. All rights reserved.