public static class FullTextSearch.NegationTerm extends Object implements FullTextSearch.Term
FullTextSearch.Term
that represents a search term that requires another term to not appear.Constructor and Description |
---|
NegationTerm(FullTextSearch.Term negatedTerm) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FullTextSearch.Term |
getNegatedTerm()
Get the term that is negated.
|
int |
hashCode() |
boolean |
matches(String value)
Checks if the term matches (from a FTS perspective) the given value.
|
String |
toString() |
public NegationTerm(FullTextSearch.Term negatedTerm)
public FullTextSearch.Term getNegatedTerm()
public boolean matches(String value)
FullTextSearch.Term
matches
in interface FullTextSearch.Term
value
- a non-null stringtrue
if the term matches the value, false
otherwiseCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.