org.apache.hadoop.hive.ql.optimizer.listbucketingpruner
Class LBExprProcFactory

java.lang.Object
  extended by org.apache.hadoop.hive.ql.optimizer.PrunerExpressionOperatorFactory
      extended by org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.LBExprProcFactory

public class LBExprProcFactory
extends PrunerExpressionOperatorFactory

Expression processor factory for list bucketing pruning. Each processor tries to convert the expression subtree into a list bucketing pruning expression. This expression is then used to figure out which skewed value to be used


Nested Class Summary
static class LBExprProcFactory.LBPRColumnExprProcessor
          Processor for lbpr column expressions.
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.optimizer.PrunerExpressionOperatorFactory
PrunerExpressionOperatorFactory.ColumnExprProcessor, PrunerExpressionOperatorFactory.DefaultExprProcessor, PrunerExpressionOperatorFactory.FieldExprProcessor, PrunerExpressionOperatorFactory.GenericFuncExprProcessor
 
Method Summary
static ExprNodeDesc genPruner(String tabAlias, ExprNodeDesc pred, Partition part)
          Generates the list bucketing pruner for the expression tree.
static NodeProcessor getColumnProcessor()
          Instantiate column processor.
 
Methods inherited from class org.apache.hadoop.hive.ql.optimizer.PrunerExpressionOperatorFactory
getDefaultExprProcessor, getFieldProcessor, getGenericFuncProcessor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

genPruner

public static ExprNodeDesc genPruner(String tabAlias,
                                     ExprNodeDesc pred,
                                     Partition part)
                              throws SemanticException
Generates the list bucketing pruner for the expression tree.

Parameters:
tabAlias - The table alias of the partition table that is being considered for pruning
pred - The predicate from which the list bucketing pruner needs to be generated
part - The partition this walker is walking
Throws:
SemanticException

getColumnProcessor

public static NodeProcessor getColumnProcessor()
Instantiate column processor.

Returns:


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