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

public Interface ResultSetStatisticsFactory

Known Direct Implementers
org.apache.derby.impl.sql.execute.RealResultSetStatisticsFactory
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.sql.Activation, .ResultSet, org.apache.derby.iapi.sql.execute.RunTimeStatistics

ResultSetStatisticsFactory provides a wrapper around all of the result sets statistics objects needed in building the run time statistics.

Field Summary

Modifier and TypeField and Description
public static final String
MODULE

Module name for the monitor's module locating system.

Method Summary

Modifier and TypeMethod and Description
public ResultSetStatistics
public ResultSetStatistics
getResultSetStatistics(ResultSet rs)

Get the matching ResultSetStatistics for the specified ResultSet.

public ResultSetStatistics
public RunTimeStatistics
getRunTimeStatistics(Activation
The Activation we are generating the statistics for
activation
,
ResultSet
The top ResultSet for the ResultSet tree
rs
,
NoPutResultSet[]
Array of subqueries, used for finding materialized subqueries.
subqueryTrackingArray
)

RunTimeStatistics creation.

Field Detail

MODULEback to summary
public static final String MODULE

Module name for the monitor's module locating system.

Method Detail

getNoRowsResultSetStatisticsback to summary
public ResultSetStatistics getNoRowsResultSetStatistics(ResultSet rs)
getResultSetStatisticsback to summary
public ResultSetStatistics getResultSetStatistics(ResultSet rs)

Get the matching ResultSetStatistics for the specified ResultSet.

getResultSetStatisticsback to summary
public ResultSetStatistics getResultSetStatistics(NoPutResultSet rs)
getRunTimeStatisticsback to summary
public RunTimeStatistics getRunTimeStatistics(Activation activation, ResultSet rs, NoPutResultSet[] subqueryTrackingArray) throws StandardException

RunTimeStatistics creation.

Parameters
activation:Activation

The Activation we are generating the statistics for

rs:ResultSet

The top ResultSet for the ResultSet tree

subqueryTrackingArray:NoPutResultSet[]

Array of subqueries, used for finding materialized subqueries.

Exceptions
StandardException:
on error