|
||||||||||
| 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.plan.PlanSupportRunnable
org.eclipse.datatools.enablement.ingres.internal.ui.plan.IngresPlanSupportRunnable
public class IngresPlanSupportRunnable
This class is responsible for retrieving QEP's from an driver log file. It parses the log file and extracts the last stored QEP (actually it's the last DBMS log entry). It's neither guaranteed that the found log message is a QEP nor that the found QEP is linked to the SQL statement. There's a small chance that another QEP is logged between execution of the query and retrieving the QEP.
| 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 | |
|---|---|
IngresPlanSupportRunnable(PlanRequest request,
java.lang.String profileName,
java.lang.String dbName)
|
|
| Method Summary | |
|---|---|
java.sql.Connection |
createConnection()
Returns a new created connection from the SQL tools. |
java.sql.Connection |
getConnection()
|
void |
setConnection(java.sql.Connection conn)
Setting the connection has no effect, as we always use an own connection. |
| Methods inherited from class org.eclipse.datatools.sqltools.plan.PlanSupportRunnable |
|---|
getRequest, setRequest |
| 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, wakeUp, wakeUp |
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
compareTo, toString |
| 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 IngresPlanSupportRunnable(PlanRequest request,
java.lang.String profileName,
java.lang.String dbName)
| Method Detail |
|---|
public java.sql.Connection getConnection()
getConnection in class PlanSupportRunnablepublic java.sql.Connection createConnection()
public void setConnection(java.sql.Connection conn)
setConnection in class PlanSupportRunnableconn - database connectionPlanSupportRunnable.setConnection(java.sql.Connection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||