isql.predicate
Class DoublePredicate.MergeRowsOr
java.lang.Object
isql.predicate.DoublePredicate.MergeRowsOr
- Enclosing class:
- DoublePredicate
public static class DoublePredicate.MergeRowsOr
- extends java.lang.Object
In case of an AND between two conditions, the views have to be merged
so that the result view contains the union of the rows indices of the views.
This is accomplished:
1) copying to the result view all the indices of the first view
2) copying to the result view the indices of the second view that are not in the first view
- Author:
- SHZ Apr 16, 2008
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoublePredicate.MergeRowsOr
public DoublePredicate.MergeRowsOr()
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" viewin
- the view that is searched intableName
- the merge tableviewRes
- the view resulting from the merge operation