isql
Interface IPredicate

All Known Implementing Classes:
AndPredicate, ComparisonPredicate, InPredicate, LikePredicate, OrPredicate

public interface IPredicate

a predicate is used in the WHERE clause to verify which rows will be considered by the SELECT expression

Author:
SHZ Sep 27, 2007

Method Summary
 WhereView apply()
          Returns, for each involved column, the indices (possibly repeated) of the table rows that are connected by the predicate.
 

Method Detail

apply

WhereView apply()
                throws ISQLException
Returns, for each involved column, the indices (possibly repeated) of the table rows that are connected by the predicate. In practice it returns a view that consists of the table rows of the involved tables put together depending by the predicate. For example a C1 = C2 operator will put together all the table rows for which the columns C1 and C2 are equal, and discard the others

Returns:
map table name -> indices of the rows that the predicate connects (possibly repeated).
Throws:
ISQLException