|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPlanInstance
This class encapsulates the following information a sql plan:
IExecutionPlanDocument)
| Field Summary | |
|---|---|
static int |
FAILED
Indicates it's failed to generated the execution plan |
static int |
RUNNING
Indicates that this plan is generating, still not finished |
static int |
SUCCESS
Indicates that the plan is successfully generated |
| Method Summary | |
|---|---|
void |
finishFail(java.lang.Throwable th)
Failed because of the throwable |
void |
finishSuccess(java.lang.String rawPlan)
Successfully finished with the return plan's raw data |
java.lang.Throwable |
getFailThrowable()
Returns the fail reason throwable |
IExecutionPlanDocument[] |
getPlanDocuments()
Returns the execution plan documents of this plan. |
PlanRequest |
getPlanRequest()
Returns the plan request |
java.lang.String |
getRawPlan()
Returns the raw data of this plan |
int |
getStatus()
Returns the current status |
boolean |
isFinished()
Checks if this plan is finished or not |
void |
setPlanDocuments(IExecutionPlanDocument[] docs)
Sets the execution plan documents, they should be parsed from the raw data. |
| Field Detail |
|---|
static final int RUNNING
static final int SUCCESS
static final int FAILED
| Method Detail |
|---|
void finishFail(java.lang.Throwable th)
th - the throwablevoid finishSuccess(java.lang.String rawPlan)
rawPlan - the plan's raw datajava.lang.Throwable getFailThrowable()
null if not finished yet, or not fail.PlanRequest getPlanRequest()
java.lang.String getRawPlan()
int getStatus()
SUCCESS,
FAILEDboolean isFinished()
true if finished (success or fail), false otherwiseIExecutionPlanDocument[] getPlanDocuments()
void setPlanDocuments(IExecutionPlanDocument[] docs)
docs - the execution plan documents
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||