public abstract static class ReduceSinkDeDuplication.AbsctractReducerReducerProc extends Object implements NodeProcessor
Constructor and Description |
---|
ReduceSinkDeDuplication.AbsctractReducerReducerProc() |
Modifier and Type | Method and Description |
---|---|
protected Integer |
checkNumReducer(int creduce,
int preduce)
If number of reducers for RS is -1, the RS can have any number of reducers.
|
protected Integer |
checkOrder(String corder,
String porder) |
protected boolean |
merge(ReduceSinkOperator cRS,
JoinOperator pJoin,
int minReducer) |
protected boolean |
merge(ReduceSinkOperator cRS,
ReduceSinkOperator pRS,
int minReducer)
Current RSDedup remove/replace child RS.
|
Object |
process(Node nd,
Stack<Node> stack,
NodeProcessorCtx procCtx,
Object... nodeOutputs)
Generic process for all ops that don't have specific implementations.
|
protected abstract Object |
process(ReduceSinkOperator cRS,
GroupByOperator cGBY,
ReduceSinkDeDuplication.ReduceSinkDeduplicateProcCtx dedupCtx) |
protected abstract Object |
process(ReduceSinkOperator cRS,
ReduceSinkDeDuplication.ReduceSinkDeduplicateProcCtx dedupCtx) |
protected Integer |
sameKeys(List<ExprNodeDesc> cexprs,
List<ExprNodeDesc> pexprs,
Operator<?> child,
Operator<?> parent) |
public ReduceSinkDeDuplication.AbsctractReducerReducerProc()
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 abstract Object process(ReduceSinkOperator cRS, ReduceSinkDeDuplication.ReduceSinkDeduplicateProcCtx dedupCtx) throws SemanticException
SemanticException
protected abstract Object process(ReduceSinkOperator cRS, GroupByOperator cGBY, ReduceSinkDeDuplication.ReduceSinkDeduplicateProcCtx dedupCtx) throws SemanticException
SemanticException
protected boolean merge(ReduceSinkOperator cRS, JoinOperator pJoin, int minReducer) throws SemanticException
SemanticException
protected boolean merge(ReduceSinkOperator cRS, ReduceSinkOperator pRS, int minReducer) throws SemanticException
SemanticException
protected Integer sameKeys(List<ExprNodeDesc> cexprs, List<ExprNodeDesc> pexprs, Operator<?> child, Operator<?> parent) throws SemanticException
SemanticException
protected Integer checkNumReducer(int creduce, int preduce)
Copyright © 2017 The Apache Software Foundation. All rights reserved.