org.apache.derby.impl.sql.execute
Class RealResultSetStatisticsFactory
java.lang.Object
org.apache.derby.impl.sql.execute.RealResultSetStatisticsFactory
- All Implemented Interfaces:
- ResultSetStatisticsFactory
public class RealResultSetStatisticsFactory
- extends java.lang.Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealResultSetStatisticsFactory
public RealResultSetStatisticsFactory()
getRunTimeStatistics
public RunTimeStatistics getRunTimeStatistics(Activation activation,
ResultSet rs,
NoPutResultSet[] subqueryTrackingArray)
throws StandardException
- Description copied from interface:
ResultSetStatisticsFactory
- RunTimeStatistics creation.
- Specified by:
getRunTimeStatistics
in interface ResultSetStatisticsFactory
- 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:
ResultSetStatisticsFactory.getRunTimeStatistics(org.apache.derby.iapi.sql.Activation, org.apache.derby.iapi.sql.ResultSet, org.apache.derby.iapi.sql.execute.NoPutResultSet[])
getResultSetStatistics
public ResultSetStatistics getResultSetStatistics(ResultSet rs)
- Description copied from interface:
ResultSetStatisticsFactory
- Get the matching ResultSetStatistics for the specified ResultSet.
- Specified by:
getResultSetStatistics
in interface ResultSetStatisticsFactory
- See Also:
ResultSetStatisticsFactory.getResultSetStatistics(org.apache.derby.iapi.sql.ResultSet)
getNoRowsResultSetStatistics
public ResultSetStatistics getNoRowsResultSetStatistics(ResultSet rs)
- Specified by:
getNoRowsResultSetStatistics
in interface ResultSetStatisticsFactory
getResultSetStatistics
public ResultSetStatistics getResultSetStatistics(NoPutResultSet rs)
- Specified by:
getResultSetStatistics
in interface ResultSetStatisticsFactory
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.