public class RealResultSetStatisticsFactory extends java.lang.Object implements ResultSetStatisticsFactory
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.
MODULE| Constructor and Description |
|---|
RealResultSetStatisticsFactory() |
| Modifier and Type | Method and Description |
|---|---|
ResultSetStatistics |
getNoRowsResultSetStatistics(ResultSet rs) |
ResultSetStatistics |
getResultSetStatistics(NoPutResultSet rs) |
ResultSetStatistics |
getResultSetStatistics(ResultSet rs)
Get the matching ResultSetStatistics for the specified ResultSet.
|
RunTimeStatistics |
getRunTimeStatistics(Activation activation,
ResultSet rs,
NoPutResultSet[] subqueryTrackingArray)
RunTimeStatistics creation.
|
public RunTimeStatistics getRunTimeStatistics(Activation activation, ResultSet rs, NoPutResultSet[] subqueryTrackingArray) throws StandardException
ResultSetStatisticsFactorygetRunTimeStatistics in interface ResultSetStatisticsFactoryactivation - The Activation we are generating the statistics forrs - The top ResultSet for the ResultSet treesubqueryTrackingArray - Array of subqueries, used for finding
materialized subqueries.StandardException - on errorResultSetStatisticsFactory.getRunTimeStatistics(org.apache.derby.iapi.sql.Activation, org.apache.derby.iapi.sql.ResultSet, org.apache.derby.iapi.sql.execute.NoPutResultSet[])public ResultSetStatistics getResultSetStatistics(ResultSet rs)
ResultSetStatisticsFactorygetResultSetStatistics in interface ResultSetStatisticsFactoryResultSetStatisticsFactory.getResultSetStatistics(org.apache.derby.iapi.sql.ResultSet)public ResultSetStatistics getNoRowsResultSetStatistics(ResultSet rs)
getNoRowsResultSetStatistics in interface ResultSetStatisticsFactorypublic ResultSetStatistics getResultSetStatistics(NoPutResultSet rs)
getResultSetStatistics in interface ResultSetStatisticsFactoryApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.