isql.predicate
Class DoublePredicate.MergeRowsAnd

java.lang.Object
  extended by isql.predicate.DoublePredicate.MergeRowsAnd
Enclosing class:
DoublePredicate

public static class DoublePredicate.MergeRowsAnd
extends java.lang.Object

In case of an AND between two conditions, the views have to be merged so that only the row indices that are in both views are stored in the result view

Author:
SHZ Apr 16, 2008

Constructor Summary
DoublePredicate.MergeRowsAnd()
           
 
Method Summary
 void mergeRows(WhereView toFind, WhereView in, java.lang.String tableName, WhereView viewRes)
          merges the two tables
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoublePredicate.MergeRowsAnd

public DoublePredicate.MergeRowsAnd()
Method Detail

mergeRows

public void mergeRows(WhereView toFind,
                      WhereView in,
                      java.lang.String tableName,
                      WhereView viewRes)
merges the two tables

Parameters:
toFind - the view the row indices of which are searched in the "in" view
in - the view that is searched in
tableName - the merge table
viewRes - the view resulting from the merge operation