1 21 22 package org.apache.derby.iapi.sql.compile; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 import org.apache.derby.iapi.sql.dictionary.DataDictionary; 27 28 32 33 public interface OptimizableList { 34 35 40 public int size(); 41 42 49 public Optimizable getOptimizable(int n); 50 51 57 public void setOptimizable(int n, Optimizable optimizable); 58 59 66 public void verifyProperties(DataDictionary dDictionary) throws StandardException; 67 68 84 public void reOrder(int[] joinOrder); 85 86 90 public boolean useStatistics(); 91 92 95 public boolean optimizeJoinOrder(); 96 97 100 public boolean legalJoinOrder(int numTablesInQuery); 101 102 107 public void initAccessPaths(Optimizer optimizer); 108 } 109 | Popular Tags |