| Constructor and Description |
|---|
TupleValueCondition(TupleSlotPointer leftSlot,
java.lang.Comparable right,
Condition.Qualification qualification)
Constructs a new
TupleValueCondition given a pointer to a
tuple slot and a Comparable. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate()
Implements the
Predicate interface by defining
the evaluate() method. |
void |
setTuple(Tuple leftTuple)
Sets the tuple this predicate is to be evaluated on.
|
protected java.lang.String |
symbolString()
Convert the qualification to a string
|
java.lang.String |
toString()
Textual representation.
|
public TupleValueCondition(TupleSlotPointer leftSlot, java.lang.Comparable right, Condition.Qualification qualification)
TupleValueCondition given a pointer to a
tuple slot and a Comparable.leftSlot - the pointer to the tuple slotright - the Java Comparable value used for
comparison.qualification - the qualification between the value of the
appropriate slot of the tuple and the Comparable
value.public void setTuple(Tuple leftTuple)
leftTuple - the tuple the predicate is to be evaluated on.public boolean evaluate()
Predicate interface by defining
the evaluate() method.public java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String symbolString()