public final class PcrExprProcFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PcrExprProcFactory.ColumnExprProcessor
Processor for column expressions.
|
static class |
PcrExprProcFactory.DefaultExprProcessor
Processor for constants and null expressions.
|
static class |
PcrExprProcFactory.FieldExprProcessor
FieldExprProcessor.
|
static class |
PcrExprProcFactory.GenericFuncExprProcessor
Processor for Generic functions
If it is AND, OR or NOT, we replace the node to be the constant true or
false if we are sure the result from children, or cut one of the child
if we know partial results.
|
static class |
PcrExprProcFactory.NodeInfoWrapper |
static class |
PcrExprProcFactory.WalkState |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method and Description |
|---|---|
static SemanticNodeProcessor |
getColumnProcessor() |
static SemanticNodeProcessor |
getDefaultExprProcessor() |
static SemanticNodeProcessor |
getFieldProcessor() |
static SemanticNodeProcessor |
getGenericFuncProcessor() |
static ExprNodeGenericFuncDesc |
getOutExpr(ExprNodeGenericFuncDesc funcExpr,
Object[] nodeOutputs) |
static PcrExprProcFactory.NodeInfoWrapper |
walkExprTree(String tabAlias,
ArrayList<Partition> parts,
List<VirtualColumn> vcs,
ExprNodeDesc pred)
Remove partition conditions when necessary from the the expression tree.
|
public static ExprNodeGenericFuncDesc getOutExpr(ExprNodeGenericFuncDesc funcExpr, Object[] nodeOutputs)
public static SemanticNodeProcessor getDefaultExprProcessor()
public static SemanticNodeProcessor getGenericFuncProcessor()
public static SemanticNodeProcessor getFieldProcessor()
public static SemanticNodeProcessor getColumnProcessor()
public static PcrExprProcFactory.NodeInfoWrapper walkExprTree(String tabAlias, ArrayList<Partition> parts, List<VirtualColumn> vcs, ExprNodeDesc pred) throws SemanticException
tabAlias - the table aliasparts - the list of all pruned partitions for the tablevcs - virtual columns referencedpred - expression tree of the target filter operatorSemanticExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.