public class FullTextContains extends FullTextExpression
PRECEDENCE_AND, PRECEDENCE_OR, PRECEDENCE_TERM
Constructor and Description |
---|
FullTextContains(java.lang.String propertyName,
java.lang.String rawText,
FullTextExpression base) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(FullTextVisitor v)
Let the expression call the applicable visit method of the visitor.
|
boolean |
evaluate(java.lang.String value)
Evaluate whether the value matches the condition.
|
FullTextExpression |
getBase() |
int |
getPrecedence()
Get the operator precedence.
|
java.lang.String |
getPropertyName() |
java.lang.String |
getRawText() |
boolean |
isNot()
Whether the current
FullTextExpression is a NOT condition or not. |
java.lang.String |
toString()
Get the string representation of the condition.
|
equals, hashCode
public FullTextContains(java.lang.String propertyName, java.lang.String rawText, FullTextExpression base)
public int getPrecedence()
FullTextExpression
getPrecedence
in class FullTextExpression
public boolean evaluate(java.lang.String value)
FullTextExpression
evaluate
in class FullTextExpression
value
- the valuepublic java.lang.String toString()
FullTextExpression
toString
in class FullTextExpression
public boolean accept(FullTextVisitor v)
FullTextExpression
accept
in class FullTextExpression
v
- the visitorpublic FullTextExpression getBase()
public java.lang.String getPropertyName()
public java.lang.String getRawText()
public boolean isNot()
FullTextExpression
FullTextExpression
is a NOT
condition or not. Default is
falseisNot
in class FullTextExpression
Copyright © 2010 - 2020 Adobe. All Rights Reserved