There is expected to be only one of these configured per database.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | MODULE
Module name for the monitor's module locating system. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true means do join order optimization, false
means don't do it.Tell whether to do join order optimization. |
| public CostEstimate | |
| public int | Returns: maxMemoryPerTable valueReturn the maxMemoryPerTable setting, this is used in optimizer, as well as subquery materialization at run time. |
| public Optimizer | getOptimizer(OptimizableList
The list of Optimizables to optimize. optimizableList, OptimizablePredicateList The list of unassigned OptimizablePredicates. predicateList, DataDictionary The DataDictionary to use. dDictionary, RequiredRowOrdering The required ordering of the rows to
come out of the optimized result set requiredRowOrdering, int The number of tables in the current query numTablesInQuery, OptimizerPlan (Optional) A complete plan specified by optimizer overrides. Must have been bound already. overridingPlan, LanguageConnectionContext 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. lcc)Only one optimizer level should exist in the database, however, the connection may have multiple instances of that optimizer at a given time. |
| public boolean | Returns: Whether or not the optimizer associated with this factory supports optimizer trace.Return whether or not the optimizer associated with this factory supports optimizer trace. |
| MODULE | back to summary |
|---|---|
| public static final String MODULE Module name for the monitor's module locating system. | |
| doJoinOrderOptimization | back to summary |
|---|---|
| public boolean doJoinOrderOptimization() Tell whether to do join order optimization.
| |
| getCostEstimate | back to summary |
|---|---|
| public CostEstimate getCostEstimate() Return a new CostEstimate. | |
| getMaxMemoryPerTable | back to summary |
|---|---|
| public int getMaxMemoryPerTable() Return the maxMemoryPerTable setting, this is used in optimizer, as well as subquery materialization at run time.
| |
| getOptimizer | back to summary |
|---|---|
| public Optimizer getOptimizer(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, OptimizerPlan overridingPlan, LanguageConnectionContext lcc) throws StandardException Only one optimizer level should exist in the database, however, the connection may have multiple instances of that optimizer at a given time.
| |
| supportsOptimizerTrace | back to summary |
|---|---|
| public boolean supportsOptimizerTrace() Return whether or not the optimizer associated with this factory supports optimizer trace.
| |