org.apache.derby.impl.sql.execute.rts
Class RealNoRowsResultSetStatistics

java.lang.Object
  extended byorg.apache.derby.impl.sql.execute.rts.RealNoRowsResultSetStatistics
All Implemented Interfaces:
ResultSetStatistics
Direct Known Subclasses:
RealDeleteResultSetStatistics, RealDeleteVTIResultSetStatistics, RealInsertResultSetStatistics, RealInsertVTIResultSetStatistics, RealUpdateResultSetStatistics

abstract class RealNoRowsResultSetStatistics
extends java.lang.Object
implements ResultSetStatistics

ResultSetStatistics implemenation for NoPutResultSetImpl.

Author:
jerry

Field Summary
protected  long executeTime
           
protected  java.lang.String indent
           
 java.lang.String inspectDesc
           
 long inspectNum
           
 long inspectOverall
           
protected  int sourceDepth
           
 ResultSetStatistics sourceResultSetStatistics
           
protected  java.lang.String subIndent
           
 
Constructor Summary
RealNoRowsResultSetStatistics(long executeTime, ResultSetStatistics sourceRS)
          Initializes the time spent in NoRowsResultSet minus the source result set.
 
Method Summary
protected  java.lang.String dumpTimeStats(java.lang.String indent)
          Dump out the time information for run time stats.
 java.util.Vector getChildren()
          Get the objects to be displayed when this tree object is expanded.
 double getEstimatedRowCount()
          Get the estimated row count for the number of rows returned by the associated query or statement.
abstract  java.lang.String getNodeName()
          Format for display, a name for this node.
protected  void initFormatInfo(int depth)
          Initialize the format info for run time statistics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.derby.impl.sql.execute.rts.ResultSetStatistics
getScanStatisticsText, getStatementExecutionPlanText
 

Field Detail

indent

protected java.lang.String indent

subIndent

protected java.lang.String subIndent

sourceDepth

protected int sourceDepth

sourceResultSetStatistics

public ResultSetStatistics sourceResultSetStatistics

executeTime

protected long executeTime

inspectOverall

public long inspectOverall

inspectNum

public long inspectNum

inspectDesc

public java.lang.String inspectDesc
Constructor Detail

RealNoRowsResultSetStatistics

public RealNoRowsResultSetStatistics(long executeTime,
                                     ResultSetStatistics sourceRS)
Initializes the time spent in NoRowsResultSet minus the source result set.

Method Detail

initFormatInfo

protected void initFormatInfo(int depth)
Initialize the format info for run time statistics.


dumpTimeStats

protected java.lang.String dumpTimeStats(java.lang.String indent)
Dump out the time information for run time stats.

Returns:
String to be printed out.

getChildren

public java.util.Vector getChildren()
Get the objects to be displayed when this tree object is expanded.

The objects returned can be of any type, including addtional Inspectables.

Returns:
java.util.Vector A vector of objects.

getNodeName

public abstract java.lang.String getNodeName()
Format for display, a name for this node.


getEstimatedRowCount

public double getEstimatedRowCount()
Get the estimated row count for the number of rows returned by the associated query or statement.

Specified by:
getEstimatedRowCount in interface ResultSetStatistics
Returns:
The estimated number of rows returned by the associated query or statement.


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.