Class RealSetOpResultSetStatistics

All Implemented Interfaces:
ResultSetStatistics, XPLAINable

public class RealSetOpResultSetStatistics extends RealNoPutResultSetStatistics
ResultSetStatistics implementation for SetOpResultSet.
  • Field Details

    • opType

      public int opType
    • rowsSeenLeft

      public int rowsSeenLeft
    • rowsSeenRight

      public int rowsSeenRight
    • rowsReturned

      public int rowsReturned
    • leftResultSetStatistics

      public ResultSetStatistics leftResultSetStatistics
    • rightResultSetStatistics

      public ResultSetStatistics rightResultSetStatistics
  • Constructor Details

    • RealSetOpResultSetStatistics

      public RealSetOpResultSetStatistics(int opType, int numOpens, int rowsSeen, int rowsFiltered, long constructorTime, long openTime, long nextTime, long closeTime, int resultSetNumber, int rowsSeenLeft, int rowsSeenRight, int rowsReturned, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ResultSetStatistics leftResultSetStatistics, ResultSetStatistics rightResultSetStatistics)
      Constructs a new RealSetOpResultSetStatistics object to represent the runtime statistics for SetOpResultSet.
      Parameters:
      opType - set operation type
      numOpens - number of open
      rowsSeen - rows seen
      rowsFiltered - rows filtered
      constructorTime - the time for construction
      openTime - the time for open operation
      nextTime - the time for next operation
      closeTime - the time for close operation
      resultSetNumber - the result set number
      rowsSeenLeft - rows seen by left source input
      rowsSeenRight - rows seen by right source input
      rowsReturned - rows returned
      optimizerEstimatedRowCount - optimizer estimated row count
      optimizerEstimatedCost - optimizer estimated cost
      leftResultSetStatistics - left source runtime statistics
      rightResultSetStatistics - right source runtime statistics
      See Also:
  • Method Details

    • getStatementExecutionPlanText

      public String getStatementExecutionPlanText(int depth)
      Return the statement execution plan as a String.
      Parameters:
      depth - Indentation level.
      Returns:
      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()
      Return the runtime statistics of this object in textual representation
      Overrides:
      toString in class Object
      Returns:
      the runtime statistics of this object in textual representation as a String.
    • getChildren

      public Vector<ResultSetStatistics> getChildren()
      Retrieves the children runtime statistics of this RealSetOpResultSetStatistics object
      Overrides:
      getChildren in class RealBasicNoPutResultSetStatistics
      Returns:
      the children runtime statistics of this RealSetOpResultSetStatistics object stored in a Vector.
    • getNodeName

      public String getNodeName()
      Format for display, a name for this node.
      Specified by:
      getNodeName in class RealBasicNoPutResultSetStatistics
      Returns:
      the name of the node as a String.
    • 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 RealBasicNoPutResultSetStatistics
    • 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 RealBasicNoPutResultSetStatistics