Class FullTextVisitor.FullTextVisitorBase
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.query.fulltext.FullTextVisitor.FullTextVisitorBase
-
- All Implemented Interfaces:
FullTextVisitor
- Enclosing interface:
- FullTextVisitor
public abstract static class FullTextVisitor.FullTextVisitorBase extends Object implements FullTextVisitor
The base implementation of a full-text visitor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.spi.query.fulltext.FullTextVisitor
FullTextVisitor.FullTextVisitorBase
-
-
Constructor Summary
Constructors Constructor Description FullTextVisitorBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
visit(FullTextAnd and)
Visit an "and" expression.boolean
visit(FullTextContains contains)
Visit an "contains" expression.boolean
visit(FullTextOr or)
Visit an "or" expression.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.spi.query.fulltext.FullTextVisitor
visit
-
-
-
-
Method Detail
-
visit
public boolean visit(FullTextContains contains)
Description copied from interface:FullTextVisitor
Visit an "contains" expression.- Specified by:
visit
in interfaceFullTextVisitor
- Parameters:
contains
- the "contains" expression- Returns:
- true if visiting should continue
-
visit
public boolean visit(FullTextAnd and)
Description copied from interface:FullTextVisitor
Visit an "and" expression.- Specified by:
visit
in interfaceFullTextVisitor
- Parameters:
and
- the "and" expression- Returns:
- true if visiting should continue
-
visit
public boolean visit(FullTextOr or)
Description copied from interface:FullTextVisitor
Visit an "or" expression.- Specified by:
visit
in interfaceFullTextVisitor
- Parameters:
or
- the "or" expression- Returns:
- true if visiting should continue
-
-