public class FullTextContains extends FullTextExpression
PRECEDENCE_AND, PRECEDENCE_OR, PRECEDENCE_TERM
Constructor and Description |
---|
FullTextContains(String propertyName,
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(String value)
Evaluate whether the value matches the condition.
|
FullTextExpression |
getBase() |
int |
getPrecedence()
Get the operator precedence.
|
String |
getPropertyName() |
String |
getRawText() |
boolean |
isNot()
Whether the current
FullTextExpression is a NOT condition or not. |
String |
toString()
Get the string representation of the condition.
|
equals, hashCode
public FullTextContains(String propertyName, String rawText, FullTextExpression base)
public int getPrecedence()
FullTextExpression
getPrecedence
in class FullTextExpression
public boolean evaluate(String value)
FullTextExpression
evaluate
in class FullTextExpression
value
- the valuepublic String toString()
FullTextExpression
toString
in class FullTextExpression
public boolean accept(FullTextVisitor v)
FullTextExpression
accept
in class FullTextExpression
v
- the visitorpublic FullTextExpression getBase()
public String getPropertyName()
public 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