public static class FullTextSearch.Conjunction extends FullTextSearch.CompoundTerm
FullTextSearch.Terms that are ANDed together.| Constructor and Description |
|---|
Conjunction(List<FullTextSearch.Term> terms)
Create a conjunction of the supplied terms.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String value)
Checks if the term matches (from a FTS perspective) the given value.
|
String |
toString() |
equals, getTerms, hashCode, iterator, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Conjunction(List<FullTextSearch.Term> terms)
terms - the terms to be ANDed together; may not be null or emptypublic boolean matches(String value)
FullTextSearch.Termvalue - a non-null stringtrue if the term matches the value, false otherwiseCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.