Top Description Fields Constructors Methods
org.apache.derby.impl.sql.execute.rts

pack-priv abstract Class RealNoRowsResultSetStatistics

extends Object
implements ResultSetStatistics
Class Inheritance
All Implemented Interfaces
org.apache.derby.iapi.sql.execute.ResultSetStatistics, org.apache.derby.iapi.sql.execute.xplain.XPLAINable
Known Direct Subclasses
org.apache.derby.impl.sql.execute.rts.RealUpdateResultSetStatistics, org.apache.derby.impl.sql.execute.rts.RealDeleteResultSetStatistics, org.apache.derby.impl.sql.execute.rts.RealDeleteVTIResultSetStatistics, org.apache.derby.impl.sql.execute.rts.RealInsertResultSetStatistics, org.apache.derby.impl.sql.execute.rts.RealInsertVTIResultSetStatistics
Imports
org.apache.derby.iapi.sql.execute.ResultSetStatistics, org.apache.derby.catalog.UUID, org.apache.derby.impl.sql.catalog.XPLAINResultSetDescriptor, .XPLAINResultSetTimingsDescriptor, org.apache.derby.impl.sql.execute.xplain.XPLAINUtil, org.apache.derby.iapi.services.io.Formatable, org.apache.derby.shared.common.i18n.MessageService, org.apache.derby.shared.common.reference.SQLState, java.io.ObjectOutput, .ObjectInput, .IOException, java.util.Vector

ResultSetStatistics implemenation for NoPutResultSetImpl.

Field Summary

Modifier and TypeField and Description
public long
protected String
public String
public long
public long
protected int
public ResultSetStatistics
protected String

Constructor Summary

AccessConstructor and Description
public
RealNoRowsResultSetStatistics(long executeTime, ResultSetStatistics sourceRS)

Initializes the time spent in NoRowsResultSet minus the source result set.

Method Summary

Modifier and TypeMethod and Description
protected String

Returns:

String to be printed out.
dumpTimeStats
(String indent)

Dump out the time information for run time stats.

public Vector<ResultSetStatistics>

Returns:

java.util.Vector A vector of objects.
getChildren
()

Get the objects to be displayed when this tree object is expanded.

public double

Returns:

The estimated number of rows returned by the associated query or statement.
getEstimatedRowCount
()

Implements org.apache.derby.iapi.sql.execute.ResultSetStatistics.getEstimatedRowCount.

Get the estimated row count for the number of rows returned by the associated query or statement.

public abstract String
getNodeName()

Format for display, a name for this node.

public Object
public Object
public String
public Object
public Object
protected void
initFormatInfo(int depth)

Initialize the format info for run time statistics.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

executeTimeback to summary
public long executeTime
indentback to summary
protected String indent
inspectDescback to summary
public String inspectDesc
inspectNumback to summary
public long inspectNum
inspectOverallback to summary
public long inspectOverall
sourceDepthback to summary
protected int sourceDepth
sourceResultSetStatisticsback to summary
public ResultSetStatistics sourceResultSetStatistics
subIndentback to summary
protected String subIndent

Constructor Detail

RealNoRowsResultSetStatisticsback to summary
public RealNoRowsResultSetStatistics(long executeTime, ResultSetStatistics sourceRS)

Initializes the time spent in NoRowsResultSet minus the source result set.

Method Detail

dumpTimeStatsback to summary
protected String dumpTimeStats(String indent)

Dump out the time information for run time stats.

Returns:String

String to be printed out.

getChildrenback to summary
public Vector<ResultSetStatistics> 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:Vector<ResultSetStatistics>

java.util.Vector A vector of objects.

getEstimatedRowCountback to summary
public double getEstimatedRowCount()

Implements org.apache.derby.iapi.sql.execute.ResultSetStatistics.getEstimatedRowCount.

Get the estimated row count for the number of rows returned by the associated query or statement.

Returns:double

The estimated number of rows returned by the associated query or statement.

getNodeNameback to summary
public abstract String getNodeName()

Format for display, a name for this node.

getResultSetDescriptorback to summary
public Object getResultSetDescriptor(Object rsID, Object parentID, Object scanID, Object sortID, Object stmtID, Object timingID)

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.getResultSetDescriptor.

getResultSetTimingsDescriptorback to summary
public Object getResultSetTimingsDescriptor(Object timingID)

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.getResultSetTimingsDescriptor.

getRSXplainDetailsback to summary
public String getRSXplainDetails()

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.getRSXplainDetails.

getScanPropsDescriptorback to summary
public Object getScanPropsDescriptor(Object UUID)

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.getScanPropsDescriptor.

getSortPropsDescriptorback to summary
public Object getSortPropsDescriptor(Object UUID)

Implements org.apache.derby.iapi.sql.execute.xplain.XPLAINable.getSortPropsDescriptor.

initFormatInfoback to summary
protected void initFormatInfo(int depth)

Initialize the format info for run time statistics.