|
|||||||||
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 RunTimeStatistics
public long getParseTimeInMillis()
getParseTimeInMillis
in interface RunTimeStatistics
public long getBindTimeInMillis()
getBindTimeInMillis
in interface RunTimeStatistics
public long getOptimizeTimeInMillis()
getOptimizeTimeInMillis
in interface RunTimeStatistics
public long getGenerateTimeInMillis()
getGenerateTimeInMillis
in interface RunTimeStatistics
public long getExecuteTimeInMillis()
getExecuteTimeInMillis
in interface RunTimeStatistics
public java.sql.Timestamp getBeginCompilationTimestamp()
getBeginCompilationTimestamp
in interface RunTimeStatistics
public java.sql.Timestamp getEndCompilationTimestamp()
getEndCompilationTimestamp
in interface RunTimeStatistics
public java.sql.Timestamp getBeginExecutionTimestamp()
getBeginExecutionTimestamp
in interface RunTimeStatistics
public java.sql.Timestamp getEndExecutionTimestamp()
getEndExecutionTimestamp
in interface RunTimeStatistics
public java.lang.String getStatementName()
getStatementName
in interface RunTimeStatistics
public java.lang.String getSPSName()
getSPSName
in interface RunTimeStatistics
public java.lang.String getStatementText()
getStatementText
in interface RunTimeStatistics
public double getEstimatedRowCount()
getEstimatedRowCount
in interface RunTimeStatistics
public java.lang.String getStatementExecutionPlanText()
getStatementExecutionPlanText
in interface RunTimeStatistics
public java.lang.String getScanStatisticsText()
getScanStatisticsText
in interface RunTimeStatistics
public java.lang.String getScanStatisticsText(java.lang.String tableName)
getScanStatisticsText
in interface RunTimeStatistics
tableName
- table for which user seeks statistics.
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Vector getChildren()
The objects returned can be of any type, including addtional Inspectables.
public void acceptFromTopResultSet(XPLAINVisitor v)
acceptFromTopResultSet
in interface RunTimeStatistics
v
- the visitor that wishes to visit the tree.
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |