|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ compile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.sql.compile
Interface OptimizerFactory

- 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,
org.apache.derby.iapi.sql.dictionary.DataDictionary dDictionary,
RequiredRowOrdering requiredRowOrdering,
int numTablesInQuery,
org.apache.derby.iapi.sql.conn.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 |
MODULE
public static final java.lang.String MODULE
- Module name for the monitor's module locating system.
- See Also:
- Constant Field Values
| Method Detail |
getOptimizer
public Optimizer getOptimizer(OptimizableList optimizableList, OptimizablePredicateList predicateList, org.apache.derby.iapi.sql.dictionary.DataDictionary dDictionary, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc) throws org.apache.derby.iapi.error.StandardException
- Only one optimizer level should exist in the database, however, the
connection may have multiple instances of that optimizer
at a given time.
getCostEstimate
public CostEstimate getCostEstimate() throws org.apache.derby.iapi.error.StandardException
- Return a new CostEstimate.
supportsOptimizerTrace
public boolean supportsOptimizerTrace()
- Return whether or not the optimizer associated with
this factory supports optimizer trace.
getMaxMemoryPerTable
public int getMaxMemoryPerTable()
- Return the maxMemoryPerTable setting, this is used in
optimizer, as well as subquery materialization at run time.
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ compile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC