Class RealNoRowsResultSetStatistics
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.rts.RealNoRowsResultSetStatistics
-
- All Implemented Interfaces:
ResultSetStatistics
,XPLAINable
- Direct Known Subclasses:
RealDeleteResultSetStatistics
,RealDeleteVTIResultSetStatistics
,RealInsertResultSetStatistics
,RealInsertVTIResultSetStatistics
,RealUpdateResultSetStatistics
abstract class RealNoRowsResultSetStatistics extends java.lang.Object implements ResultSetStatistics
ResultSetStatistics implemenation for NoPutResultSetImpl.
-
-
Field Summary
Fields Modifier and Type Field Description long
executeTime
protected java.lang.String
indent
java.lang.String
inspectDesc
long
inspectNum
long
inspectOverall
protected int
sourceDepth
ResultSetStatistics
sourceResultSetStatistics
protected java.lang.String
subIndent
-
Constructor Summary
Constructors Constructor Description RealNoRowsResultSetStatistics(long executeTime, ResultSetStatistics sourceRS)
Initializes the time spent in NoRowsResultSet minus the source result set.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
dumpTimeStats(java.lang.String indent)
Dump out the time information for run time stats.java.util.Vector<ResultSetStatistics>
getChildren()
Get the objects to be displayed when this tree object is expanded.double
getEstimatedRowCount()
Get the estimated row count for the number of rows returned by the associated query or statement.abstract java.lang.String
getNodeName()
Format for display, a name for this node.java.lang.Object
getResultSetDescriptor(java.lang.Object rsID, java.lang.Object parentID, java.lang.Object scanID, java.lang.Object sortID, java.lang.Object stmtID, java.lang.Object timingID)
java.lang.Object
getResultSetTimingsDescriptor(java.lang.Object timingID)
java.lang.String
getRSXplainDetails()
java.lang.Object
getScanPropsDescriptor(java.lang.Object UUID)
java.lang.Object
getSortPropsDescriptor(java.lang.Object UUID)
protected void
initFormatInfo(int depth)
Initialize the format info for run time statistics.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.derby.iapi.sql.execute.ResultSetStatistics
getScanStatisticsText, getStatementExecutionPlanText
-
Methods inherited from interface org.apache.derby.iapi.sql.execute.xplain.XPLAINable
accept, getRSXplainType
-
-
-
-
Field Detail
-
indent
protected java.lang.String indent
-
subIndent
protected java.lang.String subIndent
-
sourceDepth
protected int sourceDepth
-
sourceResultSetStatistics
public ResultSetStatistics sourceResultSetStatistics
-
executeTime
public long executeTime
-
inspectOverall
public long inspectOverall
-
inspectNum
public long inspectNum
-
inspectDesc
public java.lang.String inspectDesc
-
-
Constructor Detail
-
RealNoRowsResultSetStatistics
public RealNoRowsResultSetStatistics(long executeTime, ResultSetStatistics sourceRS)
Initializes the time spent in NoRowsResultSet minus the source result set.
-
-
Method Detail
-
initFormatInfo
protected void initFormatInfo(int depth)
Initialize the format info for run time statistics.
-
dumpTimeStats
protected java.lang.String dumpTimeStats(java.lang.String indent)
Dump out the time information for run time stats.- Returns:
- String to be printed out.
-
getChildren
public java.util.Vector<ResultSetStatistics> getChildren()
Get the objects to be displayed when this tree object is expanded.The objects returned can be of any type, including addtional Inspectables.
- Returns:
- java.util.Vector A vector of objects.
-
getNodeName
public abstract java.lang.String getNodeName()
Format for display, a name for this node.
-
getEstimatedRowCount
public double getEstimatedRowCount()
Get the estimated row count for the number of rows returned by the associated query or statement.- Specified by:
getEstimatedRowCount
in interfaceResultSetStatistics
- Returns:
- The estimated number of rows returned by the associated query or statement.
-
getRSXplainDetails
public java.lang.String getRSXplainDetails()
- Specified by:
getRSXplainDetails
in interfaceXPLAINable
-
getResultSetDescriptor
public java.lang.Object getResultSetDescriptor(java.lang.Object rsID, java.lang.Object parentID, java.lang.Object scanID, java.lang.Object sortID, java.lang.Object stmtID, java.lang.Object timingID)
- Specified by:
getResultSetDescriptor
in interfaceXPLAINable
-
getResultSetTimingsDescriptor
public java.lang.Object getResultSetTimingsDescriptor(java.lang.Object timingID)
- Specified by:
getResultSetTimingsDescriptor
in interfaceXPLAINable
-
getSortPropsDescriptor
public java.lang.Object getSortPropsDescriptor(java.lang.Object UUID)
- Specified by:
getSortPropsDescriptor
in interfaceXPLAINable
-
getScanPropsDescriptor
public java.lang.Object getScanPropsDescriptor(java.lang.Object UUID)
- Specified by:
getScanPropsDescriptor
in interfaceXPLAINable
-
-