public abstract static class PrunerOperatorFactory.FilterPruner extends Object implements SemanticNodeProcessor
Constructor and Description |
---|
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
SemanticNodeProcessor
process
in interface NodeProcessor
process
in interface SemanticNodeProcessor
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
OpProcFactory.FilterPPR
procCtx
- fop
- top
- SemanticException
UDFArgumentException
protected void addPruningPred(Map<TableScanOperator,ExprNodeDesc> opToPrunner, TableScanOperator top, ExprNodeDesc new_pruner_pred) throws SemanticException
opToPrunner
- top
- new_pruner_pred
- UDFArgumentException
SemanticException
protected void addPruningPred(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPrunner, TableScanOperator top, ExprNodeDesc new_pruner_pred, Partition part) throws SemanticException
opToPrunner
- top
- new_pruner_pred
- part
- UDFArgumentException
SemanticException
Copyright © 2022 The Apache Software Foundation. All rights reserved.