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 Summary
Constructors Constructor Description AstVisitorBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanvisit(AndImpl node)Calls accept on each of the attached constraints of the AND node.booleanvisit(CoalesceImpl node)Calls accept on the dynamic operand in the coalesce node.booleanvisit(ComparisonImpl node)Calls accept on the two operands in the comparison node.booleanvisit(FirstImpl node)Calls accept on the dynamic operand in the first node.booleanvisit(FullTextSearchImpl node)Calls accept on the static operand in the fulltext search constraint.booleanvisit(InImpl node)Calls accept on the all operands in the "in" node.booleanvisit(JoinImpl node)Calls accept on the two sources and the join condition in the join node.booleanvisit(LengthImpl node)Calls accept on the property value in the length node.booleanvisit(LowerCaseImpl node)Calls accept on the dynamic operand in the lower-case node.booleanvisit(NativeFunctionImpl node)Calls accept on the static operand in the native search constraint.booleanvisit(NotImpl node)Calls accept on the constraint in the NOT node.booleanvisit(OrderingImpl node)Calls accept on the dynamic operand in the ordering node.booleanvisit(OrImpl node)Calls accept on each of the attached constraints of the OR node.booleanvisit(SimilarImpl node)Calls accept on the static operand in the similar search constraint.booleanvisit(SpellcheckImpl node)Calls accept on the static operand in the spellcheck search constraint.booleanvisit(SuggestImpl node)Calls accept on the static operand in the suggest search constraint.booleanvisit(UpperCaseImpl node)Calls accept on the dynamic operand in the lower-case node.voidvisit(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:
visitin interfaceAstVisitor
-
visit
public boolean visit(ComparisonImpl node)
Calls accept on the two operands in the comparison node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(InImpl node)
Calls accept on the all operands in the "in" node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(FullTextSearchImpl node)
Calls accept on the static operand in the fulltext search constraint.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(NativeFunctionImpl node)
Calls accept on the static operand in the native search constraint.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(SimilarImpl node)
Calls accept on the static operand in the similar search constraint.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(SpellcheckImpl node)
Calls accept on the static operand in the spellcheck search constraint.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(SuggestImpl node)
Calls accept on the static operand in the suggest search constraint.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(JoinImpl node)
Calls accept on the two sources and the join condition in the join node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(LengthImpl node)
Calls accept on the property value in the length node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(LowerCaseImpl node)
Calls accept on the dynamic operand in the lower-case node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(CoalesceImpl node)
Calls accept on the dynamic operand in the coalesce node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(FirstImpl node)
Calls accept on the dynamic operand in the first node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(NotImpl node)
Calls accept on the constraint in the NOT node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(OrderingImpl node)
Calls accept on the dynamic operand in the ordering node.- Specified by:
visitin interfaceAstVisitor
-
visit
public boolean visit(OrImpl node)
Calls accept on each of the attached constraints of the OR node.- Specified by:
visitin 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:
visitin interfaceAstVisitor
-
-