Class RealResultSetStatisticsFactory
java.lang.Object
org.apache.derby.impl.sql.execute.RealResultSetStatisticsFactory
- All Implemented Interfaces:
ResultSetStatisticsFactory
ResultSetStatisticsFactory provides a wrapper around all of
objects associated with run time statistics.
This implementation of the protocol is for returning the "real" run time statistics. We have modularized this so that we could have an implementation that just returns null for each of the objects should we decided to provide a configuration without the run time statistics feature.
-
Field Summary
Fields inherited from interface org.apache.derby.iapi.sql.execute.ResultSetStatisticsFactory
MODULE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the matching ResultSetStatistics for the specified ResultSet.getRunTimeStatistics
(Activation activation, ResultSet rs, NoPutResultSet[] subqueryTrackingArray) RunTimeStatistics creation.
-
Constructor Details
-
RealResultSetStatisticsFactory
public RealResultSetStatisticsFactory()
-
-
Method Details
-
getRunTimeStatistics
public RunTimeStatistics getRunTimeStatistics(Activation activation, ResultSet rs, NoPutResultSet[] subqueryTrackingArray) throws StandardException Description copied from interface:ResultSetStatisticsFactory
RunTimeStatistics creation.- Specified by:
getRunTimeStatistics
in interfaceResultSetStatisticsFactory
- Parameters:
activation
- The Activation we are generating the statistics forrs
- The top ResultSet for the ResultSet treesubqueryTrackingArray
- Array of subqueries, used for finding materialized subqueries.- Throws:
StandardException
- on error- See Also:
-
getResultSetStatistics
Description copied from interface:ResultSetStatisticsFactory
Get the matching ResultSetStatistics for the specified ResultSet.- Specified by:
getResultSetStatistics
in interfaceResultSetStatisticsFactory
- See Also:
-
getNoRowsResultSetStatistics
- Specified by:
getNoRowsResultSetStatistics
in interfaceResultSetStatisticsFactory
-
getResultSetStatistics
- Specified by:
getResultSetStatistics
in interfaceResultSetStatisticsFactory
-