1 21 22 package org.apache.derby.iapi.sql.compile; 23 24 import org.apache.derby.iapi.sql.conn.LanguageConnectionContext; 25 26 import org.apache.derby.iapi.sql.dictionary.DataDictionary; 27 import org.apache.derby.iapi.store.access.TransactionController; 28 import org.apache.derby.iapi.services.context.ContextManager; 29 30 import org.apache.derby.iapi.error.StandardException; 31 32 37 38 public interface OptimizerFactory { 39 42 String MODULE = "org.apache.derby.iapi.sql.compile.OptimizerFactory"; 43 44 63 public Optimizer getOptimizer( OptimizableList optimizableList, 64 OptimizablePredicateList predicateList, 65 DataDictionary dDictionary, 66 RequiredRowOrdering requiredRowOrdering, 67 int numTablesInQuery, 68 LanguageConnectionContext lcc) 69 throws StandardException; 70 71 72 77 public CostEstimate getCostEstimate() 78 throws StandardException; 79 80 87 public boolean supportsOptimizerTrace(); 88 89 95 public int getMaxMemoryPerTable(); 96 } 97 | Popular Tags |