public static class FullTextSearch.Conjunction extends FullTextSearch.CompoundTerm
FullTextSearch.Term
s 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Conjunction(List<FullTextSearch.Term> terms)
terms
- the terms to be ANDed together; may not be null or emptypublic boolean matches(String value)
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.