| java.lang.Object org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl org.apache.derby.impl.sql.execute.NoPutResultSetImpl org.apache.derby.impl.sql.execute.JoinResultSet org.apache.derby.impl.sql.execute.NestedLoopJoinResultSet org.apache.derby.impl.sql.execute.NestedLoopLeftOuterJoinResultSet
All known Subclasses: org.apache.derby.impl.sql.execute.HashLeftOuterJoinResultSet,
NestedLoopLeftOuterJoinResultSet | class NestedLoopLeftOuterJoinResultSet extends NestedLoopJoinResultSet (Code) | | Takes 2 NoPutResultSets and a join filter and returns
the join's rows satisfying the filter as a result set
plus the rows from the left joined with a null row from
the right when there is no matching row in the right
result set.
|
Constructor Summary | |
| NestedLoopLeftOuterJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, boolean oneRowRightSide, boolean notExistsRightSide, double optimizerEstimatedRowCount, double optimizerEstimatedCost, String userSuppliedOptimizerOverrides) |
emptyRightRowsReturned | public int emptyRightRowsReturned(Code) | | |
NestedLoopLeftOuterJoinResultSet | NestedLoopLeftOuterJoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, GeneratedMethod emptyRowFun, boolean wasRightOuterJoin, boolean oneRowRightSide, boolean notExistsRightSide, double optimizerEstimatedRowCount, double optimizerEstimatedCost, String userSuppliedOptimizerOverrides)(Code) | | |
clearScanState | void clearScanState()(Code) | | Clear any private state that changes during scans.
This includes things like the last row seen, etc.
THis does not include immutable things that are
typically set up in the constructor.
This method is called on open()/close() and reopen()
WARNING: this should be implemented in every sub
class and it should always call super.clearScanState().
|
getNextRowCore | public ExecRow getNextRowCore() throws StandardException(Code) | | Return the requested values computed
from the next row (if any) for which
the restriction evaluates to true.
restriction parameters
are evaluated for each row.
exception: StandardException - Thrown on error exception: StandardException - ResultSetNotOpen thrown if closed the next row in the join result |
|
|