|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.rts.RunTimeStatisticsImpl
public final class RunTimeStatisticsImpl
RunTimeStatistics implemenation.
| Field Summary | |
|---|---|
java.sql.Timestamp |
beginCompilationTimestamp
|
java.sql.Timestamp |
beginExecutionTimestamp
|
long |
bindTime
|
long |
compileTime
|
java.sql.Timestamp |
endCompilationTimestamp
|
java.sql.Timestamp |
endExecutionTimestamp
|
long |
executeTime
|
long |
generateTime
|
long |
optimizeTime
|
long |
parseTime
|
java.lang.String |
spsName
|
java.lang.String |
statementName
|
java.lang.String |
statementText
|
ResultSetStatistics[] |
subqueryTrackingArray
|
ResultSetStatistics |
topResultSetStatistics
|
| Constructor Summary | |
|---|---|
RunTimeStatisticsImpl(java.lang.String spsName,
java.lang.String statementName,
java.lang.String statementText,
long compileTime,
long parseTime,
long bindTime,
long optimizeTime,
long generateTime,
long executeTime,
java.sql.Timestamp beginCompilationTimestamp,
java.sql.Timestamp endCompilationTimestamp,
java.sql.Timestamp beginExecutionTimestamp,
java.sql.Timestamp endExecutionTimestamp,
ResultSetStatistics[] subqueryTrackingArray,
ResultSetStatistics topResultSetStatistics)
|
|
| Method Summary | |
|---|---|
void |
acceptFromTopResultSet(XPLAINVisitor v)
initiate a visit of an XPLAINVisitor from the top of the RS tree |
java.sql.Timestamp |
getBeginCompilationTimestamp()
Get the timestamp for the beginning of query compilation. |
java.sql.Timestamp |
getBeginExecutionTimestamp()
Get the timestamp for the beginning of query execution. |
long |
getBindTimeInMillis()
Get the bind time for the associated query in milliseconds. |
java.util.Vector |
getChildren()
Get the objects to be displayed when this tree object is expanded. |
long |
getCompileTimeInMillis()
Get the total compile time for the associated query in milliseconds. |
java.sql.Timestamp |
getEndCompilationTimestamp()
Get the timestamp for the end of query compilation. |
java.sql.Timestamp |
getEndExecutionTimestamp()
Get the timestamp for the end of query execution. |
double |
getEstimatedRowCount()
Get the estimated row count for the number of rows returned by the associated query or statement. |
long |
getExecuteTimeInMillis()
Get the execute time for the associated query in milliseconds. |
long |
getGenerateTimeInMillis()
Get the generate time for the associated query in milliseconds. |
long |
getOptimizeTimeInMillis()
Get the optimize time for the associated query in milliseconds. |
long |
getParseTimeInMillis()
Get the parse time for the associated query in milliseconds. |
java.lang.String |
getScanStatisticsText()
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 |
getScanStatisticsText(java.lang.String tableName)
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. |
java.lang.String |
getSPSName()
Get the name of the Stored Prepared Statement for the statement. |
java.lang.String |
getStatementExecutionPlanText()
Get the execution plan for the associated query or statement as a String. |
java.lang.String |
getStatementName()
Get the name of the associated query or statement. |
java.lang.String |
getStatementText()
Get the text for the associated query or statement. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String statementText
public java.lang.String statementName
public java.lang.String spsName
public long parseTime
public long bindTime
public long optimizeTime
public long generateTime
public long compileTime
public long executeTime
public java.sql.Timestamp beginCompilationTimestamp
public java.sql.Timestamp endCompilationTimestamp
public java.sql.Timestamp beginExecutionTimestamp
public java.sql.Timestamp endExecutionTimestamp
public ResultSetStatistics topResultSetStatistics
public ResultSetStatistics[] subqueryTrackingArray
| Constructor Detail |
|---|
public RunTimeStatisticsImpl(java.lang.String spsName,
java.lang.String statementName,
java.lang.String statementText,
long compileTime,
long parseTime,
long bindTime,
long optimizeTime,
long generateTime,
long executeTime,
java.sql.Timestamp beginCompilationTimestamp,
java.sql.Timestamp endCompilationTimestamp,
java.sql.Timestamp beginExecutionTimestamp,
java.sql.Timestamp endExecutionTimestamp,
ResultSetStatistics[] subqueryTrackingArray,
ResultSetStatistics topResultSetStatistics)
| Method Detail |
|---|
public long getCompileTimeInMillis()
getCompileTimeInMillis in interface RunTimeStatisticspublic long getParseTimeInMillis()
getParseTimeInMillis in interface RunTimeStatisticspublic long getBindTimeInMillis()
getBindTimeInMillis in interface RunTimeStatisticspublic long getOptimizeTimeInMillis()
getOptimizeTimeInMillis in interface RunTimeStatisticspublic long getGenerateTimeInMillis()
getGenerateTimeInMillis in interface RunTimeStatisticspublic long getExecuteTimeInMillis()
getExecuteTimeInMillis in interface RunTimeStatisticspublic java.sql.Timestamp getBeginCompilationTimestamp()
getBeginCompilationTimestamp in interface RunTimeStatisticspublic java.sql.Timestamp getEndCompilationTimestamp()
getEndCompilationTimestamp in interface RunTimeStatisticspublic java.sql.Timestamp getBeginExecutionTimestamp()
getBeginExecutionTimestamp in interface RunTimeStatisticspublic java.sql.Timestamp getEndExecutionTimestamp()
getEndExecutionTimestamp in interface RunTimeStatisticspublic java.lang.String getStatementName()
getStatementName in interface RunTimeStatisticspublic java.lang.String getSPSName()
getSPSName in interface RunTimeStatisticspublic java.lang.String getStatementText()
getStatementText in interface RunTimeStatisticspublic double getEstimatedRowCount()
getEstimatedRowCount in interface RunTimeStatisticspublic java.lang.String getStatementExecutionPlanText()
getStatementExecutionPlanText in interface RunTimeStatisticspublic java.lang.String getScanStatisticsText()
getScanStatisticsText in interface RunTimeStatisticspublic java.lang.String getScanStatisticsText(java.lang.String tableName)
getScanStatisticsText in interface RunTimeStatisticstableName - table for which user seeks statistics.
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Vector getChildren()
The objects returned can be of any type, including addtional Inspectables.
public void acceptFromTopResultSet(XPLAINVisitor v)
acceptFromTopResultSet in interface RunTimeStatisticsv - the visitor that wishes to visit the tree.
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||