isql.predicate
Class DoublePredicate.AddRowOnlyIfInJustInOne
java.lang.Object
isql.predicate.DoublePredicate.AddRowOnlyIfInJustInOne
- All Implemented Interfaces:
- DoublePredicate.IAddRow
- Enclosing class:
- DoublePredicate
public static class DoublePredicate.AddRowOnlyIfInJustInOne
- extends java.lang.Object
- implements DoublePredicate.IAddRow
Add row to the result view only if only one of the views have, for that row, a specific index in the merge table
In this case the other table will have dummy values (-1) for the column indices in that row
- 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.AddRowOnlyIfInJustInOne
public DoublePredicate.AddRowOnlyIfInJustInOne()
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