Class TreePrinter


  • public abstract class TreePrinter
    extends java.lang.Object
    Helper class to get a string respresentation for a Tree structure. This is useful for debugging purposes.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getIndentedTree​(Connection connection, Tree tree)
      Returns an indented tree displaying profiling information and payloads.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getIndentedTree

        public static java.lang.String getIndentedTree​(Connection connection,
                                                       Tree tree)
        Returns an indented tree displaying profiling information and payloads.
        Parameters:
        connection - the connection from which the tree was requested
        tree - the tree
        Returns:
        the tree as a string