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

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

abstract class RealNoRowsResultSetStatistics
extends java.lang.Object
implements ResultSetStatistics

ResultSetStatistics implemenation for NoPutResultSetImpl.


Field Summary
 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.
 java.lang.Object getResultSetDescriptor(java.lang.Object rsID, java.lang.Object parentID, java.lang.Object scanID, java.lang.Object sortID, java.lang.Object stmtID, java.lang.Object timingID)
           
 java.lang.Object getResultSetTimingsDescriptor(java.lang.Object timingID)
           
 java.lang.String getRSXplainDetails()
           
 java.lang.Object getScanPropsDescriptor(java.lang.Object UUID)
           
 java.lang.Object getSortPropsDescriptor(java.lang.Object UUID)
           
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
 
Methods inherited from interface org.apache.derby.iapi.sql.execute.xplain.XPLAINable
accept, getRSXplainType
 

Field Detail

indent

protected java.lang.String indent

subIndent

protected java.lang.String subIndent

sourceDepth

protected int sourceDepth

sourceResultSetStatistics

public ResultSetStatistics sourceResultSetStatistics

executeTime

public 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.

getRSXplainDetails

public java.lang.String getRSXplainDetails()
Specified by:
getRSXplainDetails in interface XPLAINable

getResultSetDescriptor

public java.lang.Object getResultSetDescriptor(java.lang.Object rsID,
                                               java.lang.Object parentID,
                                               java.lang.Object scanID,
                                               java.lang.Object sortID,
                                               java.lang.Object stmtID,
                                               java.lang.Object timingID)
Specified by:
getResultSetDescriptor in interface XPLAINable

getResultSetTimingsDescriptor

public java.lang.Object getResultSetTimingsDescriptor(java.lang.Object timingID)
Specified by:
getResultSetTimingsDescriptor in interface XPLAINable

getSortPropsDescriptor

public java.lang.Object getSortPropsDescriptor(java.lang.Object UUID)
Specified by:
getSortPropsDescriptor in interface XPLAINable

getScanPropsDescriptor

public java.lang.Object getScanPropsDescriptor(java.lang.Object UUID)
Specified by:
getScanPropsDescriptor in interface XPLAINable

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.