| org.apache.derby.iapi.sql.execute.ExecutionContext
All known Subclasses: org.apache.derby.impl.sql.execute.GenericExecutionContext,
ExecutionContext | public interface ExecutionContext extends Context(Code) | | ExecutionContext stores the factories that are to be used by
the current connection. It also provides execution services
for statement atomicity.
author: ames |
CONTEXT_ID | String CONTEXT_ID(Code) | | this is the ID we expect execution contexts
to be stored into a context manager under.
|
CS_TO_JDBC_ISOLATION_LEVEL_MAP | final public static int[] CS_TO_JDBC_ISOLATION_LEVEL_MAP(Code) | | |
CS_TO_SQL_ISOLATION_MAP | final public static String[][] CS_TO_SQL_ISOLATION_MAP(Code) | | |
READ_COMMITTED_ISOLATION_LEVEL | final public static int READ_COMMITTED_ISOLATION_LEVEL(Code) | | |
READ_UNCOMMITTED_ISOLATION_LEVEL | final public static int READ_UNCOMMITTED_ISOLATION_LEVEL(Code) | | |
REPEATABLE_READ_ISOLATION_LEVEL | final public static int REPEATABLE_READ_ISOLATION_LEVEL(Code) | | |
SERIALIZABLE_ISOLATION_LEVEL | final public static int SERIALIZABLE_ISOLATION_LEVEL(Code) | | |
UNSPECIFIED_ISOLATION_LEVEL | final public static int UNSPECIFIED_ISOLATION_LEVEL(Code) | | |
beginStatement | void beginStatement(ResultSet sourceRS) throws StandardException(Code) | | Mark the beginning of a statement (INSERT, UPDATE, DELETE)
Parameters: sourceRS - Source ResultSet for the statement. exception: StandardException - Thrown on error |
getExecutionFactory | ExecutionFactory getExecutionFactory()(Code) | | Get the ExecutionFactory from this ExecutionContext.
The Execution factory associated with thisExecutionContext |
getResultSetFactory | ResultSetFactory getResultSetFactory()(Code) | | Get the ResultSetFactory from this ExecutionContext.
The result set factory associated with thisExecutionContext |
siftForeignKeys | public Object[] siftForeignKeys(Object[] fullList) throws StandardException(Code) | | 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.
Parameters: fullList - the full list of foreign keys thatapply for the current statement a pruned back list, which we will actually botherenforcing. exception: StandardException - Thrown on error |
siftTriggers | public Object siftTriggers(Object triggerInfo) throws StandardException(Code) | | 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.
Parameters: triggerInfo - the original trigger info a pruned back triggerInfo, which we will actually botherenforcing. exception: StandardException - Thrown on error |
|
|