Interface ResultSetStatistics
- All Superinterfaces:
XPLAINable
- All Known Implementing Classes:
RealAnyResultSetStatistics
,RealBasicNoPutResultSetStatistics
,RealCurrentOfStatistics
,RealDeleteCascadeResultSetStatistics
,RealDeleteResultSetStatistics
,RealDeleteVTIResultSetStatistics
,RealDistinctScalarAggregateStatistics
,RealDistinctScanStatistics
,RealGroupedAggregateStatistics
,RealHashJoinStatistics
,RealHashLeftOuterJoinStatistics
,RealHashScanStatistics
,RealHashTableStatistics
,RealIndexRowToBaseRowStatistics
,RealInsertResultSetStatistics
,RealInsertVTIResultSetStatistics
,RealJoinResultSetStatistics
,RealLastIndexKeyScanStatistics
,RealMaterializedResultSetStatistics
,RealNestedLoopJoinStatistics
,RealNestedLoopLeftOuterJoinStatistics
,RealNoPutResultSetStatistics
,RealNormalizeResultSetStatistics
,RealNoRowsResultSetStatistics
,RealOnceResultSetStatistics
,RealProjectRestrictStatistics
,RealRowCountStatistics
,RealRowResultSetStatistics
,RealScalarAggregateStatistics
,RealScrollInsensitiveResultSetStatistics
,RealSetOpResultSetStatistics
,RealSortStatistics
,RealTableScanStatistics
,RealUnionResultSetStatistics
,RealUpdateResultSetStatistics
,RealVTIStatistics
,RealWindowResultSetStatistics
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.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the estimated row count for the number of rows returned by the associated query or statement.getScanStatisticsText
(String tableName, int depth) Return information on the scan nodes from the statement execution plan as a String.getStatementExecutionPlanText
(int depth) Return the statement execution plan as a String.Methods inherited from interface org.apache.derby.iapi.sql.execute.xplain.XPLAINable
accept, getResultSetDescriptor, getResultSetTimingsDescriptor, getRSXplainDetails, getRSXplainType, getScanPropsDescriptor, getSortPropsDescriptor
-
Method Details
-
getStatementExecutionPlanText
Return the statement execution plan as a String.- Parameters:
depth
- Indentation level.- Returns:
- String The statement execution plan as a String.
-
getScanStatisticsText
Return information on the scan nodes from the statement execution plan as a String.- Parameters:
tableName
- if not NULL then return information for this table onlydepth
- Indentation level.- Returns:
- String The information on the scan nodes from the statement execution plan as a String.
-
getEstimatedRowCount
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.
-