Class FullTextTerm

    • Constructor Detail

      • FullTextTerm

        public FullTextTerm​(java.lang.String propertyName,
                            FullTextTerm copy)
      • FullTextTerm

        public FullTextTerm​(java.lang.String propertyName,
                            java.lang.String text,
                            boolean not,
                            boolean escaped,
                            java.lang.String boost)
    • Method Detail

      • isFullTextCharacter

        public static boolean isFullTextCharacter​(char c)
        Whether or not the given character is part of a full-text term that should be indexed. Not indexed are punctuation, control characters such as tab, See also Unicode Categories.
        Parameters:
        c - the character
        Returns:
        true if the character should be indexed
      • evaluate

        public boolean evaluate​(java.lang.String value)
        Description copied from class: FullTextExpression
        Evaluate whether the value matches the condition.
        Specified by:
        evaluate in class FullTextExpression
        Parameters:
        value - the value
        Returns:
        true if it matches
      • getPropertyName

        public java.lang.String getPropertyName()
      • getBoost

        public java.lang.String getBoost()
      • getText

        public java.lang.String getText()
      • accept

        public boolean accept​(FullTextVisitor v)
        Description copied from class: FullTextExpression
        Let the expression call the applicable visit method of the visitor.
        Specified by:
        accept in class FullTextExpression
        Parameters:
        v - the visitor
        Returns:
        true if the visit method returned true