isql.predicate
Class DoublePredicate.AddRowOnlyIfInBoth
java.lang.Object
isql.predicate.DoublePredicate.AddRowOnlyIfInBoth
- All Implemented Interfaces:
- DoublePredicate.IAddRow
- Enclosing class:
- DoublePredicate
public static class DoublePredicate.AddRowOnlyIfInBoth
- extends java.lang.Object
- implements DoublePredicate.IAddRow
Add row to the result view only if both the views have, for that row, the same index in the merge table
- Author:
- SHZ Oct 18, 2007
Method Summary |
void |
addRow(WhereView viewA,
WhereView viewB,
java.lang.String mergeTable,
WhereView viewRes,
int viewRowA,
java.util.List<java.lang.Integer> lstViewRowBForMergeTableRowA)
Adds the row index to the result view |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoublePredicate.AddRowOnlyIfInBoth
public DoublePredicate.AddRowOnlyIfInBoth()
addRow
public void addRow(WhereView viewA,
WhereView viewB,
java.lang.String mergeTable,
WhereView viewRes,
int viewRowA,
java.util.List<java.lang.Integer> lstViewRowBForMergeTableRowA)
- Description copied from interface:
DoublePredicate.IAddRow
- Adds the row index to the result view
- Specified by:
addRow
in interface DoublePredicate.IAddRow
- Parameters:
viewA
- the first view to mergeviewB
- the second view to mergemergeTable
- the table in common between the two views that is used to merge themviewRes
- the result viewlstViewRowBForMergeTableRowA
- the