org.apache.hadoop.hive.ql.optimizer
Class PrunerOperatorFactory
java.lang.Object
org.apache.hadoop.hive.ql.optimizer.PrunerOperatorFactory
- Direct Known Subclasses:
- LBPartitionProcFactory, LBProcFactory, OpProcFactory
public abstract class PrunerOperatorFactory
- extends Object
Operator factory for pruning processing of operator graph We find
all the filter operators that appear just beneath the table scan operators.
We then pass the filter to the pruner to construct a pruner for
that table alias and store a mapping from the table scan operator to that
pruner. We call that pruner later during plan generation.
Create this class from org.apache.hadoop.hive.ql.optimizer.ppr.OpProcFactory
so that in addition to ppr, other pruner like list bucketin pruner can use it.
PrunerOperatorFactory
public PrunerOperatorFactory()
getDefaultProc
public static final NodeProcessor getDefaultProc()
- Instantiate default processor.
It's not supposed to be overwritten.
- Returns:
Copyright © 2014 The Apache Software Foundation. All rights reserved.