CursorResultSet, NoPutResultSet, ResultSet, RowLocationRetRowSource, RowSourceMergeJoinResultSet, NestedLoopJoinResultSetabstract class JoinResultSet extends NoPutResultSetImpl implements CursorResultSet
BasicNoPutResultSetImpl.FieldComparator| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
isRightOpen |
|
protected int |
leftNumCols |
|
NoPutResultSet |
leftResultSet |
|
protected ExecRow |
leftRow |
|
protected ExecRow |
mergedRow |
|
boolean |
notExistsRightSide |
|
boolean |
oneRowRightSide |
|
protected GeneratedMethod |
restriction |
|
long |
restrictionTime |
|
protected int |
rightNumCols |
|
NoPutResultSet |
rightResultSet |
|
protected ExecRow |
rightRow |
|
int |
rowsReturned |
|
int |
rowsSeenLeft |
|
int |
rowsSeenRight |
|
(package private) java.lang.String |
userSuppliedOptimizerOverrides |
activation, beginTime, closeTime, compactRow, constructorTime, currentRow, endExecutionTime, finished, isOpen, isTopResultSet, nextTime, numOpens, openTime, optimizerEstimatedCost, optimizerEstimatedRowCount, resultDescription, rowsFiltered, rowsSeen, startExecutionTime, subqueryTrackingArrayABSOLUTE, FIRST, LAST, NEXT, PREVIOUS, RELATIVE, TEMPORARY_RESULT_SET_NUMBERcheckNullCols, clonedExecRow, cncLen, resultSetNumber, targetResultSetCURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST| Constructor | Description |
|---|---|
JoinResultSet(NoPutResultSet leftResultSet,
int leftNumCols,
NoPutResultSet rightResultSet,
int rightNumCols,
Activation activation,
GeneratedMethod restriction,
int resultSetNumber,
boolean oneRowRightSide,
boolean notExistsRightSide,
double optimizerEstimatedRowCount,
double optimizerEstimatedCost,
java.lang.String userSuppliedOptimizerOverrides) |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
clearScanState() |
Clear any private state that changes during scans.
|
void |
close() |
If the result set has been opened,
close the open scan.
|
protected void |
closeRight() |
close the rightResultSet
|
void |
finish() |
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().
|
ExecRow |
getCurrentRow() |
A join is combining rows from two sources, so it
should never be used in a positioned update or delete.
|
RowLocation |
getRowLocation() |
A join is combining rows from two sources, so it has no
single row location to return; just return a null.
|
void |
openCore() |
open a scan on the join.
|
protected void |
openRight() |
open the rightResultSet.
|
void |
reopenCore() |
reopen a a join.
|
addWarning, attachStatementContext, checkCancellationFlag, checkRowPosition, childrenToXML, cleanUp, dumpTimeStats, finishAndRTS, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCompactRow, getCurrentTimeMillis, getElapsedMillis, getEndExecutionTimestamp, getEstimatedRowCount, getExecuteTime, getExecutionFactory, getFirstRow, getLanguageConnectionContext, getLastRow, getNextRow, getNextRowCore, getPointOfAttachment, getPreviousRow, getRelativeRow, getRowNumber, getScanIsolationLevel, getSubqueryTrackingArray, getTransactionController, getWarnings, isClosed, isXplainOnlyMode, markAsTopResultSet, modifiedRowCount, open, recordConstructorTime, requiresRelocking, returnsRows, setAfterLastRow, setBeforeFirstRow, setCompactRow, setCompatRow, toXML, toXMLclearCurrentRow, clearOrderableCache, closeRowSource, getCursorName, getNextRowFromRowSource, getResultDescription, getValidColumns, isForUpdate, markRowAsDeleted, needsRowLocation, needsRowLocationForDeferredCheckConstraints, needsToClone, offendingRowLocation, positionScanAtRowLocation, printQualifiers, resultSetNumber, rowLocation, setCurrentRow, setHasDeferrableChecks, setNeedsRowLocation, setTargetResultSet, skipRow, skipScan, unpackHashValue, updateRowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddWarning, checkRowPosition, cleanUp, clearCurrentRow, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getRelativeRow, getResultDescription, getRowNumber, getSubqueryTrackingArray, getTimeSpent, getWarnings, isClosed, modifiedRowCount, open, returnsRows, setAfterLastRow, setBeforeFirstRow, toXMLpublic int rowsSeenLeft
public int rowsSeenRight
public int rowsReturned
public long restrictionTime
protected boolean isRightOpen
protected ExecRow leftRow
protected ExecRow rightRow
protected ExecRow mergedRow
public NoPutResultSet leftResultSet
protected int leftNumCols
public NoPutResultSet rightResultSet
protected int rightNumCols
protected GeneratedMethod restriction
public boolean oneRowRightSide
public boolean notExistsRightSide
java.lang.String userSuppliedOptimizerOverrides
JoinResultSet(NoPutResultSet leftResultSet, int leftNumCols, NoPutResultSet rightResultSet, int rightNumCols, Activation activation, GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean notExistsRightSide, double optimizerEstimatedRowCount, double optimizerEstimatedCost, java.lang.String userSuppliedOptimizerOverrides)
void clearScanState()
This method is called on open()/close() and reopen()
public void openCore()
throws StandardException
openCore in interface NoPutResultSetStandardException - Thrown on errorpublic void reopenCore()
throws StandardException
reopenCore in interface NoPutResultSetreopenCore in class BasicNoPutResultSetImplStandardException - thrown if cursor finished.NoPutResultSet.openCore()public void close()
throws StandardException
close in interface ResultSetclose in class NoPutResultSetImplStandardException - thrown on errorpublic void finish()
throws StandardException
ResultSetfinish in interface ResultSetfinish in class BasicNoPutResultSetImplStandardException - on errorpublic RowLocation getRowLocation()
getRowLocation in interface CursorResultSetCursorResultSetpublic ExecRow getCurrentRow()
getCurrentRow in interface CursorResultSetCursorResultSetprotected void openRight()
throws StandardException
StandardException - Thrown on errorprotected void closeRight()
throws StandardException
StandardExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.