1 21 22 package org.apache.derby.impl.sql.execute.rts; 23 24 import org.apache.derby.iapi.services.io.StoredFormatIds; 25 26 import org.apache.derby.iapi.services.i18n.MessageService; 27 import org.apache.derby.iapi.reference.SQLState; 28 29 import org.apache.derby.iapi.services.io.FormatableHashtable; 30 31 import java.io.ObjectOutput ; 32 import java.io.ObjectInput ; 33 import java.io.IOException ; 34 35 41 public abstract class RealJoinResultSetStatistics 42 extends RealNoPutResultSetStatistics 43 { 44 45 46 public int rowsSeenLeft; 47 public int rowsSeenRight; 48 public int rowsReturned; 49 public long restrictionTime; 50 public String userSuppliedOptimizerOverrides; 51 52 53 55 59 public RealJoinResultSetStatistics( 60 int numOpens, 61 int rowsSeen, 62 int rowsFiltered, 63 long constructorTime, 64 long openTime, 65 long nextTime, 66 long closeTime, 67 int resultSetNumber, 68 int rowsSeenLeft, 69 int rowsSeenRight, 70 int rowsReturned, 71 long restrictionTime, 72 double optimizerEstimatedRowCount, 73 double optimizerEstimatedCost, 74 String userSuppliedOptimizerOverrides 75 ) 76 { 77 super( 78 numOpens, 79 rowsSeen, 80 rowsFiltered, 81 constructorTime, 82 openTime, 83 nextTime, 84 closeTime, 85 resultSetNumber, 86 optimizerEstimatedRowCount, 87 optimizerEstimatedCost 88 ); 89 this.rowsSeenLeft = rowsSeenLeft; 90 this.rowsSeenRight = rowsSeenRight; 91 this.rowsReturned = rowsReturned; 92 this.restrictionTime = restrictionTime; 93 this.userSuppliedOptimizerOverrides = userSuppliedOptimizerOverrides; 94 } 95 96 97 102 public String getNodeName(){ 103 return MessageService.getTextMessage(SQLState.RTS_JOIN); 104 } 105 } 106 | Popular Tags |