Interface FullTextVisitor

  • All Known Implementing Classes:
    FullTextVisitor.FullTextVisitorBase

    public interface FullTextVisitor
    A visitor for full-text expressions. This class is abstract because at least one of the methods needs to be implemented to make anything useful, most likely visit(FullTextTerm).
    • Method Detail

      • visit

        boolean visit​(FullTextContains contains)
        Visit an "contains" expression.
        Parameters:
        contains - the "contains" expression
        Returns:
        true if visiting should continue
      • visit

        boolean visit​(FullTextAnd and)
        Visit an "and" expression.
        Parameters:
        and - the "and" expression
        Returns:
        true if visiting should continue
      • visit

        boolean visit​(FullTextOr or)
        Visit an "or" expression.
        Parameters:
        or - the "or" expression
        Returns:
        true if visiting should continue
      • visit

        boolean visit​(FullTextTerm term)
        Visit a term
        Parameters:
        term - the term
        Returns:
        true if visiting should continue