unity.predicates
Class And

java.lang.Object
  extended by unity.predicates.SelectionPredicate
      extended by unity.predicates.And

public class And
extends SelectionPredicate


Constructor Summary
And(SelectionPredicate p1, SelectionPredicate p2)
           
 
Method Summary
 boolean evaluate(Tuple t)
           
 java.lang.String toString(Relation relation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

And

public And(SelectionPredicate p1,
           SelectionPredicate p2)
Method Detail

evaluate

public boolean evaluate(Tuple t)
                 throws java.sql.SQLException
Specified by:
evaluate in class SelectionPredicate
Throws:
java.sql.SQLException

toString

public java.lang.String toString(Relation relation)
Specified by:
toString in class SelectionPredicate