org.apache.derby.iapi.sql.execute .ExecPreparedStatement All known Subclasses: org.apache.derby.impl.sql .GenericPreparedStatement ,ExecPreparedStatement public interface ExecPreparedStatement extends PreparedStatement (Code) Execution extends prepared statement to add methods it needs
for execution purposes (that should not be on the Database API).
author: ames
finish void finish(LanguageConnectionContext lcc) (Code) Mark the statement as unusable, i.e. the system is
finished with it and no one should be able to use it.
getActivationClass GeneratedClass getActivationClass() throws StandardException (Code) Get the class generated for this prepared statement.
Used to confirm compatability with auxilary structures.
exception: StandardException - on error obtaining class(probably when a stored prepared statement is loading)
getConstantAction ConstantAction getConstantAction() (Code) Get the Execution constants. This routine is called at Execution time.
ConstantAction The big structure enclosing the Execution constants.
getCursorInfo Object getCursorInfo() (Code) Get the saved cursor info. Used for stored prepared
statements.
Object the cursor info
getRequiredPermissionsList List getRequiredPermissionsList() (Code) the list of permissions required to execute this statement. May be null ifthe database does not use SQL standard authorization
getSavedObject Object getSavedObject(int objectNum) (Code) 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.
Object A saved object. The caller has to know whatit is requesting and cast it back to the expected type.
getSavedObjects Object [] getSavedObjects() (Code) Get all the saved objects. Used for stored prepared
statements.
Object[] the saved objects
getTargetColumns ResultColumnDescriptor [] getTargetColumns() (Code) the target columns of the cursor; this is a superset of
the updatable columns, describing the row available
target columns of the cursor as an array of column descriptors
getUpdateColumns String [] getUpdateColumns() (Code) the update columns of the cursor
update columns of the cursor as a string of column names
getUpdateMode int getUpdateMode() (Code) the update mode of the cursor
The update mode of the cursor
needsSavepoint boolean needsSavepoint() (Code) Does this statement need a savpoint
true if needs a savepoint
setSPSAction void setSPSAction() (Code) Indicate that the statement represents an SPS action
setSource void setSource(String txt) (Code) set the statement text
Parameters: txt - the source text
setValid void setValid() (Code) set this parepared statement to be valid