| Modifier and Type | Field and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public NoPutResultSet | |
| private int | |
| public NoPutResultSet | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | UnionResultSet(NoPutResultSet source1, NoPutResultSet source2, Activation activation, int resultSetNumber, 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 currently open source. |
| 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 | Returns: the current row.Implements org. A union has a single underlying row at a time, although from one of several sources. |
| public ExecRow | getNextRowCore()
Implements abstract org. Implements org. If there are rows still on the first source, return the next one; otherwise, switch to the second source and return a row from there. |
| public ResultDescription | getResultDescription()
Overrides org. Implements org. Returns the description of the first source. |
| public RowLocation | Returns: the row location of the current cursor row.Implements org. A union has a single underlying row at a time, although from one of several sources. |
| 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 the first source. |
| rowsReturned | back to summary |
|---|---|
| public int rowsReturned | |
| rowsSeenLeft | back to summary |
|---|---|
| public int rowsSeenLeft | |
| rowsSeenRight | back to summary |
|---|---|
| public int rowsSeenRight | |
| source1 | back to summary |
|---|---|
| public NoPutResultSet source1 | |
| source1FinalRowCount | back to summary |
|---|---|
| private int source1FinalRowCount | |
| source2 | back to summary |
|---|---|
| public NoPutResultSet source2 | |
| whichSource | back to summary |
|---|---|
| private int whichSource | |
| UnionResultSet | back to summary |
|---|---|
| public UnionResultSet(NoPutResultSet source1, NoPutResultSet source2, Activation activation, int resultSetNumber, 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 currently open source.
| |
| 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.
| |
| getCurrentRow | back to summary |
|---|---|
| public ExecRow getCurrentRow() throws StandardException Implements org. A union has a single underlying row at a time, although from one of several sources.
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements org. If there are rows still on the first source, return the next one; otherwise, switch to the second source and return a row from there.
| |
| getResultDescription | back to summary |
|---|---|
| public ResultDescription getResultDescription() Overrides org. Implements org. Returns the description of the first source. Assumes the compiler ensured both sources had the same description.
| |
| getRowLocation | back to summary |
|---|---|
| public RowLocation getRowLocation() throws StandardException Implements org. A union has a single underlying row at a time, although from one of several sources.
| |
| 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 the first source.
| |