unity.predicates
Class ConstantSelectionPredicate

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

public class ConstantSelectionPredicate
extends SelectionPredicate


Constructor Summary
ConstantSelectionPredicate(int idx1, java.lang.Object ct, 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

ConstantSelectionPredicate

public ConstantSelectionPredicate(int idx1,
                                  java.lang.Object ct,
                                  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