Plan
A possible query execution plan. The time required to execute a query depends
on the order the tables are accessed.
| Methods |
|
Plan(TableFilter[] filters, int count, Expression condition)
Create a query plan with the given order.
|
|
Plan(TableFilter[] filters, int count, Expression condition)
Create a query plan with the given order.
Parameters:
filters - the tables of the query
count - the number of table items
condition - the condition in the WHERE clause
|
| double |
calculateCost(Session session)
Calculate the cost of this query plan.
|
| double |
calculateCost(Session session)
Calculate the cost of this query plan.
Parameters:
session - the session
Returns:
the cost
|
| TableFilter[] |
getFilters()
The the list of tables.
|
| TableFilter[] |
getFilters()
The the list of tables.
Returns:
the list of tables
|
| PlanItem |
getItem(TableFilter filter)
Get the plan item for the given table.
|
| PlanItem |
getItem(TableFilter filter)
Get the plan item for the given table.
Parameters:
filter - the table
Returns:
the plan item
|
| void |
removeUnusableIndexConditions()
Remove all index conditions that can not be used.
|
| void |
removeUnusableIndexConditions()
Remove all index conditions that can not be used.
|
|