|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is simply the factory for creating an optimizer.
There is expected to be only one of these configured per database.
Field Summary | |
static java.lang.String |
MODULE
Module name for the monitor's module locating system. |
Method Summary | |
CostEstimate |
getCostEstimate()
Return a new CostEstimate. |
int |
getMaxMemoryPerTable()
Return the maxMemoryPerTable setting, this is used in optimizer, as well as subquery materialization at run time. |
Optimizer |
getOptimizer(OptimizableList optimizableList,
OptimizablePredicateList predicateList,
DataDictionary dDictionary,
RequiredRowOrdering requiredRowOrdering,
int numTablesInQuery,
LanguageConnectionContext lcc)
Only one optimizer level should exist in the database, however, the connection may have multiple instances of that optimizer at a given time. |
boolean |
supportsOptimizerTrace()
Return whether or not the optimizer associated with this factory supports optimizer trace. |
Field Detail |
public static final java.lang.String MODULE
Method Detail |
public Optimizer getOptimizer(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, LanguageConnectionContext lcc) throws StandardException
predicateList
- The list of unassigned OptimizablePredicates.dDictionary
- The DataDictionary to use.requiredRowOrdering
- The required ordering of the rows to
come out of the optimized result setnumTablesInQuery
- The number of tables in the current querylcc
- The LanguageConnectionContext
RESOLVE - We probably want to pass a subquery list, once we define a
new interface for them, so that the Optimizer can out where to attach
the subqueries.
StandardException
- Thrown on errorpublic CostEstimate getCostEstimate() throws StandardException
StandardException
- Thrown on errorpublic boolean supportsOptimizerTrace()
public int getMaxMemoryPerTable()
|
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 |