java.lang.Object
org.apache.derby.impl.tools.planexporter.TreeNode

class TreeNode extends Object
This class is used by PlanExporter tool (DERBY-4587) as a data structure to keep the values retrieved after querying XPLAIN tables and few other properties of a plan node in a query plan.
  • Field Details

    • parentId

      private String parentId
    • id

      private String id
    • nodeType

      private String nodeType
    • noOfOpens

      private String noOfOpens
    • inputRows

      private String inputRows
    • returnedRows

      private String returnedRows
    • visitedPages

      private String visitedPages
    • scanQualifiers

      private String scanQualifiers
    • nextQualifiers

      private String nextQualifiers
    • scannedObject

      private String scannedObject
    • scanType

      private String scanType
    • sortType

      private String sortType
    • sorterOutput

      private String sorterOutput
    • depth

      private int depth
  • Constructor Details

    • TreeNode

      TreeNode()
  • Method Details

    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getId

      public String getId()
      Returns:
      the id
    • setParent

      public void setParent(String parentId)
      Parameters:
      parentId - the parentId to set
    • getParent

      public String getParent()
      Returns:
      the parentId
    • setNodeType

      public void setNodeType(String nodeType)
      Parameters:
      nodeType - the nodeType to set
    • getNodeType

      public String getNodeType()
      Returns:
      the nodeType
    • setNoOfOpens

      public void setNoOfOpens(String noOfOpens)
      Parameters:
      noOfOpens - the noOfOpens to set
    • getNoOfOpens

      public String getNoOfOpens()
      Returns:
      the noOfOpens
    • setInputRows

      public void setInputRows(String inputRows)
      Parameters:
      inputRows - the inputRows to set
    • getInputRows

      public String getInputRows()
      Returns:
      the inputRows
    • setReturnedRows

      public void setReturnedRows(String returnedRows)
      Parameters:
      returnedRows - the returnedRows to set
    • getReturnedRows

      public String getReturnedRows()
      Returns:
      the returnedRows
    • setVisitedPages

      public void setVisitedPages(String visitedPages)
      Parameters:
      visitedPages - the visitedPages to set
    • getVisitedPages

      public String getVisitedPages()
      Returns:
      the visitedPages
    • setDepth

      public void setDepth(int depth)
      Parameters:
      depth - the depth to set
    • getDepth

      public int getDepth()
      Returns:
      the depth
    • setScanQualifiers

      public void setScanQualifiers(String scanQualifiers)
      Parameters:
      scanQualifiers - the scanQualifiers to set
    • getScanQualifiers

      public String getScanQualifiers()
      Returns:
      the scanQualifiers
    • setNextQualifiers

      public void setNextQualifiers(String nextQualifiers)
      Parameters:
      nextQualifiers - the nextQualifiers to set
    • getNextQualifiers

      public String getNextQualifiers()
      Returns:
      the nextQualifiers
    • setScannedObject

      public void setScannedObject(String scannedObject)
      Parameters:
      scannedObject - the scannedObject to set
    • getScannedObject

      public String getScannedObject()
      Returns:
      the scannedObject
    • setScanType

      public void setScanType(String scanType)
      Parameters:
      scanType - the scanType to set
    • getScanType

      public String getScanType()
      Returns:
      the scanType
    • setSortType

      public void setSortType(String sortType)
      Parameters:
      sortType - the sortType to set
    • getSortType

      public String getSortType()
      Returns:
      the sortType
    • setSorterOutput

      public void setSorterOutput(String sorterOutput)
      Parameters:
      sorterOutput - the sorterOutput to set
    • getSorterOutput

      public String getSorterOutput()
      Returns:
      the sorterOutput
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      XML fragment for this TreeNode object