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 GeneratedMethod | |
| public int | |
| private ExecRow | |
| public final NoPutResultSet | |
| private StatementContext | |
| public int |
| Access | Constructor and Description |
|---|---|
| public | AnyResultSet(NoPutResultSet s, Activation a, GeneratedMethod emptyRowFun, 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 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 | 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. |
| emptyRowFun | back to summary |
|---|---|
| private GeneratedMethod emptyRowFun | |
| pointOfAttachment | back to summary |
|---|---|
| public int pointOfAttachment | |
| rowWithNulls | back to summary |
|---|---|
| private ExecRow rowWithNulls | |
| source | back to summary |
|---|---|
| public final NoPutResultSet source | |
| statementContext | back to summary |
|---|---|
| private StatementContext statementContext Hides org. | |
| subqueryNumber | back to summary |
|---|---|
| public int subqueryNumber | |
| AnyResultSet | back to summary |
|---|---|
| public AnyResultSet(NoPutResultSet s, Activation a, GeneratedMethod emptyRowFun, 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.
| |
| 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.
| |
| 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...
| |