1 21 22 package org.apache.derbyTesting.unitTests.store; 23 24 import org.apache.derby.iapi.store.access.*; 25 26 34 35 public class T_StoreCostResult implements StoreCostResult 36 { 37 long row_count; 38 double cost; 39 40 43 public long getEstimatedRowCount() 44 { 45 return(row_count); 46 } 47 48 51 public void setEstimatedRowCount( 52 long count) 53 { 54 row_count = count; 55 } 56 57 60 public double getEstimatedCost() 61 { 62 return(cost); 63 } 64 65 68 public void setEstimatedCost( 69 double input_cost) 70 { 71 this.cost = input_cost; 72 } 73 74 public String toString() 75 { 76 return("(row count = " + row_count + ", cost = " + cost + ")"); 77 } 78 } 79 | Popular Tags |