Class AbstractRelNode.RelDigestWriter

  • All Implemented Interfaces:
    Enclosing class:

    private static final class AbstractRelNode.RelDigestWriter
    extends java.lang.Object
    implements RelWriter
    A writer object used exclusively for computing the digest of a RelNode.

    The writer is meant to be used only for computing a single digest and then thrown away. After calling done(RelNode) the writer should be used only to obtain the computed digest. Any other action is prohibited.

    • Field Summary

      Modifier and Type Field Description
      (package private) java.lang.String digest  
      private java.util.List<Pair<java.lang.String,​java.lang.Object>> values  
    • Constructor Summary

      Modifier Constructor Description
      private RelDigestWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RelWriter done​(RelNode node)
      Writes the completed explanation.
      void explain​(RelNode rel, java.util.List<Pair<java.lang.String,​java.lang.Object>> valueList)
      Prints an explanation of a node, with a list of (term, value) pairs.
      SqlExplainLevel getDetailLevel()  
      RelWriter item​(java.lang.String term, java.lang.Object value)
      Adds an attribute to the explanation of the current node.
      • Methods inherited from class java.lang.Object

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

      • values

        private final java.util.List<Pair<java.lang.String,​java.lang.Object>> values
      • digest

        java.lang.String digest
    • Constructor Detail

      • RelDigestWriter

        private RelDigestWriter()