Optimizer

The optimizer is responsible to find the best execution plan for a given query.

Methods
double getCost()
double getCost()
TableFilter getTopFilter()
TableFilter getTopFilter()
void optimize(boolean parse)
Calculate the best query plan to use.
void optimize(boolean parse)
Calculate the best query plan to use.
Parameters:
parse - If we do not need to really get the best plan because it is a view parsing stage.