1 21 22 package org.apache.derby.iapi.sql.compile; 23 24 import org.apache.derby.iapi.store.access.StoreCostResult; 25 26 33 34 public interface CostEstimate extends StoreCostResult 35 { 36 39 void setCost(double cost, double rowCount, double singleScanRowCount); 40 41 44 void setCost(CostEstimate other); 45 46 49 void setSingleScanRowCount(double singleRowScanCount); 50 51 58 double compare(CostEstimate other); 59 60 69 CostEstimate add(CostEstimate addend, CostEstimate retval); 70 71 80 CostEstimate multiply(double multiplicand, CostEstimate retval); 81 82 90 CostEstimate divide(double divisor, CostEstimate retval); 91 92 96 double rowCount(); 97 98 102 double singleScanRowCount(); 103 104 105 CostEstimate cloneMe(); 106 107 112 public boolean isUninitialized(); 113 } 114 | Popular Tags |