Interface QueryTreeVisitor<T extends QueryTreeContext<T>>

  • Type Parameters:
    T - the type of the context object accompanying visited tree nodes.

    public interface QueryTreeVisitor<T extends QueryTreeContext<T>>
    Defines an interface of the visitor invoked by the walker.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void visitConjunction​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a conjunction (logical and) of conditions.
      void visitContains​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents that a field must contain a value.
      void visitDisjunction​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a disjunction (logical or) of conditions.
      void visitEqual​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents that a field value must be greater than or equal to some specified value.
      void visitFunction​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a function computed on some arguments.
      void visitFuzzy​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a text field that is subject to query rewrite.
      void visitGlobal​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a global field.
      void visitGreaterOrEqual​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents an inequality between a field and value.
      void visitGreaterThan​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents that a field value must be greater than some specified value.
      void visitLessOrEqual​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents that a field value must be less than or equal to some specified value.
      void visitLessThan​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents that a field value must be less than some specified value.
      void visitLiteral​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a text field that must not be altered.
      void visitNegation​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a negation of conditions.
      void visitOther​(org.antlr.runtime.tree.Tree node, T context)
      Catch-all method for future type of query nodes.
      void visitSequence​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a sequence of expressions.
      void visitValue​(org.antlr.runtime.tree.Tree node, T context)
      Visits a node that represents a constant value.
    • Method Detail

      • visitSequence

        void visitSequence​(org.antlr.runtime.tree.Tree node,
                           T context)
        Visits a node that represents a sequence of expressions.
      • visitConjunction

        void visitConjunction​(org.antlr.runtime.tree.Tree node,
                              T context)
        Visits a node that represents a conjunction (logical and) of conditions.
      • visitDisjunction

        void visitDisjunction​(org.antlr.runtime.tree.Tree node,
                              T context)
        Visits a node that represents a disjunction (logical or) of conditions.
      • visitNegation

        void visitNegation​(org.antlr.runtime.tree.Tree node,
                           T context)
        Visits a node that represents a negation of conditions.
      • visitFuzzy

        void visitFuzzy​(org.antlr.runtime.tree.Tree node,
                        T context)
        Visits a node that represents a text field that is subject to query rewrite.
      • visitLiteral

        void visitLiteral​(org.antlr.runtime.tree.Tree node,
                          T context)
        Visits a node that represents a text field that must not be altered.
      • visitLessThan

        void visitLessThan​(org.antlr.runtime.tree.Tree node,
                           T context)
        Visits a node that represents that a field value must be less than some specified value.
      • visitLessOrEqual

        void visitLessOrEqual​(org.antlr.runtime.tree.Tree node,
                              T context)
        Visits a node that represents that a field value must be less than or equal to some specified value.
      • visitGreaterThan

        void visitGreaterThan​(org.antlr.runtime.tree.Tree node,
                              T context)
        Visits a node that represents that a field value must be greater than some specified value.
      • visitGreaterOrEqual

        void visitGreaterOrEqual​(org.antlr.runtime.tree.Tree node,
                                 T context)
        Visits a node that represents an inequality between a field and value.
      • visitEqual

        void visitEqual​(org.antlr.runtime.tree.Tree node,
                        T context)
        Visits a node that represents that a field value must be greater than or equal to some specified value.
      • visitContains

        void visitContains​(org.antlr.runtime.tree.Tree node,
                           T context)
        Visits a node that represents that a field must contain a value.
      • visitValue

        void visitValue​(org.antlr.runtime.tree.Tree node,
                        T context)
        Visits a node that represents a constant value.
      • visitFunction

        void visitFunction​(org.antlr.runtime.tree.Tree node,
                           T context)
        Visits a node that represents a function computed on some arguments.
      • visitGlobal

        void visitGlobal​(org.antlr.runtime.tree.Tree node,
                         T context)
        Visits a node that represents a global field.
      • visitOther

        void visitOther​(org.antlr.runtime.tree.Tree node,
                        T context)
        Catch-all method for future type of query nodes.