|
|||||||||
| 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 ExecutionContext

- All Superinterfaces:
- org.apache.derby.iapi.services.context.Context
- public interface ExecutionContext
- extends org.apache.derby.iapi.services.context.Context
ExecutionContext stores the factories that are to be used by the current connection. It also provides execution services for statement atomicity.
| Field Summary | |
static java.lang.String |
CONTEXT_ID
this is the ID we expect execution contexts to be stored into a context manager under. |
static int[] |
CS_TO_JDBC_ISOLATION_LEVEL_MAP
|
static java.lang.String[][] |
CS_TO_SQL_ISOLATION_MAP
|
static int |
READ_COMMITTED_ISOLATION_LEVEL
|
static int |
READ_UNCOMMITTED_ISOLATION_LEVEL
|
static int |
REPEATABLE_READ_ISOLATION_LEVEL
|
static int |
SERIALIZABLE_ISOLATION_LEVEL
|
static int |
UNSPECIFIED_ISOLATION_LEVEL
|
| Method Summary | |
void |
beginStatement(org.apache.derby.iapi.sql.ResultSet sourceRS)
Mark the beginning of a statement (INSERT, UPDATE, DELETE) |
void |
endStatement()
The end of a statement (INSERT, UPDATE, DELETE) |
ExecutionFactory |
getExecutionFactory()
Get the ExecutionFactory from this ExecutionContext. |
ResultSetFactory |
getResultSetFactory()
Get the ResultSetFactory from this ExecutionContext. |
ResultSetStatisticsFactory |
getResultSetStatisticsFactory()
Get the ResultSetStatisticsFactory from this ExecutionContext. |
java.lang.Object[] |
siftForeignKeys(java.lang.Object[] fullList)
Sifts the array of foreign key constraints for the ones which apply in the current context. |
java.lang.Object |
siftTriggers(java.lang.Object triggerInfo)
Sifts the triggers for the ones which apply in the current context. |
| Methods inherited from interface org.apache.derby.iapi.services.context.Context |
cleanupOnError, getContextManager, getIdName, isLastHandler, popMe, pushMe |
| Field Detail |
CONTEXT_ID
public static final java.lang.String CONTEXT_ID
- this is the ID we expect execution contexts
to be stored into a context manager under.
- See Also:
- Constant Field Values
UNSPECIFIED_ISOLATION_LEVEL
public static final int UNSPECIFIED_ISOLATION_LEVEL
- See Also:
- Constant Field Values
READ_UNCOMMITTED_ISOLATION_LEVEL
public static final int READ_UNCOMMITTED_ISOLATION_LEVEL
- See Also:
- Constant Field Values
READ_COMMITTED_ISOLATION_LEVEL
public static final int READ_COMMITTED_ISOLATION_LEVEL
- See Also:
- Constant Field Values
REPEATABLE_READ_ISOLATION_LEVEL
public static final int REPEATABLE_READ_ISOLATION_LEVEL
- See Also:
- Constant Field Values
SERIALIZABLE_ISOLATION_LEVEL
public static final int SERIALIZABLE_ISOLATION_LEVEL
- See Also:
- Constant Field Values
CS_TO_JDBC_ISOLATION_LEVEL_MAP
public static final int[] CS_TO_JDBC_ISOLATION_LEVEL_MAP
CS_TO_SQL_ISOLATION_MAP
public static final java.lang.String[][] CS_TO_SQL_ISOLATION_MAP
| Method Detail |
getResultSetFactory
public ResultSetFactory getResultSetFactory()
- Get the ResultSetFactory from this ExecutionContext.
getResultSetStatisticsFactory
public ResultSetStatisticsFactory getResultSetStatisticsFactory() throws org.apache.derby.iapi.error.StandardException
- Get the ResultSetStatisticsFactory from this ExecutionContext.
getExecutionFactory
public ExecutionFactory getExecutionFactory()
- Get the ExecutionFactory from this ExecutionContext.
beginStatement
public void beginStatement(org.apache.derby.iapi.sql.ResultSet sourceRS) throws org.apache.derby.iapi.error.StandardException
- Mark the beginning of a statement (INSERT, UPDATE, DELETE)
endStatement
public void endStatement()
throws org.apache.derby.iapi.error.StandardException
- The end of a statement (INSERT, UPDATE, DELETE)
siftForeignKeys
public java.lang.Object[] siftForeignKeys(java.lang.Object[] fullList) throws org.apache.derby.iapi.error.StandardException
- Sifts the array of foreign key constraints for the ones
which apply in the current context. In certain contexts
(e.g., when applying the COPY file or when tearing-off
a new table during REFRESH), we don't want to not bother
enforcing some foreign keys.
siftTriggers
public java.lang.Object siftTriggers(java.lang.Object triggerInfo) throws org.apache.derby.iapi.error.StandardException
- Sifts the triggers for the ones which apply in the current context.
In certain contexts (e.g., when applying the COPY file or
when tearing-off a new table during REFRESH), we don't want to
not bother firing triggers.
|
|||||||||
| 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