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

pack-priv abstract Class RealBasicNoPutResultSetStatistics

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.RealNoPutResultSetStatistics
Imports
org.apache.derby.iapi.sql.execute.ResultSetStatistics, org.apache.derby.catalog.UUID, org.apache.derby.shared.common.reference.SQLState, org.apache.derby.iapi.services.context.ContextService, org.apache.derby.shared.common.i18n.MessageService, org.apache.derby.impl.sql.catalog.XPLAINResultSetDescriptor, .XPLAINResultSetTimingsDescriptor, org.apache.derby.impl.sql.execute.xplain.XPLAINUtil, java.text.DecimalFormat, java.util.Locale, .Vector

ResultSetStatistics implemenation for BasicNoPutResultSetImpl.

Field Summary

Modifier and TypeField and Description
public long
public long
public String
public long
public long
public long
public int
public long
public double
public double
public int
public int

Constructor Summary

AccessConstructor and Description
public
RealBasicNoPutResultSetStatistics(int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, double optimizerEstimatedRowCount, double optimizerEstimatedCost)

Method Summary

Modifier and TypeMethod and Description
protected final String

Returns:

Nothing.
dumpEstimatedCosts
(String subIndent)

Dump out the estimated cost information

protected final String

Returns:

Nothing.
dumpTimeStats
(String indent, String subIndent)

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 long
getChildrenTime()

Return the time for all operations performed by the children of this node.

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 String
getNodeOn()

If this node is on a database item (like a table or an index), then provide a string that describes the on item.

public long
getNodeTime()

Return the time for all operations performed by this node, but not the time for the children of this node.

public Object
public Object
public String
public Object
public Object
public long
getTotalTime()

Return the time for all operations performed by this node, and the children of this node.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

closeTimeback to summary
public long closeTime
constructorTimeback to summary
public long constructorTime
inspectDescback to summary
public String inspectDesc
inspectNumback to summary
public long inspectNum
inspectOverallback to summary
public long inspectOverall
nextTimeback to summary
public long nextTime
numOpensback to summary
public int numOpens
openTimeback to summary
public long openTime
optimizerEstimatedCostback to summary
public double optimizerEstimatedCost
optimizerEstimatedRowCountback to summary
public double optimizerEstimatedRowCount
rowsFilteredback to summary
public int rowsFiltered
rowsSeenback to summary
public int rowsSeen

Constructor Detail

RealBasicNoPutResultSetStatisticsback to summary
public RealBasicNoPutResultSetStatistics(int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, double optimizerEstimatedRowCount, double optimizerEstimatedCost)

Method Detail

dumpEstimatedCostsback to summary
protected final String dumpEstimatedCosts(String subIndent)

Dump out the estimated cost information

Returns:String

Nothing.

dumpTimeStatsback to summary
protected final String dumpTimeStats(String indent, String subIndent)

Dump out the time information for run time stats.

Returns:String

Nothing.

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.

getChildrenTimeback to summary
public long getChildrenTime()

Return the time for all operations performed by the children of this node.

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.

getNodeOnback to summary
public String getNodeOn()

If this node is on a database item (like a table or an index), then provide a string that describes the on item.

getNodeTimeback to summary
public long getNodeTime()

Return the time for all operations performed by this node, but not the time for the children of 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.

getTotalTimeback to summary
public long getTotalTime()

Return the time for all operations performed by this node, and the children of this node. The times included open, next, and close.