| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.datatools.sqltools.editor.core.result.ResultSupportRunnable
org.eclipse.datatools.sqltools.sqleditor.result.SimpleSQLResultRunnable
public class SimpleSQLResultRunnable
This is a simple ResultSupportRunnalbe, used to run a simple SQL statement. It do not support things like showing SP return value, output parameter, etc.
| Field Summary | 
|---|
| Fields inherited from class org.eclipse.core.runtime.jobs.Job | 
|---|
| ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING | 
| Constructor Summary | |
|---|---|
| SimpleSQLResultRunnable(java.sql.Connection con,
                        java.lang.String sql,
                        boolean closeCon,
                        IConnectionTracker tracker,
                        org.eclipse.core.runtime.IProgressMonitor parentMonitor,
                        org.eclipse.datatools.sqltools.core.DatabaseIdentifier databaseIdentifier,
                        org.eclipse.debug.core.ILaunchConfiguration configuration)Constructs a SimpleSQLResultRunnableto run the specified sql statement. | |
| Method Summary | |
|---|---|
|  org.eclipse.debug.core.ILaunchConfiguration | getConfiguration() | 
| Methods inherited from class org.eclipse.datatools.sqltools.editor.core.result.ResultSupportRunnable | 
|---|
| getActionType, getConsumerName, getDatabaseIdentifier, getOperationCommand, getOperationStatus, getParentOperationCommand, loopThroughResults, run, setActionType, setConsumerName, setNeedsInitConnection, setParentOperCommand, terminateExecution | 
| Methods inherited from class org.eclipse.core.runtime.jobs.Job | 
|---|
| addJobChangeListener, belongsTo, cancel, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule | 
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob | 
|---|
| compareTo | 
| Methods inherited from class org.eclipse.core.runtime.PlatformObject | 
|---|
| getAdapter | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable | 
|---|
| getAdapter | 
| Constructor Detail | 
|---|
public SimpleSQLResultRunnable(java.sql.Connection con,
                               java.lang.String sql,
                               boolean closeCon,
                               IConnectionTracker tracker,
                               org.eclipse.core.runtime.IProgressMonitor parentMonitor,
                               org.eclipse.datatools.sqltools.core.DatabaseIdentifier databaseIdentifier,
                               org.eclipse.debug.core.ILaunchConfiguration configuration)
SimpleSQLResultRunnable to run the specified sql statement.
con - the connectionsql - the SQL statement to be runcloseCon - whether should close connectiontracker - if closeCon is true and tracker is not null, will notify it when close the connectionparentMonitor - the parent monitor, used to canceldatabaseIdentifier - contains connection informationconfiguration - the launch configuration if this constructor is called by eclipse launch mechanism, or null.| Method Detail | 
|---|
public org.eclipse.debug.core.ILaunchConfiguration getConfiguration()
getConfiguration in class ResultSupportRunnable| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||