Class SchemaTreeVisitor<R>

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor

        org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor.AncestorStackEntry<N extends java.lang.Object>, org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor.VisitorStackEntry<N extends java.lang.Object>
    • Field Summary

      • Fields inherited from class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitorWithLimitOffset

        count, curOffset, hasLimit, limit, offset
      • Fields inherited from class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor

        ancestorStack, isPrefixMatch, lastMultiLevelWildcardIndexOfMatchedNode, nextMatchedNode, nodes, patternIndexOfMatchedNode, root, shouldVisitSubtree, visitorStack
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaTreeVisitor​(SchemaNode root, org.apache.iotdb.commons.path.PartialPath pathPattern, int limit, int offset, boolean isPrefixMatch)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<R> getAllResult()  
      protected SchemaNode getChild​(SchemaNode parent, java.lang.String childName)  
      protected java.util.Iterator<SchemaNode> getChildrenIterator​(SchemaNode parent)  
      protected boolean isInternalNode​(SchemaNode node)  
      • Methods inherited from class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitorWithLimitOffset

        getNext, getNextOffset, hasNext, next, reset
      • Methods inherited from class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor

        checkIsMatch, checkNameMatch, checkOneLevelWildcardMatch, generateFullPathNodes, generateResult, processFullMatchedNode, processInternalMatchedNode, pushAllChildren, pushSingleChild
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Constructor Detail

      • SchemaTreeVisitor

        public SchemaTreeVisitor​(SchemaNode root,
                                 org.apache.iotdb.commons.path.PartialPath pathPattern,
                                 int limit,
                                 int offset,
                                 boolean isPrefixMatch)
    • Method Detail

      • getAllResult

        public java.util.List<R> getAllResult()
      • isInternalNode

        protected boolean isInternalNode​(SchemaNode node)
        Specified by:
        isInternalNode in class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor<SchemaNode,​R>
      • getChild

        protected SchemaNode getChild​(SchemaNode parent,
                                      java.lang.String childName)
        Specified by:
        getChild in class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor<SchemaNode,​R>
      • getChildrenIterator

        protected java.util.Iterator<SchemaNode> getChildrenIterator​(SchemaNode parent)
        Specified by:
        getChildrenIterator in class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor<SchemaNode,​R>