| Modifier and Type | Method and Description |
|---|---|
| public void | finish(LanguageConnectionContext lcc)
Mark the statement as unusable, i.e. the system is finished with it and no one should be able to use it. |
| public GeneratedClass | |
| public ExecPreparedStatement | Returns: a new prepared statementGet a new prepared statement that is a shallow copy of the current one. |
| public ConstantAction | Returns: ConstantAction The big structure enclosing the Execution constants.Get the Execution constants. |
| public Object | |
| public long | Returns: the row count from the first execution of the result setthe result set to get the initial row count for rsNum, long the current row count for the result set currentRowCount)Get the initial row count of the specified result set. |
| public List | Returns: the list of permissions required to execute this statement. May be null if the database does not use SQL standard authorization
|
| public Object | Returns: Object A saved object. The caller has to know what it is requesting and cast it back to the expected type.Get a saved object by number. |
| public List | |
| public int | Returns: the stale plan check interval, or zero if it has not been initialized yetGet the stale plan check interval. |
| public ExecCursorTableReference | |
| public int | |
| public boolean | |
| public int | Returns: execution count for this statement after the last compilationIncrement and return the execution count for this statement. |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | setStalePlanCheckInterval(int
the stale plan check interval interval)Set the stale plan check interval. |
| public void | |
| public boolean | Returns: true if this statement is up to date and its activation
class is identical to gc, false otherwisea generated class that must be identical to gc)getActivationClass() for this method to return trueChecks whether this PreparedStatement is up to date and its activation class is identical to the supplied generated class. |
| finish | back to summary |
|---|---|
| public void finish(LanguageConnectionContext lcc) Mark the statement as unusable, i.e. the system is finished with it and no one should be able to use it. | |
| getActivationClass | back to summary |
|---|---|
| public GeneratedClass getActivationClass() throws StandardException Get the class generated for this prepared statement. Used to confirm compatability with auxilary structures.
| |
| getClone | back to summary |
|---|---|
| public ExecPreparedStatement getClone() throws StandardException Get a new prepared statement that is a shallow copy of the current one.
| |
| getConstantAction | back to summary |
|---|---|
| public ConstantAction getConstantAction() Get the Execution constants. This routine is called at Execution time.
| |
| getCursorInfo | back to summary |
|---|---|
| public Object getCursorInfo() Get the saved cursor info. Used for stored prepared statements.
| |
| getInitialRowCount | back to summary |
|---|---|
| public long getInitialRowCount(int rsNum, long currentRowCount) Get the initial row count of the specified result set. If the initial row count has not yet been set, initialize it with the value of the current row count.
| |
| getRequiredPermissionsList | back to summary |
|---|---|
public List
| |
| getSavedObject | back to summary |
|---|---|
| public Object getSavedObject(int objectNum) Get a saved object by number. This is called during execution to access objects created at compile time. These are meant to be read-only at run time.
| |
| getSavedObjects | back to summary |
|---|---|
| public List Get all the saved objects. Used for stored prepared statements. | |
| getStalePlanCheckInterval | back to summary |
|---|---|
| public int getStalePlanCheckInterval() Get the stale plan check interval.
| |
| getTargetTable | back to summary |
|---|---|
| public ExecCursorTableReference getTargetTable() the target table of the cursor
| |
| getUpdateMode | back to summary |
|---|---|
| public int getUpdateMode() the update mode of the cursor
| |
| hasUpdateColumns | back to summary |
|---|---|
| public boolean hasUpdateColumns() Check if this prepared statement has a cursor with columns that can be updated. | |
| incrementExecutionCount | back to summary |
|---|---|
| public int incrementExecutionCount() Increment and return the execution count for this statement.
| |
| isUpdateColumn | back to summary |
|---|---|
| public boolean isUpdateColumn(String columnName) Check if the specified column name is one of the update columns. | |
| needsSavepoint | back to summary |
|---|---|
| public boolean needsSavepoint() Does this statement need a savpoint
| |
| setSource | back to summary |
|---|---|
| public void setSource(String txt) set the statement text
| |
| setSPSAction | back to summary |
|---|---|
| public void setSPSAction() Indicate that the statement represents an SPS action | |
| setStalePlanCheckInterval | back to summary |
|---|---|
| public void setStalePlanCheckInterval(int interval) Set the stale plan check interval.
| |
| setValid | back to summary |
|---|---|
| public void setValid() set this prepared statement to be valid | |
| upToDate | back to summary |
|---|---|
| public boolean upToDate(GeneratedClass gc) throws StandardException
Checks whether this PreparedStatement is up to date and its activation
class is identical to the supplied generated class. A call to getActivationClass() == gc && upToDate()
| |