Class AstVisitorBase

java.lang.Object
org.apache.jackrabbit.oak.query.ast.AstVisitorBase
All Implemented Interfaces:
AstVisitor

public abstract class AstVisitorBase extends Object implements AstVisitor
The base class to visit all elements.
  • Constructor Details

    • AstVisitorBase

      public AstVisitorBase()
  • Method Details

    • visit

      public boolean visit(AndImpl node)
      Calls accept on each of the attached constraints of the AND node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(ComparisonImpl node)
      Calls accept on the two operands in the comparison node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(InImpl node)
      Calls accept on the all operands in the "in" node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(FullTextSearchImpl node)
      Calls accept on the static operand in the fulltext search constraint.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(NativeFunctionImpl node)
      Calls accept on the static operand in the native search constraint.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(SimilarImpl node)
      Calls accept on the static operand in the similar search constraint.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(SpellcheckImpl node)
      Calls accept on the static operand in the spellcheck search constraint.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(SuggestImpl node)
      Calls accept on the static operand in the suggest search constraint.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(JoinImpl node)
      Calls accept on the two sources and the join condition in the join node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(LengthImpl node)
      Calls accept on the property value in the length node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(LowerCaseImpl node)
      Calls accept on the dynamic operand in the lower-case node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(CoalesceImpl node)
      Calls accept on the dynamic operand in the coalesce node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(FirstImpl node)
      Calls accept on the dynamic operand in the first node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(NotImpl node)
      Calls accept on the constraint in the NOT node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(OrderingImpl node)
      Calls accept on the dynamic operand in the ordering node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public boolean visit(OrImpl node)
      Calls accept on each of the attached constraints of the OR node.
      Specified by:
      visit in interface AstVisitor
    • visit

      public void visit(QueryImpl query)
      Calls accept on the following contained QOM nodes:
      • Source
      • Constraints
      • Orderings
      • Columns
      Parameters:
      query - the query to visit
    • visit

      public boolean visit(UpperCaseImpl node)
      Calls accept on the dynamic operand in the lower-case node.
      Specified by:
      visit in interface AstVisitor