Constructor and Description |
---|
TupleTupleCondition(TupleSlotPointer leftSlot,
TupleSlotPointer rightSlot,
Condition.Qualification qualification)
Constructs a new condition across tuples.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate()
Implements the
Predicate interface by defining the
evaluate() method. |
void |
setTuples(Tuple leftTuple,
Tuple rightTuple)
Sets the two tuples the predicate is to be evaluated over.
|
protected java.lang.String |
symbolString()
Convert the qualification to a string.
|
java.lang.String |
toString()
Textual representation.
|
public TupleTupleCondition(TupleSlotPointer leftSlot, TupleSlotPointer rightSlot, Condition.Qualification qualification)
leftSlot
- the pointer to the left-hand side tuple slot.rightSlot
- the pointer to the right-hand side tuple slot.qualification
- the qualification between the values of
the slots.public void setTuples(Tuple leftTuple, Tuple rightTuple)
leftTuple
- the (new) left-hand side tuple.rightTuple
- the (new) right-hand side tuple.public boolean evaluate()
Predicate
interface by defining the
evaluate() method.public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String symbolString()