org.eclipse.datatools.sqltools.plan.internal.core
Class PlanInstance
java.lang.Object
   org.eclipse.datatools.sqltools.plan.internal.core.PlanInstance
org.eclipse.datatools.sqltools.plan.internal.core.PlanInstance
- All Implemented Interfaces: 
- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
- public class PlanInstance 
- extends java.lang.Object- implements org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
Implementation of IPlanInstance
- Author:
- Hui Cao
 
| Fields inherited from interface org.eclipse.datatools.sqltools.plan.internal.IPlanInstance | 
| FAILED, RUNNING, SUCCESS | 
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PlanInstance
public PlanInstance(PlanManager planManager,
                    PlanRequest planRequest)
finishFail
public void finishFail(java.lang.Throwable th)
- 
- Specified by:
- finishFailin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
finishSuccess
public void finishSuccess(java.lang.String rawPlan)
- 
- Specified by:
- finishSuccessin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
getFailThrowable
public java.lang.Throwable getFailThrowable()
- 
- Specified by:
- getFailThrowablein interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
getPlanRequest
public PlanRequest getPlanRequest()
- 
- Specified by:
- getPlanRequestin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
getRawPlan
public java.lang.String getRawPlan()
- 
- Specified by:
- getRawPlanin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
getStatus
public int getStatus()
- 
- Specified by:
- getStatusin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
isFinished
public boolean isFinished()
- 
- Specified by:
- isFinishedin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
setPlanRequest
public void setPlanRequest(PlanRequest planRequest)
- Sets the plan request of this plan
 
- 
 
- 
- Parameters:
- planRequest- the plan request
 
setRawPlan
public void setRawPlan(java.lang.String plan)
- Sets the raw data for this plan
 
- 
 
- 
- Parameters:
- rawPlan- the plan's raw data
 
getPlanDocuments
public IExecutionPlanDocument[] getPlanDocuments()
- 
- Specified by:
- getPlanDocumentsin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
- 
 
setPlanDocuments
public void setPlanDocuments(IExecutionPlanDocument[] docs)
- 
- Specified by:
- setPlanDocumentsin interface- org.eclipse.datatools.sqltools.plan.internal.IPlanInstance
 
-