public class ReconOperatorCompFilter extends ReconOperator
Constructor and Description |
---|
ReconOperatorCompFilter(ReconInfo reconInfo,
DataSet dataSet,
java.lang.String operator,
int precedence)
Any comparison filter operator
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ReconValue> |
evaluateOperator(java.lang.String objectandAttributeName,
java.lang.String value,
ComparisonQueryHelper qh) |
ReconOperator |
getInstance()
Factory-like method to allow operator objects that cache
initializations to return a new instance instead of this
|
java.lang.String |
getObjectName() |
void |
setIndexOfAttributeTo(java.lang.String fullyQualifiedName) |
void |
setObjectName(java.lang.String objectName) |
void |
setOperator(java.lang.String operator) |
getOperator, getPrecedence, isRightAssociative
public ReconOperator getInstance()
ReconOperator
getInstance
in class ReconOperator
public java.lang.String getObjectName()
public java.util.List<ReconValue> evaluateOperator(java.lang.String objectandAttributeName, java.lang.String value, ComparisonQueryHelper qh)
attribute
- the attribute name to be compared, in form of object.attribute (both lowercase)value
- the value against which the attribute is comparedallStatements
- a HashMap keyed on lower case object names, contains ComparisonStatement objectspublic void setObjectName(java.lang.String objectName)
public void setOperator(java.lang.String operator)
public void setIndexOfAttributeTo(java.lang.String fullyQualifiedName)