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 |
|---|
FullTextSearch.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 FullTextSearch.NegationTerm(FullTextSearch.Term negatedTerm)
public FullTextSearch.Term getNegatedTerm()
public boolean matches(String value)
FullTextSearch.Termmatches in interface FullTextSearch.Termvalue - a non-null stringtrue if the term matches the value, false otherwiseCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.