|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ execute overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.sql.execute
Interface ExecPreparedStatement

- All Superinterfaces:
- org.apache.derby.catalog.Dependable, org.apache.derby.iapi.sql.depend.Dependent, org.apache.derby.iapi.sql.PreparedStatement, org.apache.derby.iapi.sql.depend.Provider
- public interface ExecPreparedStatement
- extends org.apache.derby.iapi.sql.PreparedStatement
Execution extends prepared statement to add methods it needs for execution purposes (that should not be on the Database API).
| Field Summary |
| Fields inherited from interface org.apache.derby.catalog.Dependable |
ALIAS, COLUMNS_IN_TABLE, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PREPARED_STATEMENT, SCHEMA, STORED_PREPARED_STATEMENT, TABLE, TRIGGER, VIEW |
| Method Summary | |
void |
finish(org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc)
Mark the statement as unusable, i.e. |
org.apache.derby.iapi.services.loader.GeneratedClass |
getActivationClass()
Get the class generated for this prepared statement. |
ExecPreparedStatement |
getClone()
Get a new prepared statement that is a shallow copy of the current one. |
ConstantAction |
getConstantAction()
Get the Execution constants. |
java.lang.Object |
getCursorInfo()
Get the saved cursor info. |
java.lang.Object |
getSavedObject(int objectNum)
Get a saved object by number. |
java.lang.Object[] |
getSavedObjects()
Get all the saved objects. |
org.apache.derby.iapi.sql.ResultColumnDescriptor[] |
getTargetColumns()
the target columns of the cursor; this is a superset of the updatable columns, describing the row available |
ExecCursorTableReference |
getTargetTable()
the target table of the cursor |
java.lang.String[] |
getUpdateColumns()
the update columns of the cursor |
int |
getUpdateMode()
the update mode of the cursor |
boolean |
needsSavepoint()
Does this statement need a savpoint |
void |
setSource(java.lang.String txt)
set the statement text |
void |
setSPSAction()
Indicate that the statement represents an SPS action |
void |
setValid()
set this parepared statement to be valid |
| Methods inherited from interface org.apache.derby.iapi.sql.PreparedStatement |
execute, execute, getActivation, getBeginCompileTimestamp, getBindTimeInMillis, getCompileTimeInMillis, getCompileTimeWarnings, getEndCompileTimestamp, getGenerateTimeInMillis, getOptimizeTimeInMillis, getParameterTypes, getParseTimeInMillis, getResultDescription, getSource, getSPSName, isAtomic, referencesSessionSchema, rePrepare, upToDate |
| Methods inherited from interface org.apache.derby.iapi.sql.depend.Dependent |
isValid, makeInvalid, makeValid, prepareToInvalidate |
| Methods inherited from interface org.apache.derby.catalog.Dependable |
getClassType, getDependableFinder, getObjectID, getObjectName, isPersistent |
| Method Detail |
setSource
public void setSource(java.lang.String txt)
- set the statement text
getConstantAction
public ConstantAction getConstantAction()
- Get the Execution constants. This routine is called at Execution time.
getSavedObject
public java.lang.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
public java.lang.Object[] getSavedObjects()
- Get all the saved objects. Used for stored prepared
statements.
getCursorInfo
public java.lang.Object getCursorInfo()
- Get the saved cursor info. Used for stored prepared
statements.
getActivationClass
public org.apache.derby.iapi.services.loader.GeneratedClass getActivationClass() throws org.apache.derby.iapi.error.StandardException
- Get the class generated for this prepared statement.
Used to confirm compatability with auxilary structures.
finish
public void finish(org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc)
- Mark the statement as unusable, i.e. the system is
finished with it and no one should be able to use it.
needsSavepoint
public boolean needsSavepoint()
- Does this statement need a savpoint
getClone
public ExecPreparedStatement getClone() throws org.apache.derby.iapi.error.StandardException
- Get a new prepared statement that is a shallow copy
of the current one.
getUpdateMode
public int getUpdateMode()
- the update mode of the cursor
getTargetTable
public ExecCursorTableReference getTargetTable()
- the target table of the cursor
getTargetColumns
public org.apache.derby.iapi.sql.ResultColumnDescriptor[] getTargetColumns()
- the target columns of the cursor; this is a superset of
the updatable columns, describing the row available
getUpdateColumns
public java.lang.String[] getUpdateColumns()
- the update columns of the cursor
setValid
public void setValid()
- set this parepared statement to be valid
setSPSAction
public void setSPSAction()
- Indicate that the statement represents an SPS action
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ execute overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC