public class IndexSearchCondition extends Object
IndexPredicateAnalyzer
.Constructor and Description |
---|
IndexSearchCondition(ExprNodeColumnDesc columnDesc,
String comparisonOp,
ExprNodeConstantDesc constantDesc,
ExprNodeGenericFuncDesc comparisonExpr) |
IndexSearchCondition(ExprNodeColumnDesc columnDesc,
String comparisonOp,
ExprNodeConstantDesc constantDesc,
ExprNodeGenericFuncDesc comparisonExpr,
String[] fields)
Constructs a search condition, which takes the form
|
Modifier and Type | Method and Description |
---|---|
ExprNodeColumnDesc |
getColumnDesc() |
ExprNodeGenericFuncDesc |
getComparisonExpr() |
String |
getComparisonOp() |
ExprNodeConstantDesc |
getConstantDesc() |
String[] |
getFields() |
void |
setColumnDesc(ExprNodeColumnDesc columnDesc) |
void |
setComparisonExpr(ExprNodeGenericFuncDesc comparisonExpr) |
void |
setComparisonOp(String comparisonOp) |
void |
setConstantDesc(ExprNodeConstantDesc constantDesc) |
String |
toString() |
public IndexSearchCondition(ExprNodeColumnDesc columnDesc, String comparisonOp, ExprNodeConstantDesc constantDesc, ExprNodeGenericFuncDesc comparisonExpr)
public IndexSearchCondition(ExprNodeColumnDesc columnDesc, String comparisonOp, ExprNodeConstantDesc constantDesc, ExprNodeGenericFuncDesc comparisonExpr, String[] fields)
column-ref comparison-op constant-value.
columnDesc
- column being comparedcomparisonOp
- comparison operator, e.g. "="
(taken from GenericUDFBridge.getUdfName())constantDesc
- constant value to search forcomparisonExpr
- the original comparison expressionpublic void setColumnDesc(ExprNodeColumnDesc columnDesc)
public ExprNodeColumnDesc getColumnDesc()
public void setComparisonOp(String comparisonOp)
public String getComparisonOp()
public void setConstantDesc(ExprNodeConstantDesc constantDesc)
public ExprNodeConstantDesc getConstantDesc()
public void setComparisonExpr(ExprNodeGenericFuncDesc comparisonExpr)
public ExprNodeGenericFuncDesc getComparisonExpr()
public String[] getFields()
Copyright © 2017 The Apache Software Foundation. All rights reserved.