| Modifier and Type | Field and Description |
|---|---|
| private final Activation | |
| private final boolean | |
| private final int[] | |
| private final int[] | |
| private final boolean[] | |
| private ExecRow | |
| private final NoPutResultSet | |
| private final int | |
| private DataValueDescriptor[] | |
| private final int | |
| private ExecRow | |
| private final NoPutResultSet | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | SetOpResultSet(NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, long optimizerEstimatedRowCount, double optimizerEstimatedCost, int opType, boolean all, int intermediateOrderByColumnsSavedObject, int intermediateOrderByDirectionSavedObject, int intermediateOrderByNullsLowSavedObject)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | close()
Overrides org. Implements org. If the result set has been opened, close the currently open source. |
| private int | |
| 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 | getCurrentRow()
Implements org. Returns the current row of the result set. |
| public NoPutResultSet | Returns: the left source input of thisSetOpResultSetReturn the left source input of this |
| public ExecRow | Returns: the next row of the intersect or except, null if there is noneImplements abstract org. Implements org. Return the requested values computed from the next row (if any) for which the restriction evaluates to true. |
| public int | Returns: the set operation of this ResultSet, the value is eitherIntersectOrExceptNode.INTERSECT_OP for
Intersect operation or IntersectOrExceptNode.EXCEPT_OP
for Except operationReturn the set operation of this |
| public int | |
| public NoPutResultSet | Returns: the right source input of thisSetOpResultSetReturn the right source input of this |
| public RowLocation | Returns: the row location of the current cursor row.Implements org. Returns the row location of the current base table row of the cursor. |
| public int | Returns: the number of rows returned from the result setReturn the number of rows returned from the result set |
| public int | Returns: the number of rows seen on the left source inputReturn the number of rows seen on the left source input |
| public int | Returns: the number of rows seen on the right source inputReturn the number of rows seen on the right source input |
| 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 |
| private boolean | |
| public void | openCore()
Implements org. open the first source. |
| activation | back to summary |
|---|---|
| private final Activation activation Hides org. | |
| all | back to summary |
|---|---|
| private final boolean all | |
| intermediateOrderByColumns | back to summary |
|---|---|
| private final int[] intermediateOrderByColumns | |
| intermediateOrderByDirection | back to summary |
|---|---|
| private final int[] intermediateOrderByDirection | |
| intermediateOrderByNullsLow | back to summary |
|---|---|
| private final boolean[] intermediateOrderByNullsLow | |
| leftInputRow | back to summary |
|---|---|
| private ExecRow leftInputRow | |
| leftSource | back to summary |
|---|---|
| private final NoPutResultSet leftSource | |
| opType | back to summary |
|---|---|
| private final int opType | |
| prevCols | back to summary |
|---|---|
| private DataValueDescriptor[] prevCols | |
| resultSetNumber | back to summary |
|---|---|
| private final int resultSetNumber Hides org. | |
| rightInputRow | back to summary |
|---|---|
| private ExecRow rightInputRow | |
| rightSource | back to summary |
|---|---|
| private final NoPutResultSet rightSource | |
| rowsReturned | back to summary |
|---|---|
| private int rowsReturned | |
| rowsSeenLeft | back to summary |
|---|---|
| private int rowsSeenLeft | |
| rowsSeenRight | back to summary |
|---|---|
| private int rowsSeenRight | |
| SetOpResultSet | back to summary |
|---|---|
| pack-priv SetOpResultSet(NoPutResultSet leftSource, NoPutResultSet rightSource, Activation activation, int resultSetNumber, long optimizerEstimatedRowCount, double optimizerEstimatedCost, int opType, boolean all, int intermediateOrderByColumnsSavedObject, int intermediateOrderByDirectionSavedObject, int intermediateOrderByNullsLowSavedObject) | |
| advanceRightPastDuplicates | back to summary |
|---|---|
| private void advanceRightPastDuplicates(DataValueDescriptor[] leftColumns) throws StandardException | |
| 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.
| |
| compare | back to summary |
|---|---|
| private int compare(DataValueDescriptor[] leftCols, DataValueDescriptor[] rightCols) throws StandardException | |
| 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() Implements org. Doc from org. Returns the current row of the result set. REMIND: eventually, this will only return the current row for result sets that need to return it; either some field in the activation or a parameter in the constructor will be used to signal that this needs to function. This will let us limit the number of live objects we are holding on to.
| |
| getLeftSourceInput | back to summary |
|---|---|
| public NoPutResultSet getLeftSourceInput() Return the left source input of this
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements org. Doc from org. Return the requested values computed from the next row (if any) for which the restriction evaluates to true. restriction and projection parameters are evaluated for each row.
| |
| getOpType | back to summary |
|---|---|
| public int getOpType() Return the set operation of this
| |
| getResultSetNumber | back to summary |
|---|---|
| public int getResultSetNumber() Return the result set number
| |
| getRightSourceInput | back to summary |
|---|---|
| public NoPutResultSet getRightSourceInput() Return the right source input of this
| |
| getRowLocation | back to summary |
|---|---|
| public RowLocation getRowLocation() throws StandardException Implements org. Doc from org. Returns the row location of the current base table row of the cursor. If this cursor's row is composed of multiple base tables' rows, i.e. due to a join, then a null is returned.
| |
| getRowsReturned | back to summary |
|---|---|
| public int getRowsReturned() Return the number of rows returned from the result set
| |
| getRowsSeenLeft | back to summary |
|---|---|
| public int getRowsSeenLeft() Return the number of rows seen on the left source input
| |
| getRowsSeenRight | back to summary |
|---|---|
| public int getRowsSeenRight() Return the number of rows seen on the right source input
| |
| getTimeSpent | back to summary |
|---|---|
| public long getTimeSpent(int type) Implements org. Return the total amount of time spent in this ResultSet
| |
| isDuplicate | back to summary |
|---|---|
| private boolean isDuplicate(DataValueDescriptor[] curColumns) throws StandardException | |
| openCore | back to summary |
|---|---|
| public void openCore() throws StandardException Implements org. open the first source.
| |