Note
A row with a single column containing null will be returned from getNextRow() if the underlying subquery ResultSet is empty.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| public static final int | |
| private GeneratedMethod | |
| public static final int | |
| public int | |
| private ExecRow | |
| public NoPutResultSet | |
| private StatementContext | |
| public int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | OnceResultSet(NoPutResultSet s, Activation a, GeneratedMethod emptyRowFun, int cardinalityCheck, int resultSetNumber, int subqueryNumber, int pointOfAttachment, double optimizerEstimatedRowCount, double optimizerEstimatedCost)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides org. Implements org. If the result set has been opened, close the open scan. |
| public ExecRow | getNextRowCore()
Implements abstract org. Implements org. Return the requested value computed from the next row. |
| public int | getPointOfAttachment()
Overrides org. Implements org. Return the point of attachment for this subquery. |
| public long | Returns: long The total amount of time spent (in milliseconds).CURRENT_RESULTSET_ONLY - time spent only in this ResultSet
ENTIRE_RESULTSET_TREE - time spent in this ResultSet and below. type)Implements org. Return the total amount of time spent in this ResultSet |
| public void | openCore()
Implements org. open a scan on the table. |
| public void | reopenCore()
Overrides org. Implements org. reopen a scan on the table. |
| cardinalityCheck | back to summary |
|---|---|
| private int cardinalityCheck | |
| DO_CARDINALITY_CHECK | back to summary |
|---|---|
| public static final int DO_CARDINALITY_CHECK | |
| emptyRowFun | back to summary |
|---|---|
| private GeneratedMethod emptyRowFun | |
| NO_CARDINALITY_CHECK | back to summary |
|---|---|
| public static final int NO_CARDINALITY_CHECK | |
| pointOfAttachment | back to summary |
|---|---|
| public int pointOfAttachment | |
| rowWithNulls | back to summary |
|---|---|
| private ExecRow rowWithNulls | |
| source | back to summary |
|---|---|
| public NoPutResultSet source | |
| statementContext | back to summary |
|---|---|
| private StatementContext statementContext Hides org. | |
| subqueryNumber | back to summary |
|---|---|
| public int subqueryNumber | |
| UNIQUE_CARDINALITY_CHECK | back to summary |
|---|---|
| public static final int UNIQUE_CARDINALITY_CHECK | |
| OnceResultSet | back to summary |
|---|---|
| public OnceResultSet(NoPutResultSet s, Activation a, GeneratedMethod emptyRowFun, int cardinalityCheck, int resultSetNumber, int subqueryNumber, int pointOfAttachment, double optimizerEstimatedRowCount, double optimizerEstimatedCost) | |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. If the result set has been opened, close the open scan.
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements org. Return the requested value computed from the next row.
| |
| getPointOfAttachment | back to summary |
|---|---|
| public int getPointOfAttachment() Overrides org. Implements org. Doc from org. Return the point of attachment for this subquery. (Only meaningful for Any and Once ResultSets, which can and will only be at the top of a ResultSet for a subquery.)
| |
| getTimeSpent | back to summary |
|---|---|
| public long getTimeSpent(int type) Implements org. Return the total amount of time spent in this ResultSet
| |
| openCore | back to summary |
|---|---|
| public void openCore() throws StandardException Implements org. open a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values...
| |
| reopenCore | back to summary |
|---|---|
| public void reopenCore() throws StandardException Overrides org. Implements org. reopen a scan on the table. scan parameters are evaluated at each open, so there is probably some way of altering their values...
| |