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
SemanticNodeProcessorprocess in interface NodeProcessorprocess in interface SemanticNodeProcessornd - operator to processprocCtx - operator processor contextnodeOutputs - A variable argument list of outputs from other nodes in the walkSemanticExceptionprotected abstract void generatePredicate(NodeProcessorCtx procCtx, FilterOperator fop, TableScanOperator top) throws SemanticException
OpProcFactory.FilterPPRprocCtx - fop - top - SemanticExceptionUDFArgumentExceptionprotected void addPruningPred(Map<TableScanOperator,ExprNodeDesc> opToPrunner, TableScanOperator top, ExprNodeDesc new_pruner_pred) throws SemanticException
opToPrunner - top - new_pruner_pred - UDFArgumentExceptionSemanticExceptionprotected void addPruningPred(Map<TableScanOperator,Map<String,ExprNodeDesc>> opToPrunner, TableScanOperator top, ExprNodeDesc new_pruner_pred, Partition part) throws SemanticException
opToPrunner - top - new_pruner_pred - part - UDFArgumentExceptionSemanticExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.