unity.predicates
Class SimpleSelectionPredicate

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

public class SimpleSelectionPredicate
extends SelectionPredicate


Constructor Summary
SimpleSelectionPredicate(int idx1, int idx2, Predicate p)
           
 
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

SimpleSelectionPredicate

public SimpleSelectionPredicate(int idx1,
                                int idx2,
                                Predicate p)
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