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 import java.io.ObjectOutput ; 29 import java.io.ObjectInput ; 30 import java.io.IOException ; 31 32 38 public class RealCurrentOfStatistics 39 extends RealNoPutResultSetStatistics 40 { 41 42 43 44 46 50 public RealCurrentOfStatistics( 51 int numOpens, 52 int rowsSeen, 53 int rowsFiltered, 54 long constructorTime, 55 long openTime, 56 long nextTime, 57 long closeTime, 58 int resultSetNumber 59 ) 60 { 61 super( 62 numOpens, 63 rowsSeen, 64 rowsFiltered, 65 constructorTime, 66 openTime, 67 nextTime, 68 closeTime, 69 resultSetNumber, 70 0.0d, 71 0.0d 72 ); 73 } 74 75 77 84 public String getStatementExecutionPlanText(int depth) 85 { 86 initFormatInfo(depth); 87 88 return indent + 89 MessageService.getTextMessage(SQLState.RTS_NOT_IMPL, 90 "getStatementExecutionPlanText", "CurrentOfResultSet\n"); 91 92 } 93 94 103 public String getScanStatisticsText(String tableName, int depth) 104 { 105 return indent + 106 MessageService.getTextMessage(SQLState.RTS_NOT_IMPL, 107 "getScanStatisticsText", "CurrentOfResultSet\n"); 108 } 109 110 112 public String toString() 113 { 114 return getStatementExecutionPlanText(0); 115 } 116 120 public String getNodeName(){ 121 return "Current Of"; 123 } 124 } 125 | Popular Tags |