Class RealInsertVTIResultSetStatistics

java.lang.Object
org.apache.derby.impl.sql.execute.rts.RealNoRowsResultSetStatistics
org.apache.derby.impl.sql.execute.rts.RealInsertVTIResultSetStatistics
All Implemented Interfaces:
ResultSetStatistics, XPLAINable

public class RealInsertVTIResultSetStatistics extends RealNoRowsResultSetStatistics
ResultSetStatistics implemenation for InsertVTIResultSet.
  • Field Details

    • rowCount

      public int rowCount
    • deferred

      public boolean deferred
  • Constructor Details

    • RealInsertVTIResultSetStatistics

      public RealInsertVTIResultSetStatistics(int rowCount, boolean deferred, long executeTime, ResultSetStatistics sourceResultSetStatistics)
  • Method Details

    • getStatementExecutionPlanText

      public String getStatementExecutionPlanText(int depth)
      Return the statement execution plan as a String.
      Parameters:
      depth - Indentation level.
      Returns:
      String The statement execution plan as a String.
    • getScanStatisticsText

      public String getScanStatisticsText(String tableName, int depth)
      Return information on the scan nodes from the statement execution plan as a String.
      Parameters:
      tableName - if not NULL then print information for this table only
      depth - Indentation level.
      Returns:
      String The information on the scan nodes from the statement execution plan as a String.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getNodeName

      public String getNodeName()
      Format for display, a name for this node.
      Specified by:
      getNodeName in class RealNoRowsResultSetStatistics
    • accept

      public void accept(XPLAINVisitor visitor)
      Description copied from interface: XPLAINable
      This method gets called to let a visitor visit this XPLAINable object. The general contract is to implement pre-order, depth-first traversal to produce a predictable traversal behaviour.
    • getRSXplainType

      public String getRSXplainType()
    • getRSXplainDetails

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

      public Object getResultSetDescriptor(Object rsID, Object parentID, Object scanID, Object sortID, Object stmtID, Object timingID)
      Specified by:
      getResultSetDescriptor in interface XPLAINable
      Overrides:
      getResultSetDescriptor in class RealNoRowsResultSetStatistics