| org.apache.derby.iapi.sql.compile.OptimizerFactory
All known Subclasses: org.apache.derby.impl.sql.compile.OptimizerFactoryImpl,
OptimizerFactory | public interface OptimizerFactory (Code) | | This is simply the factory for creating an optimizer.
There is expected to be only one of these configured per database.
|
Field Summary | |
String | MODULE Module name for the monitor's module locating system. |
MODULE | String MODULE(Code) | | Module name for the monitor's module locating system.
|
getMaxMemoryPerTable | public int getMaxMemoryPerTable()(Code) | | Return the maxMemoryPerTable setting, this is used in
optimizer, as well as subquery materialization at run time.
maxMemoryPerTable value |
getOptimizer | public Optimizer getOptimizer(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, LanguageConnectionContext lcc) throws StandardException(Code) | | Only one optimizer level should exist in the database, however, the
connection may have multiple instances of that optimizer
at a given time.
Parameters: optimizableList - The list of Optimizables to optimize. Parameters: predicateList - The list of unassigned OptimizablePredicates. Parameters: dDictionary - The DataDictionary to use. Parameters: requiredRowOrdering - The required ordering of the rows tocome out of the optimized result set Parameters: numTablesInQuery - The number of tables in the current query Parameters: lcc - The LanguageConnectionContextRESOLVE - We probably want to pass a subquery list, once we define anew interface for them, so that the Optimizer can out where to attachthe subqueries. exception: StandardException - Thrown on error |
supportsOptimizerTrace | public boolean supportsOptimizerTrace()(Code) | | Return whether or not the optimizer associated with
this factory supports optimizer trace.
Whether or not the optimizer associated withthis factory supports optimizer trace. |
|
|