|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OptimizableList provides services for optimizing a list of Optimizables (tables) in a query.
Method Summary | |
Optimizable |
getOptimizable(int n)
Return the nth Optimizable in the list. |
void |
initAccessPaths(Optimizer optimizer)
Init the access paths for these optimizables. |
boolean |
legalJoinOrder(int numTablesInQuery)
Tell whether the join order is legal. |
boolean |
optimizeJoinOrder()
Tell whether the join order should be optimized. |
void |
reOrder(int[] joinOrder)
Set the join order for this list of optimizables. |
void |
setOptimizable(int n,
Optimizable optimizable)
Set the nth Optimizable to the specified Optimizable. |
int |
size()
Return the number of Optimizables in the list. |
boolean |
useStatistics()
user can specify that s/he doesn't want statistics to be considered when optimizing the query. |
void |
verifyProperties(DataDictionary dDictionary)
Verify that the Properties list with optimizer overrides, if specified, is valid |
Method Detail |
public int size()
public Optimizable getOptimizable(int n)
n
- "index" (0 based) into the list.
public void setOptimizable(int n, Optimizable optimizable)
n
- "index" (0 based) into the list.optimizable
- New nth Optimizable.
public void verifyProperties(DataDictionary dDictionary) throws StandardException
dDictionary
- The DataDictionary to use.
StandardException
- Thrown on errorpublic void reOrder(int[] joinOrder)
public boolean useStatistics()
public boolean optimizeJoinOrder()
public boolean legalJoinOrder(int numTablesInQuery)
public void initAccessPaths(Optimizer optimizer)
optimizer
- The optimizer being used.
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |