public abstract static class PrunerOperatorFactory.FilterPruner extends Object implements NodeProcessor
Constructor and Description |
---|
PrunerOperatorFactory.FilterPruner() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPruningPred(Map<TableScanOperator,ExprNodeDesc> opToPrunner,
TableScanOperator top,
ExprNodeDesc new_pruner_pred)
Add pruning predicate.
|
protected void |
addPruningPred(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPrunner,
TableScanOperator top,
ExprNodeDesc new_pruner_pred,
Partition part)
Add pruning predicate.
|
protected abstract void |
generatePredicate(NodeProcessorCtx procCtx,
FilterOperator fop,
TableScanOperator top)
Generate predicate.
|
Object |
process(Node nd,
Stack<Node> stack,
NodeProcessorCtx procCtx,
Object... nodeOutputs)
Generic process for all ops that don't have specific implementations.
|
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 void generatePredicate(NodeProcessorCtx procCtx, FilterOperator fop, TableScanOperator top) throws SemanticException, UDFArgumentException
OpProcFactory.FilterPPR
procCtx
- fop
- top
- SemanticException
UDFArgumentException
protected void addPruningPred(Map<TableScanOperator,ExprNodeDesc> opToPrunner, TableScanOperator top, ExprNodeDesc new_pruner_pred) throws UDFArgumentException
opToPrunner
- top
- new_pruner_pred
- UDFArgumentException
protected void addPruningPred(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPrunner, TableScanOperator top, ExprNodeDesc new_pruner_pred, Partition part) throws UDFArgumentException
opToPrunner
- top
- new_pruner_pred
- part
- UDFArgumentException
Copyright © 2017 The Apache Software Foundation. All rights reserved.