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 Object implements ResultSetStatistics
ResultSetStatistics implemenation for NoPutResultSetImpl.
  • Field Details

    • indent

      protected String indent
    • subIndent

      protected String subIndent
    • sourceDepth

      protected int sourceDepth
    • sourceResultSetStatistics

      public ResultSetStatistics sourceResultSetStatistics
    • executeTime

      public long executeTime
    • inspectOverall

      public long inspectOverall
    • inspectNum

      public long inspectNum
    • inspectDesc

      public String inspectDesc
  • Constructor Details

    • RealNoRowsResultSetStatistics

      public RealNoRowsResultSetStatistics(long executeTime, ResultSetStatistics sourceRS)
      Initializes the time spent in NoRowsResultSet minus the source result set.
  • Method Details

    • initFormatInfo

      protected void initFormatInfo(int depth)
      Initialize the format info for run time statistics.
    • dumpTimeStats

      protected String dumpTimeStats(String indent)
      Dump out the time information for run time stats.
      Returns:
      String to be printed out.
    • getChildren

      public 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 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 interface ResultSetStatistics
      Returns:
      The estimated number of rows returned by the associated query or statement.
    • getRSXplainDetails

      public String getRSXplainDetails()
      Specified by:
      getRSXplainDetails in interface XPLAINable
    • getResultSetDescriptor

      public Object getResultSetDescriptor(Object rsID, Object parentID, Object scanID, Object sortID, Object stmtID, Object timingID)
      Specified by:
      getResultSetDescriptor in interface XPLAINable
    • getResultSetTimingsDescriptor

      public Object getResultSetTimingsDescriptor(Object timingID)
      Specified by:
      getResultSetTimingsDescriptor in interface XPLAINable
    • getSortPropsDescriptor

      public Object getSortPropsDescriptor(Object UUID)
      Specified by:
      getSortPropsDescriptor in interface XPLAINable
    • getScanPropsDescriptor

      public Object getScanPropsDescriptor(Object UUID)
      Specified by:
      getScanPropsDescriptor in interface XPLAINable