| java.lang.Object org.apache.derby.impl.sql.execute.rts.RunTimeStatisticsImpl
RunTimeStatisticsImpl | final public class RunTimeStatisticsImpl implements RunTimeStatistics(Code) | | RunTimeStatistics implemenation.
author: jerry |
Constructor Summary | |
public | RunTimeStatisticsImpl(String spsName, String statementName, String statementText, long compileTime, long parseTime, long bindTime, long optimizeTime, long generateTime, long executeTime, Timestamp beginCompilationTimestamp, Timestamp endCompilationTimestamp, Timestamp beginExecutionTimestamp, Timestamp endExecutionTimestamp, ResultSetStatistics[] subqueryTrackingArray, ResultSetStatistics topResultSetStatistics) |
bindTime | public long bindTime(Code) | | |
compileTime | public long compileTime(Code) | | |
executeTime | public long executeTime(Code) | | |
generateTime | public long generateTime(Code) | | |
optimizeTime | public long optimizeTime(Code) | | |
parseTime | public long parseTime(Code) | | |
RunTimeStatisticsImpl | public RunTimeStatisticsImpl(String spsName, String statementName, String statementText, long compileTime, long parseTime, long bindTime, long optimizeTime, long generateTime, long executeTime, Timestamp beginCompilationTimestamp, Timestamp endCompilationTimestamp, Timestamp beginExecutionTimestamp, Timestamp endExecutionTimestamp, ResultSetStatistics[] subqueryTrackingArray, ResultSetStatistics topResultSetStatistics)(Code) | | |
getBeginCompilationTimestamp | public Timestamp getBeginCompilationTimestamp()(Code) | | Get the timestamp for the beginning of query compilation.
java.sql.Timestamp The timestamp for the beginning of query compilation. |
getBeginExecutionTimestamp | public Timestamp getBeginExecutionTimestamp()(Code) | | Get the timestamp for the beginning of query execution.
java.sql.Timestamp The timestamp for the beginning of query execution. |
getBindTimeInMillis | public long getBindTimeInMillis()(Code) | | Get the bind time for the associated query in milliseconds.
long The bind time for the associated query in milliseconds. |
getChildren | public Vector getChildren()(Code) | | Get the objects to be displayed when this tree object is expanded.
The objects returned can be of any type, including addtional Inspectables.
java.util.Vector A vector of objects. |
getCompileTimeInMillis | public long getCompileTimeInMillis()(Code) | | Get the total compile time for the associated query in milliseconds.
Compile time can be divided into parse, bind, optimize and generate times.
long The total compile time for the associated query in milliseconds. |
getEndCompilationTimestamp | public Timestamp getEndCompilationTimestamp()(Code) | | Get the timestamp for the end of query compilation.
java.sql.Timestamp The timestamp for the end of query compilation. |
getEndExecutionTimestamp | public Timestamp getEndExecutionTimestamp()(Code) | | Get the timestamp for the end of query execution.
java.sql.Timestamp The timestamp for the end of query execution. |
getEstimatedRowCount | public double getEstimatedRowCount()(Code) | | Get the estimated row count for the number of rows returned
by the associated query or statement.
The estimated number of rows returned by the associatedquery or statement. |
getExecuteTimeInMillis | public long getExecuteTimeInMillis()(Code) | | Get the execute time for the associated query in milliseconds.
long The execute time for the associated query in milliseconds. |
getGenerateTimeInMillis | public long getGenerateTimeInMillis()(Code) | | Get the generate time for the associated query in milliseconds.
long The generate time for the associated query in milliseconds. |
getOptimizeTimeInMillis | public long getOptimizeTimeInMillis()(Code) | | Get the optimize time for the associated query in milliseconds.
long The optimize time for the associated query in milliseconds. |
getParseTimeInMillis | public long getParseTimeInMillis()(Code) | | Get the parse time for the associated query in milliseconds.
long The parse time for the associated query in milliseconds. |
getSPSName | public String getSPSName()(Code) | | Get the name of the Stored Prepared Statement
for the statement.
java.lang.String The SPS name of the associated query or statement. |
getScanStatisticsText | public String getScanStatisticsText()(Code) | | Get the information on the nodes relating to table and index scans
from the execution plan for the associated query or statement as a String.
java.lang.String The nodes relating to table and index scansfrom the execution plan for the associated query or statement. |
getScanStatisticsText | public String getScanStatisticsText(String tableName)(Code) | | Get the information on the nodes relating to table and index scans
for table tableName from the execution plan for the associated query
or statement as a String.
Parameters: tableName - table for which user seeks statistics. java.lang.String The nodes relating to table and index scansfrom the execution plan for the associated query or statement for tableName. |
getStatementExecutionPlanText | public String getStatementExecutionPlanText()(Code) | | Get the execution plan for the associated query or statement as a String.
java.lang.String The execution plan for the associated query or statement. |
getStatementName | public String getStatementName()(Code) | | Get the name of the associated query or statement.
(This will be an internally generated name if the
user did not assign a name.)
java.lang.String The name of the associated query or statement. |
getStatementText | public String getStatementText()(Code) | | Get the text for the associated query or statement.
java.lang.String The text for the associated query or statement. |
|
|