|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.table.Plan
public class Plan
A possible query execution plan. The time required to execute a query depends on the order the tables are accessed.
| Constructor Summary | |
|---|---|
Plan(TableFilter[] filters,
int count,
Expression condition)
Create a query plan with the given order. |
|
| Method Summary | |
|---|---|
double |
calculateCost(Session session)
Calculate the cost of this query plan. |
TableFilter[] |
getFilters()
The the list of tables. |
PlanItem |
getItem(TableFilter filter)
Get the plan item for the given table. |
void |
removeUnusableIndexConditions()
Remove all index conditions that can not be used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Plan(TableFilter[] filters,
int count,
Expression condition)
filters - the tables of the querycount - the number of table itemscondition - the condition in the WHERE clause| Method Detail |
|---|
public PlanItem getItem(TableFilter filter)
filter - the table
public TableFilter[] getFilters()
public void removeUnusableIndexConditions()
public double calculateCost(Session session)
session - the session
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||