|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OptimizableList
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 |
---|
int size()
Optimizable getOptimizable(int n)
n
- "index" (0 based) into the list.
void setOptimizable(int n, Optimizable optimizable)
n
- "index" (0 based) into the list.optimizable
- New nth Optimizable.void verifyProperties(DataDictionary dDictionary) throws StandardException
dDictionary
- The DataDictionary to use.
StandardException
- Thrown on errorvoid reOrder(int[] joinOrder)
boolean useStatistics()
boolean optimizeJoinOrder()
boolean legalJoinOrder(int numTablesInQuery)
void initAccessPaths(Optimizer optimizer)
optimizer
- The optimizer being used.
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |