Class AstVisitorBase
- java.lang.Object
-
- org.apache.jackrabbit.oak.query.ast.AstVisitorBase
-
- All Implemented Interfaces:
AstVisitor
public abstract class AstVisitorBase extends java.lang.Object implements AstVisitor
The base class to visit all elements.
-
-
Constructor Summary
Constructors Constructor Description AstVisitorBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
visit(AndImpl node)
Calls accept on each of the attached constraints of the AND node.boolean
visit(CoalesceImpl node)
Calls accept on the dynamic operand in the coalesce node.boolean
visit(ComparisonImpl node)
Calls accept on the two operands in the comparison node.boolean
visit(FirstImpl node)
Calls accept on the dynamic operand in the first node.boolean
visit(FullTextSearchImpl node)
Calls accept on the static operand in the fulltext search constraint.boolean
visit(InImpl node)
Calls accept on the all operands in the "in" node.boolean
visit(JoinImpl node)
Calls accept on the two sources and the join condition in the join node.boolean
visit(LengthImpl node)
Calls accept on the property value in the length node.boolean
visit(LowerCaseImpl node)
Calls accept on the dynamic operand in the lower-case node.boolean
visit(NativeFunctionImpl node)
Calls accept on the static operand in the native search constraint.boolean
visit(NotImpl node)
Calls accept on the constraint in the NOT node.boolean
visit(OrderingImpl node)
Calls accept on the dynamic operand in the ordering node.boolean
visit(OrImpl node)
Calls accept on each of the attached constraints of the OR node.boolean
visit(SimilarImpl node)
Calls accept on the static operand in the similar search constraint.boolean
visit(SpellcheckImpl node)
Calls accept on the static operand in the spellcheck search constraint.boolean
visit(SuggestImpl node)
Calls accept on the static operand in the suggest search constraint.boolean
visit(UpperCaseImpl node)
Calls accept on the dynamic operand in the lower-case node.void
visit(QueryImpl query)
Calls accept on the following contained QOM nodes: Source Constraints Orderings Columns
-
-
-
Method Detail
-
visit
public boolean visit(AndImpl node)
Calls accept on each of the attached constraints of the AND node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(ComparisonImpl node)
Calls accept on the two operands in the comparison node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(InImpl node)
Calls accept on the all operands in the "in" node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(FullTextSearchImpl node)
Calls accept on the static operand in the fulltext search constraint.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(NativeFunctionImpl node)
Calls accept on the static operand in the native search constraint.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(SimilarImpl node)
Calls accept on the static operand in the similar search constraint.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(SpellcheckImpl node)
Calls accept on the static operand in the spellcheck search constraint.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(SuggestImpl node)
Calls accept on the static operand in the suggest search constraint.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(JoinImpl node)
Calls accept on the two sources and the join condition in the join node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(LengthImpl node)
Calls accept on the property value in the length node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(LowerCaseImpl node)
Calls accept on the dynamic operand in the lower-case node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(CoalesceImpl node)
Calls accept on the dynamic operand in the coalesce node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(FirstImpl node)
Calls accept on the dynamic operand in the first node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(NotImpl node)
Calls accept on the constraint in the NOT node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(OrderingImpl node)
Calls accept on the dynamic operand in the ordering node.- Specified by:
visit
in interfaceAstVisitor
-
visit
public boolean visit(OrImpl node)
Calls accept on each of the attached constraints of the OR node.- Specified by:
visit
in interfaceAstVisitor
-
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 interfaceAstVisitor
-
-