| java.lang.Object org.apache.derby.impl.sql.compile.OptimizerImpl org.apache.derby.impl.sql.compile.Level2OptimizerImpl
Level2OptimizerImpl | public class Level2OptimizerImpl extends OptimizerImpl (Code) | | This is the Level 2 Optimizer.
|
Constructor Summary | |
| Level2OptimizerImpl(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, boolean ruleBasedOptimization, boolean noTimeout, boolean useStatistics, int maxMemoryPerTable, JoinStrategy[] joinStrategies, int tableLockThreshold, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, LanguageConnectionContext lcc) |
Level2OptimizerImpl | Level2OptimizerImpl(OptimizableList optimizableList, OptimizablePredicateList predicateList, DataDictionary dDictionary, boolean ruleBasedOptimization, boolean noTimeout, boolean useStatistics, int maxMemoryPerTable, JoinStrategy[] joinStrategies, int tableLockThreshold, RequiredRowOrdering requiredRowOrdering, int numTablesInQuery, LanguageConnectionContext lcc) throws StandardException(Code) | | |
getNewCostEstimate | public CostEstimateImpl getNewCostEstimate(double theCost, double theRowCount, double theSingleScanRowCount)(Code) | | |
trace | public void trace(int traceFlag, int intParam1, int intParam2, double doubleParam, Object objectParam1)(Code) | | |
Methods inherited from org.apache.derby.impl.sql.compile.OptimizerImpl | protected void addScopedPredicatesToList(PredicateList pList) throws StandardException(Code)(Java Doc) public void considerCost(Optimizable optimizable, OptimizablePredicateList predList, CostEstimate estimatedCost, CostEstimate outerCost) throws StandardException(Code)(Java Doc) public void costOptimizable(Optimizable optimizable, TableDescriptor td, ConglomerateDescriptor cd, OptimizablePredicateList predList, CostEstimate outerCost) throws StandardException(Code)(Java Doc) public void costPermutation() throws StandardException(Code)(Java Doc) public DataDictionary getDataDictionary()(Code)(Java Doc) public CostEstimate getFinalCost()(Code)(Java Doc) public JoinStrategy getJoinStrategy(int whichStrategy)(Code)(Java Doc) public JoinStrategy getJoinStrategy(String whichStrategy)(Code)(Java Doc) public int getLevel()(Code)(Java Doc) public int getMaxMemoryPerTable()(Code)(Java Doc) public CostEstimateImpl getNewCostEstimate(double theCost, double theRowCount, double theSingleScanRowCount)(Code)(Java Doc) public boolean getNextDecoratedPermutation() throws StandardException(Code)(Java Doc) public boolean getNextPermutation() throws StandardException(Code)(Java Doc) public int getNumberOfJoinStrategies()(Code)(Java Doc) public CostEstimate getOptimizedCost()(Code)(Java Doc) public void modifyAccessPaths() throws StandardException(Code)(Java Doc) public CostEstimate newCostEstimate()(Code)(Java Doc) public void prepForNextRound()(Code)(Java Doc) void pushPredicates(Optimizable curTable, JBitSet outerTables) throws StandardException(Code)(Java Doc) public void setOuterRows(double outerRows)(Code)(Java Doc) public int tableLockThreshold()(Code)(Java Doc) public void trace(int traceFlag, int intParam1, int intParam2, double doubleParam, Object objectParam1)(Code)(Java Doc) public double uniqueJoinWithOuterTable(OptimizablePredicateList predList) throws StandardException(Code)(Java Doc) protected void updateBestPlanMaps(short action, Object planKey) throws StandardException(Code)(Java Doc) public boolean useStatistics()(Code)(Java Doc)
|
|
|