class IndexRowToBaseRowResultSet extends NoPutResultSetImpl implements CursorResultSet
| Modifier and Type | Field and Description |
|---|---|
private FormatableBitSet |
accessedAllCols |
FormatableBitSet |
accessedHeapCols |
private ConglomerateController |
baseCC |
(package private) RowLocation |
baseRowLocation |
private boolean |
closeBaseCCHere |
(package private) boolean |
copiedFromSource |
private DynamicCompiledOpenConglomInfo |
dcoci |
private boolean |
forUpdate |
private int[] |
indexCols |
java.lang.String |
indexName |
private GeneratedMethod |
restriction |
long |
restrictionTime |
private DataValueDescriptor[] |
rowArray |
private StaticCompiledOpenConglomInfo |
scoci |
NoPutResultSet |
source |
checkNullCols, clonedExecRow, cncLen, resultSetNumber, targetResultSetactivation, beginTime, closeTime, compactRow, constructorTime, currentRow, endExecutionTime, finished, isOpen, isTopResultSet, nextTime, numOpens, openTime, optimizerEstimatedCost, optimizerEstimatedRowCount, resultDescription, rowsFiltered, rowsSeen, startExecutionTime, subqueryTrackingArrayCURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST| Constructor and Description |
|---|
IndexRowToBaseRowResultSet(long conglomId,
int scociItem,
Activation a,
NoPutResultSet source,
int resultRowAllocator,
int resultSetNumber,
java.lang.String indexName,
int heapColRefItem,
int allColRefItem,
int heapOnlyColRefItem,
int indexColMapItem,
GeneratedMethod restriction,
boolean forUpdate,
double optimizerEstimatedRowCount,
double optimizerEstimatedCost) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
If the result set has been opened,
close the open scan.
|
ExecRow |
getCurrentRow()
Gets last row returned.
|
ExecRow |
getNextRowCore()
Return the requested values computed
from the next row (if any) for which
the restriction evaluates to true.
|
RowLocation |
getRowLocation()
Return the RowLocation of the base row.
|
long |
getTimeSpent(int type)
Return the total amount of time spent in this ResultSet
|
boolean |
isForUpdate()
Is this ResultSet or it's source result set for update.
|
void |
openCore()
open this ResultSet.
|
void |
positionScanAtRowLocation(RowLocation rl)
Positions the cursor in the specified rowLocation.
|
void |
reopenCore()
reopen this ResultSet.
|
clearCurrentRow, clearOrderableCache, closeRowSource, getCursorName, getNextRowFromRowSource, getResultDescription, getValidColumns, markRowAsDeleted, needsRowLocation, needsToClone, printQualifiers, resultSetNumber, rowLocation, setCurrentRow, setNeedsRowLocation, setTargetResultSet, skipRow, skipScan, updateRowaddWarning, attachStatementContext, checkCancellationFlag, checkRowPosition, cleanUp, dumpTimeStats, finish, finishAndRTS, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCompactRow, getCurrentTimeMillis, getElapsedMillis, getEndExecutionTimestamp, getEstimatedRowCount, getExecuteTime, getExecutionFactory, getFirstRow, getLanguageConnectionContext, getLastRow, getNextRow, getPointOfAttachment, getPreviousRow, getRelativeRow, getRowNumber, getScanIsolationLevel, getSubqueryTrackingArray, getTransactionController, getWarnings, isClosed, isXplainOnlyMode, markAsTopResultSet, modifiedRowCount, open, recordConstructorTime, requiresRelocking, returnsRows, setAfterLastRow, setBeforeFirstRow, setCompactRow, setCompatRowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddWarning, checkRowPosition, cleanUp, clearCurrentRow, finish, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getRelativeRow, getResultDescription, getRowNumber, getSubqueryTrackingArray, getWarnings, isClosed, modifiedRowCount, open, returnsRows, setAfterLastRow, setBeforeFirstRowpublic NoPutResultSet source
private GeneratedMethod restriction
public FormatableBitSet accessedHeapCols
private FormatableBitSet accessedAllCols
public java.lang.String indexName
private int[] indexCols
private DynamicCompiledOpenConglomInfo dcoci
private StaticCompiledOpenConglomInfo scoci
private ConglomerateController baseCC
private boolean closeBaseCCHere
private boolean forUpdate
private DataValueDescriptor[] rowArray
RowLocation baseRowLocation
boolean copiedFromSource
public long restrictionTime
IndexRowToBaseRowResultSet(long conglomId,
int scociItem,
Activation a,
NoPutResultSet source,
int resultRowAllocator,
int resultSetNumber,
java.lang.String indexName,
int heapColRefItem,
int allColRefItem,
int heapOnlyColRefItem,
int indexColMapItem,
GeneratedMethod restriction,
boolean forUpdate,
double optimizerEstimatedRowCount,
double optimizerEstimatedCost)
throws StandardException
StandardExceptionpublic void openCore()
throws StandardException
openCore in interface NoPutResultSetStandardException - thrown if cursor finished.public void reopenCore()
throws StandardException
reopenCore in interface NoPutResultSetreopenCore in class BasicNoPutResultSetImplStandardException - thrown if cursor finished.NoPutResultSet.openCore()public ExecRow getNextRowCore() throws StandardException
restriction and projection parameters are evaluated for each row.
getNextRowCore in interface NoPutResultSetgetNextRowCore in class BasicNoPutResultSetImplStandardException - thrown on failure.StandardException - ResultSetNotOpen thrown if not yet open.NoPutResultSet.getNextRowCore()public void close()
throws StandardException
close in interface ResultSetclose in class NoPutResultSetImplStandardException - thrown on errorpublic long getTimeSpent(int type)
getTimeSpent in interface ResultSettype - CURRENT_RESULTSET_ONLY - time spent only in this ResultSet
ENTIRE_RESULTSET_TREE - time spent in this ResultSet and below.public RowLocation getRowLocation() throws StandardException
getRowLocation in interface CursorResultSetStandardException - thrown on failure.CursorResultSetpublic void positionScanAtRowLocation(RowLocation rl) throws StandardException
NoPutResultSetpositionScanAtRowLocation in interface NoPutResultSetpositionScanAtRowLocation in class NoPutResultSetImplrl - row location of the current cursor rowStandardException - thrown on failure to
get location from storage engineAlso remembers row location so that subsequent invocations of
getCurrentRow will not read the index row to look up the row
location base row, but reuse the saved row location.public ExecRow getCurrentRow() throws StandardException
getCurrentRow in interface CursorResultSetStandardException - thrown on failure.CursorResultSetpublic boolean isForUpdate()
isForUpdate in interface NoPutResultSetisForUpdate in class NoPutResultSetImplApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.