unity.predicates
Class SelectionExprPredicate

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

public class SelectionExprPredicate
extends SelectionPredicate


Field Summary
 Expression Expr1
           
 Expression Expr2
           
 
Constructor Summary
SelectionExprPredicate(Expression ex1, Expression ex2, 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
 

Field Detail

Expr1

public Expression Expr1

Expr2

public Expression Expr2
Constructor Detail

SelectionExprPredicate

public SelectionExprPredicate(Expression ex1,
                              Expression ex2,
                              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