| Modifier and Type | Field and Description |
|---|---|
| private boolean[] | cloneMap
Holds columns present more than once in the result set and which may be represented by a stream, since such columns need to be cloned. |
| public GeneratedMethod | |
| public boolean | |
| private ExecRow | |
| private GeneratedMethod | |
| public long | |
| private int[] | |
| private ExecRow | |
| public GeneratedMethod | |
| public long | |
| public boolean | |
| pack-priv Enumeration | |
| private boolean | |
| private boolean | |
| pack-priv final NoPutResultSet | |
| private final UUID | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, int cloneMapItem, boolean reuseResult, boolean doesProjection, boolean validatingCheckConstraint, UUID validatingBaseTableUUID, 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 | Returns: The result of the projectionrow to be projected sourceRow)Do the projection against the sourceRow. |
| private ExecRow | Returns: The result of the projectionThe source row. sourceRow)Do the projection against the source row. |
| 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 int[] | |
| public ExecRow | Returns: the last row returned.Implements org. Gets last row returned. |
| public ExecRow | Returns: the next row in the resultImplements abstract org. Implements org. Return the requested values computed from the next row (if any) for which the restriction evaluates to true. |
| public RowLocation | Returns: the row location of the current cursor row.Implements org. Gets information from its source. |
| 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 boolean | Returns: Whether or not the result set is for update.Overrides org. Implements org. Is this ResultSet or it's source result set for update |
| public void | markRowAsDeleted()
Overrides org. Implements org. Marks the resultSet's currentRow as deleted after a delete has been issued by either by using positioned delete or JDBC's deleteRow method. |
| public void | openCore()
Implements org. open a scan on the table. |
| public void | reopenCore()
Overrides org. Implements org. reopen a scan on the table. |
| public void | updateRow(ExecRow
new values for the currentRow row, RowChanger holds information about row: what columns of it is to
be used for updating, and what underlying base table column each
such column corresponds to. rowChanger)Overrides org. Implements org. Updates the resultSet's current row with it's new values after an update has been issued either using positioned update or JDBC's udpateRow method. |
| cloneMap | back to summary |
|---|---|
| private boolean[] cloneMap Holds columns present more than once in the result set and which may be represented by a stream, since such columns need to be cloned. | |
| constantRestriction | back to summary |
|---|---|
| public GeneratedMethod constantRestriction | |
| doesProjection | back to summary |
|---|---|
| public boolean doesProjection | |
| mappedResultRow | back to summary |
|---|---|
| private ExecRow mappedResultRow | |
| projection | back to summary |
|---|---|
| private GeneratedMethod projection | |
| projectionTime | back to summary |
|---|---|
| public long projectionTime | |
| projectMapping | back to summary |
|---|---|
| private int[] projectMapping | |
| projRow | back to summary |
|---|---|
| private ExecRow projRow | |
| restriction | back to summary |
|---|---|
| public GeneratedMethod restriction | |
| restrictionTime | back to summary |
|---|---|
| public long restrictionTime | |
| reuseResult | back to summary |
|---|---|
| public boolean reuseResult | |
| rowLocations | back to summary |
|---|---|
| pack-priv Enumeration<Object> rowLocations | |
| runTimeStatsOn | back to summary |
|---|---|
| private boolean runTimeStatsOn | |
| shortCircuitOpen | back to summary |
|---|---|
| private boolean shortCircuitOpen | |
| source | back to summary |
|---|---|
| pack-priv final NoPutResultSet source | |
| validatingBaseTableUUID | back to summary |
|---|---|
| private final UUID validatingBaseTableUUID | |
| validatingCheckConstraint | back to summary |
|---|---|
| private final boolean validatingCheckConstraint | |
| ProjectRestrictResultSet | back to summary |
|---|---|
| pack-priv ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, int cloneMapItem, boolean reuseResult, boolean doesProjection, boolean validatingCheckConstraint, UUID validatingBaseTableUUID, double optimizerEstimatedRowCount, double optimizerEstimatedCost) throws StandardException | |
| close | back to summary |
|---|---|
| public void close() throws StandardException Overrides org. Implements org. If the result set has been opened, close the open scan.
| |
| doBaseRowProjection | back to summary |
|---|---|
| public ExecRow doBaseRowProjection(ExecRow sourceRow) throws StandardException Do the projection against the sourceRow. If the source of the result set is of type ProjectRestrictResultSet, the projection by that result set will also be performed.
| |
| doProjection | back to summary |
|---|---|
| private ExecRow doProjection(ExecRow sourceRow) throws StandardException Do the projection against the source row. Use reflection where necessary, otherwise get the source column into our result row.
| |
| 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.
| |
| getBaseProjectMapping | back to summary |
|---|---|
| public int[] getBaseProjectMapping() Get projection mapping array. The array consist of indexes which maps the column in a row array to another position in the row array. If the value is projected out of the row, the value is negative.
| |
| getCurrentRow | back to summary |
|---|---|
| public ExecRow getCurrentRow() throws StandardException Implements org. Gets last row returned.
| |
| getNextRowCore | back to summary |
|---|---|
| public ExecRow getNextRowCore() throws StandardException Implements abstract org. Implements 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.
| |
| getRowLocation | back to summary |
|---|---|
| public RowLocation getRowLocation() throws StandardException Implements org. Gets information from its source. We might want to have this take a CursorResultSet in its constructor some day, instead of doing a cast here?
| |
| getTimeSpent | back to summary |
|---|---|
| public long getTimeSpent(int type) Implements org. Return the total amount of time spent in this ResultSet
| |
| isForUpdate | back to summary |
|---|---|
| public boolean isForUpdate() Overrides org. Implements org. Is this ResultSet or it's source result set for update
| |
| markRowAsDeleted | back to summary |
|---|---|
| public void markRowAsDeleted() throws StandardException Overrides org. Implements org. Doc from org. Marks the resultSet's currentRow as deleted after a delete has been issued by either by using positioned delete or JDBC's deleteRow method.
| |
| 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...
| |
| updateRow | back to summary |
|---|---|
| public void updateRow(ExecRow row, RowChanger rowChanger) throws StandardException Overrides org. Implements org. Doc from org. Updates the resultSet's current row with it's new values after an update has been issued either using positioned update or JDBC's udpateRow method.
| |