Class FullTextContains


  • public class FullTextContains
    extends FullTextExpression
    A group of full-text expressions that reflects a "contains(...)" expression, and allows to access the original (unparsed) full text term.
    • Constructor Detail

      • FullTextContains

        public FullTextContains​(java.lang.String propertyName,
                                java.lang.String rawText,
                                FullTextExpression base)
    • Method Detail

      • 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
      • 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
      • getPropertyName

        public java.lang.String getPropertyName()
      • getRawText

        public java.lang.String getRawText()