isql.predicate
Class InPredicate

java.lang.Object
  extended by isql.predicate.InPredicate
All Implemented Interfaces:
IPredicate

public class InPredicate
extends java.lang.Object
implements IPredicate

In clause. Compares an expression (toTest) with the constants in a sequence (seqIn)

Author:
SHZ Sep 28, 2007

Constructor Summary
InPredicate(IExpression toTest, IConstant[] seqIn, ColumnValues values, boolean negated)
           
 
Method Summary
 WhereView apply()
          Builds the view resulting from the in predicate
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InPredicate

public InPredicate(IExpression toTest,
                   IConstant[] seqIn,
                   ColumnValues values,
                   boolean negated)
Method Detail

apply

public WhereView apply()
                throws ISQLException
Builds the view resulting from the in predicate

Specified by:
apply in interface IPredicate
Returns:
the result view
Throws:
ISQLException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object