Class MNodeAboveSGLevelCounter

    • Field Detail

      • involvedStorageGroupMNodes

        protected java.util.Set<org.apache.iotdb.commons.path.PartialPath> involvedStorageGroupMNodes
    • Constructor Detail

      • MNodeAboveSGLevelCounter

        public MNodeAboveSGLevelCounter​(IMNode startNode,
                                        org.apache.iotdb.commons.path.PartialPath path,
                                        IMTreeStore store,
                                        int targetLevel)
                                 throws org.apache.iotdb.commons.exception.MetadataException
        Throws:
        org.apache.iotdb.commons.exception.MetadataException
    • Method Detail

      • processInternalMatchedMNode

        protected boolean processInternalMatchedMNode​(IMNode node,
                                                      int idx,
                                                      int level)
        Description copied from class: Traverser
        internal match: root.sg internal match root.sg.**(pattern)
        Overrides:
        processInternalMatchedMNode in class MNodeLevelCounter
        Returns:
        whether this branch of recursive traversal should stop; if true, stop
      • processFullMatchedMNode

        protected boolean processFullMatchedMNode​(IMNode node,
                                                  int idx,
                                                  int level)
        Description copied from class: Traverser
        full match: root.sg.d full match root.sg.**(pattern)
        Overrides:
        processFullMatchedMNode in class MNodeLevelCounter
        Returns:
        whether this branch of recursive traversal should stop; if true, stop
      • getInvolvedStorageGroupMNodes

        public java.util.Set<org.apache.iotdb.commons.path.PartialPath> getInvolvedStorageGroupMNodes()