NoPutResultSet, ResultSet, RowLocationRetRowSource, RowSourcepublic class OnceResultSet extends NoPutResultSetImpl
BasicNoPutResultSetImpl.FieldComparator| Modifier and Type | Field | Description |
|---|---|---|
private int |
cardinalityCheck |
|
static int |
DO_CARDINALITY_CHECK |
|
private GeneratedMethod |
emptyRowFun |
|
static int |
NO_CARDINALITY_CHECK |
|
int |
pointOfAttachment |
|
private ExecRow |
rowWithNulls |
|
NoPutResultSet |
source |
|
private StatementContext |
statementContext |
|
int |
subqueryNumber |
|
static int |
UNIQUE_CARDINALITY_CHECK |
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 |
|---|---|
OnceResultSet(NoPutResultSet s,
Activation a,
GeneratedMethod emptyRowFun,
int cardinalityCheck,
int resultSetNumber,
int subqueryNumber,
int pointOfAttachment,
double optimizerEstimatedRowCount,
double optimizerEstimatedCost) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
If the result set has been opened,
close the open scan.
|
ExecRow |
getNextRowCore() |
Return the requested value computed from the next row.
|
int |
getPointOfAttachment() |
Return the point of attachment for this subquery.
|
long |
getTimeSpent(int type) |
Return the total amount of time spent in this ResultSet
|
void |
openCore() |
open a scan on the table. scan parameters are evaluated
at each open, so there is probably some way of altering
their values...
|
void |
reopenCore() |
reopen a scan on the table. scan parameters are evaluated
at each open, so there is probably some way of altering
their values...
|
addWarning, attachStatementContext, checkCancellationFlag, checkRowPosition, childrenToXML, cleanUp, dumpTimeStats, finish, finishAndRTS, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCompactRow, getCurrentTimeMillis, getElapsedMillis, getEndExecutionTimestamp, getEstimatedRowCount, getExecuteTime, getExecutionFactory, getFirstRow, getLanguageConnectionContext, getLastRow, getNextRow, 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, updateRowpublic static final int DO_CARDINALITY_CHECK
public static final int NO_CARDINALITY_CHECK
public static final int UNIQUE_CARDINALITY_CHECK
private ExecRow rowWithNulls
private StatementContext statementContext
public NoPutResultSet source
private GeneratedMethod emptyRowFun
private int cardinalityCheck
public int subqueryNumber
public int pointOfAttachment
public OnceResultSet(NoPutResultSet s, Activation a, GeneratedMethod emptyRowFun, int cardinalityCheck, int resultSetNumber, int subqueryNumber, int pointOfAttachment, double optimizerEstimatedRowCount, double optimizerEstimatedCost)
public void openCore()
throws StandardException
StandardException - 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
getNextRowCore in interface NoPutResultSetgetNextRowCore in class BasicNoPutResultSetImplStandardException - thrown on failure.
StandardException ScalarSubqueryCardinalityViolation
Thrown if scalar subquery returns more than 1 row.NoPutResultSet.getNextRowCore()public void close()
throws StandardException
close in interface ResultSetclose in class NoPutResultSetImplStandardException - thrown on errorpublic int getPointOfAttachment()
NoPutResultSetgetPointOfAttachment in interface NoPutResultSetgetPointOfAttachment in class BasicNoPutResultSetImplNoPutResultSet.getPointOfAttachment()public long getTimeSpent(int type)
type - CURRENT_RESULTSET_ONLY - time spent only in this ResultSet
ENTIRE_RESULTSET_TREE - time spent in this ResultSet and below.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.