org.apache.derby.impl.sql.execute.rts
Interface ResultSetStatistics

All Known Implementing Classes:
RealBasicNoPutResultSetStatistics, RealNoRowsResultSetStatistics

public interface ResultSetStatistics

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.

Author:
jerry

Method Summary
 double getEstimatedRowCount()
          Get the estimated row count for the number of rows returned by the associated query or statement.
 java.lang.String getScanStatisticsText(java.lang.String tableName, int depth)
          Return information on the scan nodes from the statement execution plan as a String.
 java.lang.String getStatementExecutionPlanText(int depth)
          Return the statement execution plan as a String.
 

Method Detail

getStatementExecutionPlanText

public java.lang.String getStatementExecutionPlanText(int depth)
Return the statement execution plan as a String.

Parameters:
depth - Indentation level.
Returns:
String The statement execution plan as a String.

getScanStatisticsText

public java.lang.String getScanStatisticsText(java.lang.String tableName,
                                              int depth)
Return information on the scan nodes from the statement execution plan as a String.

Parameters:
depth - Indentation level.
tableName - if not NULL then return information for this table only
Returns:
String The information on the scan nodes from the statement execution plan as a String.

getEstimatedRowCount

public double getEstimatedRowCount()
Get the estimated row count for the number of rows returned by the associated query or statement.

Returns:
The estimated number of rows returned by the associated query or statement.

Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.