|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.optimizer.ppr.ExprProcFactory
public final class ExprProcFactory
Expression processor factory for partition pruning. Each processor tries to convert the expression subtree into a partition pruning expression. This expression is then used to figure out whether a particular partition should be scanned or not.
Nested Class Summary | |
---|---|
static class |
ExprProcFactory.ColumnExprProcessor
Processor for column expressions. |
static class |
ExprProcFactory.DefaultExprProcessor
Processor for constants and null expressions. |
static class |
ExprProcFactory.FieldExprProcessor
FieldExprProcessor. |
static class |
ExprProcFactory.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. |
Method Summary | |
---|---|
static ExprNodeDesc |
genPruner(String tabAlias,
ExprNodeDesc pred,
boolean hasNonPartCols)
Generates the partition pruner for the expression tree. |
static NodeProcessor |
getColumnProcessor()
|
static NodeProcessor |
getDefaultExprProcessor()
|
static NodeProcessor |
getFieldProcessor()
|
static NodeProcessor |
getGenericFuncProcessor()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NodeProcessor getDefaultExprProcessor()
public static NodeProcessor getGenericFuncProcessor()
public static NodeProcessor getFieldProcessor()
public static NodeProcessor getColumnProcessor()
public static ExprNodeDesc genPruner(String tabAlias, ExprNodeDesc pred, boolean hasNonPartCols) throws SemanticException
tabAlias
- The table alias of the partition table that is being considered
for pruningpred
- The predicate from which the partition pruner needs to be
generated
SemanticException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |