org.apache.hadoop.hive.ql.ppd
Class ExprWalkerProcFactory
java.lang.Object
org.apache.hadoop.hive.ql.ppd.ExprWalkerProcFactory
public class ExprWalkerProcFactory
- extends Object
Expression factory for predicate pushdown processing.
Each processor determines whether the expression is a possible candidate
for predicate pushdown optimization for the given operator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprWalkerProcFactory
public ExprWalkerProcFactory()
getDefaultExprProcessor
public static NodeProcessor getDefaultExprProcessor()
getGenericFuncProcessor
public static NodeProcessor getGenericFuncProcessor()
getColumnProcessor
public static NodeProcessor getColumnProcessor()
extractPushdownPreds
public static ExprWalkerInfo extractPushdownPreds(OpWalkerInfo opContext,
Operator<? extends Serializable> op,
exprNodeDesc pred)
throws SemanticException
- Throws:
SemanticException
extractPushdownPreds
public static ExprWalkerInfo extractPushdownPreds(OpWalkerInfo opContext,
Operator<? extends Serializable> op,
List<exprNodeDesc> preds)
throws SemanticException
- Extracts pushdown predicates from the given list of predicate expression
- Parameters:
opContext
- operator context used for resolving column referencesop
- operator of the predicates being processedpreds
-
- Returns:
- The expression walker information
- Throws:
SemanticException
Copyright © 2009 The Apache Software Foundation