Top Description Methods
org.apache.derby.iapi.sql.execute

public Interface ResultSetStatistics

extends XPLAINable
Known Direct Implementers
org.apache.derby.impl.sql.execute.rts.RealBasicNoPutResultSetStatistics, org.apache.derby.impl.sql.execute.rts.RealNoRowsResultSetStatistics
Imports
org.apache.derby.iapi.sql.execute.xplain.XPLAINable

The ResultSetStatistics interface is used to provide run time statistics information on a specific ResultSet.

This interface extends Formatable so that all objects which implement this interface can be easily saved to the database.

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

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

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

public String

Returns:

String The information on the scan nodes from the statement execution plan as a String.
getScanStatisticsText
(String
if not NULL then return information for this table only
tableName
,
int
Indentation level.
depth
)

Return information on the scan nodes from the statement execution plan as a String.

public String

Returns:

String The statement execution plan as a String.
getStatementExecutionPlanText
(int
Indentation level.
depth
)

Return the statement execution plan as a String.

Inherited from org.apache.derby.iapi.sql.execute.xplain.XPLAINable:
acceptgetResultSetDescriptorgetResultSetTimingsDescriptorgetRSXplainDetailsgetRSXplainTypegetScanPropsDescriptorgetSortPropsDescriptor

Method Detail

getEstimatedRowCountback to summary
public double 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.

getScanStatisticsTextback to summary
public String getScanStatisticsText(String tableName, int depth)

Return information on the scan nodes from the statement execution plan as a String.

Parameters
tableName:String

if not NULL then return information for this table only

depth:int

Indentation level.

Returns:String

String The information on the scan nodes from the statement execution plan as a String.

getStatementExecutionPlanTextback to summary
public String getStatementExecutionPlanText(int depth)

Return the statement execution plan as a String.

Parameters
depth:int

Indentation level.

Returns:String

String The statement execution plan as a String.