|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.core.services.ExecutionService
A SQL execution service specific to a database definition.
| Constructor Summary | |
ExecutionService()
|
|
| Method Summary | |
java.lang.Runnable |
createCallableSQLResultRunnable(java.sql.Connection con,
ILaunchConfiguration configuration,
boolean closeCon,
IConnectionTracker tracker,
DatabaseIdentifier databaseIdentifier)
Returns a Runnable object capable of running CallableStatement. |
java.lang.Runnable |
createExecuteParallelRunnable(java.lang.String sql,
DatabaseIdentifier databaseIdentifier)
The returned thread will be started together with the SQL execution logic. |
java.lang.String |
getCallableStatementPrefix(int type)
Returns a String prefix for invoking Routine/Event with the specified type |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExecutionService()
| Method Detail |
public java.lang.Runnable createCallableSQLResultRunnable(java.sql.Connection con,
ILaunchConfiguration configuration,
boolean closeCon,
IConnectionTracker tracker,
DatabaseIdentifier databaseIdentifier)
Runnable object capable of running CallableStatement.
con - the connectionconfiguration - the lauch configurationcloseCon - whether should close connectiontracker - if closeCon is true and tracker is not null, will notify it when close the connectiondatabaseIdentifier -
public java.lang.Runnable createExecuteParallelRunnable(java.lang.String sql,
DatabaseIdentifier databaseIdentifier)
public java.lang.String getCallableStatementPrefix(int type)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||