|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.plan.EPVFacade
public class EPVFacade
The facade of EPV (SQL Execution Plan View).
Method Summary | |
---|---|
boolean |
createNewPlanInstance(PlanRequest request)
Creates an instance of execution plan, to display an execution plan on EPV, consumers must create a new plan instance first |
static EPVFacade |
getInstance()
Returns the instance of EPVFacade |
int |
getStatus(PlanRequest request)
Returns the status of the plan request |
void |
planFailed(PlanRequest request,
java.lang.Throwable th)
Informs the EPV that error occurs when getting the execution plan from the data server. |
void |
planGenerated(PlanRequest request,
java.lang.String rawPlan)
Informs the EPV that the plan raw data of the given plan request is successfully generated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean createNewPlanInstance(PlanRequest request)
request
- the plan request
true
if creation succeeds, false
otherwisepublic static EPVFacade getInstance()
EPVFacade
EPVFacade
public void planFailed(PlanRequest request, java.lang.Throwable th)
request
- the plan requestth
- the exception thrown out when retrieving the planpublic void planGenerated(PlanRequest request, java.lang.String rawPlan)
Note that the IPlanParser
will be responsible for parsing the raw data of plan into modeled data.
request
- the plan requestrawPlan
- the raw data of execution planIPlanParser
public int getStatus(PlanRequest request)
request
- the plan request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |