| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| protected int | |
| public NoPutResultSet | |
| protected ExecRow | |
| protected ExecRow | |
| public boolean | |
| public boolean | |
| protected GeneratedMethod | |
| public long | |
| protected int | |
| public NoPutResultSet | |
| protected ExecRow | |
| public int | |
| public int | |
| public int | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv | JoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean notExistsRightSide, double optimizerEstimatedRowCount, double optimizerEstimatedCost, String userSuppliedOptimizerOverrides)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | close()
Overrides org. Implements org. If the result set has been opened, close the open scan. |
| protected void | |
| public void | finish()
Overrides org. Implements org. Tells the system that there will be no more access to any database information via this result set; in particular, no more calls to open(). |
| public ExecRow | Returns: a null value.Implements org. A join is combining rows from two sources, so it should never be used in a positioned update or delete. |
| public RowLocation | Returns: the row location of the current cursor row.Implements org. A join is combining rows from two sources, so it has no single row location to return; just return a null. |
| public void | openCore()
Implements org. open a scan on the join. |
| protected void | |
| public void | reopenCore()
Overrides org. Implements org. reopen a a join. |
| isRightOpen | back to summary |
|---|---|
| protected boolean isRightOpen | |
| leftNumCols | back to summary |
|---|---|
| protected int leftNumCols | |
| leftResultSet | back to summary |
|---|---|
| public NoPutResultSet leftResultSet | |
| leftRow | back to summary |
|---|---|
| protected ExecRow leftRow | |
| mergedRow | back to summary |
|---|---|
| protected ExecRow mergedRow | |
| notExistsRightSide | back to summary |
|---|---|
| public boolean notExistsRightSide | |
| oneRowRightSide | back to summary |
|---|---|
| public boolean oneRowRightSide | |
| restriction | back to summary |
|---|---|
| protected GeneratedMethod restriction | |
| restrictionTime | back to summary |
|---|---|
| public long restrictionTime | |
| rightNumCols | back to summary |
|---|---|
| protected int rightNumCols | |
| rightResultSet | back to summary |
|---|---|
| public NoPutResultSet rightResultSet | |
| rightRow | back to summary |
|---|---|
| protected ExecRow rightRow | |
| rowsReturned | back to summary |
|---|---|
| public int rowsReturned | |
| rowsSeenLeft | back to summary |
|---|---|
| public int rowsSeenLeft | |
| rowsSeenRight | back to summary |
|---|---|
| public int rowsSeenRight | |
| userSuppliedOptimizerOverrides | back to summary |
|---|---|
| pack-priv String userSuppliedOptimizerOverrides | |
| JoinResultSet | back to summary |
|---|---|
| pack-priv JoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean notExistsRightSide, double optimizerEstimatedRowCount, double optimizerEstimatedCost, String userSuppliedOptimizerOverrides) | |
| clearScanState | back to summary |
|---|---|
| pack-priv void clearScanState() 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() | |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. If the result set has been opened,
close the open scan.
Warning
does not track close
time, since it is expected to be called
directly by its subclasses, and we don't
want to skew the times
| |
| closeRight | back to summary |
|---|---|
| protected void closeRight() throws StandardException close the rightResultSet | |
| finish | back to summary |
|---|---|
| public void finish() throws StandardException Overrides org. Implements org. Doc from org. Tells the system that there will be no more access to any database information via this result set; in particular, no more calls to open(). Will close the result set if it is not already closed.
| |
| getCurrentRow | back to summary |
|---|---|
| public ExecRow getCurrentRow() Implements org. A join is combining rows from two sources, so it should never be used in a positioned update or delete.
| |
| getRowLocation | back to summary |
|---|---|
| public RowLocation getRowLocation() Implements org. A join is combining rows from two sources, so it has no single row location to return; just return a null.
| |
| openCore | back to summary |
|---|---|
| public void openCore() throws StandardException Implements org. open a scan on the join. For a join, this means: o Open the left ResultSet o Do a getNextRow() on the left ResultSet to establish a position and get "parameter values" for the right ResultSet. Note It is possible for the getNextRow() to return null, in which case there is no need to open the RightResultSet. We must remember this condition. o If the getNextRow() on the left ResultSet succeeded, then open() the right ResultSet. scan parameters are evaluated at each open, so there is probably some way of altering their values...
| |
| openRight | back to summary |
|---|---|
| protected void openRight() throws StandardException open the rightResultSet. If already open, just reopen.
| |
| reopenCore | back to summary |
|---|---|
| public void reopenCore() throws StandardException Overrides org. Implements org. reopen a a join.
| |