isql.predicate
Class DoublePredicate.AddRowOnlyIfInBoth

java.lang.Object
  extended by 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

Constructor Summary
DoublePredicate.AddRowOnlyIfInBoth()
           
 
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
 

Constructor Detail

DoublePredicate.AddRowOnlyIfInBoth

public DoublePredicate.AddRowOnlyIfInBoth()
Method Detail

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 merge
viewB - the second view to merge
mergeTable - the table in common between the two views that is used to merge them
viewRes - the result view
lstViewRowBForMergeTableRowA - the