|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OptimizerFactory
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 |
---|
static final java.lang.String MODULE
Method Detail |
---|
Optimizer getOptimizer(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, LanguageConnectionContext lcc) throws StandardException
optimizableList
- The list of Optimizables to optimize.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 errorCostEstimate getCostEstimate() throws StandardException
StandardException
- Thrown on errorboolean supportsOptimizerTrace()
int getMaxMemoryPerTable()
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |