Class SchemaTreeMeasurementVisitor

    • 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
      SchemaTreeMeasurementVisitor​(SchemaNode root, org.apache.iotdb.commons.path.PartialPath pathPattern, int slimit, int soffset, boolean isPrefixMatch)  
    • Constructor Detail

      • SchemaTreeMeasurementVisitor

        public SchemaTreeMeasurementVisitor​(SchemaNode root,
                                            org.apache.iotdb.commons.path.PartialPath pathPattern,
                                            int slimit,
                                            int soffset,
                                            boolean isPrefixMatch)
    • Method Detail

      • checkOneLevelWildcardMatch

        protected boolean checkOneLevelWildcardMatch​(java.lang.String regex,
                                                     SchemaNode node)
        Overrides:
        checkOneLevelWildcardMatch in class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor<SchemaNode,​MeasurementPath>
      • checkNameMatch

        protected boolean checkNameMatch​(java.lang.String targetName,
                                         SchemaNode node)
        Overrides:
        checkNameMatch in class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor<SchemaNode,​MeasurementPath>
      • processInternalMatchedNode

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

        protected boolean processFullMatchedNode​(SchemaNode node)
        Specified by:
        processFullMatchedNode in class org.apache.iotdb.commons.schema.tree.AbstractTreeVisitor<SchemaNode,​MeasurementPath>