1 21 22 package org.apache.derby.iapi.sql.compile; 23 24 import org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor; 25 import org.apache.derby.iapi.sql.dictionary.TableDescriptor; 26 import org.apache.derby.iapi.sql.dictionary.DataDictionary; 27 import org.apache.derby.iapi.error.StandardException; 28 29 33 34 public interface AccessPath { 35 40 void setConglomerateDescriptor(ConglomerateDescriptor cd); 41 42 46 ConglomerateDescriptor getConglomerateDescriptor(); 47 48 52 public void setCostEstimate(CostEstimate costEstimate); 53 54 58 public CostEstimate getCostEstimate(); 59 60 63 public void setCoveringIndexScan(boolean coveringIndexScan); 64 65 72 public boolean getCoveringIndexScan(); 73 74 78 public void setNonMatchingIndexScan(boolean nonMatchingIndexScan); 79 80 88 public boolean getNonMatchingIndexScan(); 89 90 95 public void setJoinStrategy(JoinStrategy joinStrategy); 96 97 100 public JoinStrategy getJoinStrategy(); 101 102 105 public void setLockMode(int lockMode); 106 107 110 public int getLockMode(); 111 112 115 public void copy(AccessPath copyFrom); 116 117 122 public Optimizer getOptimizer(); 123 124 135 public void initializeAccessPathName(DataDictionary dd, TableDescriptor td) 136 throws StandardException; 137 } 138 | Popular Tags |