| Modifier and Type | Field and Description |
|---|---|
| private final Expression[] | |
| private final TableFilter[] | |
| private final TableFilter[] | |
| private final HashMap |
| Access | Constructor and Description |
|---|---|
| public | Plan(TableFilter[]
the tables of the query filters, int the number of table items count, Expression the condition in the WHERE clause condition)Create a query plan with the given order. |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: the costthe session session, AllColumnsForPlan calculates all columns on-demand allColumnsSet)Calculate the cost of this query plan. |
| public TableFilter[] | |
| public PlanItem | |
| public void | |
| private void |
| allConditions | back to summary |
|---|---|
| private final Expression[] allConditions | |
| allFilters | back to summary |
|---|---|
| private final TableFilter[] allFilters | |
| filters | back to summary |
|---|---|
| private final TableFilter[] filters | |
| planItems | back to summary |
|---|---|
| private final HashMap<TableFilter, PlanItem> planItems | |
| Plan | back to summary |
|---|---|
| public Plan(TableFilter[] filters, int count, Expression condition) Create a query plan with the given order.
| |
| calculateCost | back to summary |
|---|---|
| public double calculateCost(SessionLocal session, AllColumnsForPlan allColumnsSet) Calculate the cost of this query plan.
| |
| getFilters | back to summary |
|---|---|
| public TableFilter[] getFilters() The the list of tables.
| |
| getItem | back to summary |
|---|---|
| public PlanItem getItem(TableFilter filter) Get the plan item for the given table.
| |
| removeUnusableIndexConditions | back to summary |
|---|---|
| public void removeUnusableIndexConditions() Remove all index conditions that can not be used. | |
| setEvaluatable | back to summary |
|---|---|
| private void setEvaluatable(TableFilter filter, boolean b) | |