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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.PrunerExpressionOperatorFactory
Direct Known Subclasses:
ExprProcFactory, LBExprProcFactory

public abstract class PrunerExpressionOperatorFactory
extends Object

Expression processor factory for pruning. Each processor tries to convert the expression subtree into a pruning expression. It can be used for partition prunner and list bucketing pruner.


Nested Class Summary
static class PrunerExpressionOperatorFactory.ColumnExprProcessor
          Processor for column expressions.
static class PrunerExpressionOperatorFactory.DefaultExprProcessor
          Processor for constants and null expressions.
static class PrunerExpressionOperatorFactory.FieldExprProcessor
          FieldExprProcessor.
static class PrunerExpressionOperatorFactory.GenericFuncExprProcessor
          If all children are candidates and refer only to one table alias then this expr is a candidate else it is not a candidate but its children could be final candidates.
 
Constructor Summary
PrunerExpressionOperatorFactory()
           
 
Method Summary
static NodeProcessor getDefaultExprProcessor()
          Instantiate default expression processor.
static NodeProcessor getFieldProcessor()
          Instantiate field processor.
static NodeProcessor getGenericFuncProcessor()
          Instantiate generic function processor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrunerExpressionOperatorFactory

public PrunerExpressionOperatorFactory()
Method Detail

getDefaultExprProcessor

public static final NodeProcessor getDefaultExprProcessor()
Instantiate default expression processor.

Returns:

getGenericFuncProcessor

public static final NodeProcessor getGenericFuncProcessor()
Instantiate generic function processor.

Returns:

getFieldProcessor

public static final NodeProcessor getFieldProcessor()
Instantiate field processor.

Returns:


Copyright © 2014 The Apache Software Foundation. All rights reserved.