org.apache.hadoop.hive.ql.optimizer
Class PrunerOperatorFactory

java.lang.Object
  extended by 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.


Nested Class Summary
static class PrunerOperatorFactory.DefaultPruner
          Default processor which just merges its children.
static class PrunerOperatorFactory.FilterPruner
          Determines the partition pruner for the filter.
 
Constructor Summary
PrunerOperatorFactory()
           
 
Method Summary
static NodeProcessor getDefaultProc()
          Instantiate default processor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrunerOperatorFactory

public PrunerOperatorFactory()
Method Detail

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.