Class PathPatternTree


  • public class PathPatternTree
    extends java.lang.Object
    • Constructor Detail

      • PathPatternTree

        public PathPatternTree()
    • Method Detail

      • appendFullPath

        public void appendFullPath​(org.apache.iotdb.commons.path.PartialPath fullPath)
        Append a fullPath (without wildcards) as a branch on the tree.
      • appendFullPath

        public void appendFullPath​(org.apache.iotdb.commons.path.PartialPath devicePath,
                                   java.lang.String measurement)
        Append a fullPath consisting of device and measurement as a branch on the tree.
      • appendPathPattern

        public void appendPathPattern​(org.apache.iotdb.commons.path.PartialPath pathPattern)
        Add a pathPattern (may contain wildcards) to pathPatternList.
      • constructTree

        public void constructTree()
        Construct tree according to the pathPatternList.
      • isEmpty

        public boolean isEmpty()
      • getAllDevicePatterns

        public java.util.List<java.lang.String> getAllDevicePatterns()
      • getAllPathPatterns

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getAllPathPatterns()
      • getOverlappedPathPatterns

        public java.util.List<org.apache.iotdb.commons.path.PartialPath> getOverlappedPathPatterns​(org.apache.iotdb.commons.path.PartialPath pattern)
      • serialize

        public void serialize​(org.apache.iotdb.tsfile.utils.PublicBAOS outputStream)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • serialize

        public void serialize​(java.io.DataOutputStream stream)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • serialize

        public void serialize​(java.nio.ByteBuffer buffer)
      • deserialize

        public static PathPatternTree deserialize​(java.nio.ByteBuffer buffer)