public static class FullTextSearch.Disjunction extends FullTextSearch.CompoundTerm
FullTextSearch.Term
s that are ORed together.Constructor and Description |
---|
Disjunction(List<FullTextSearch.Term> terms)
Create a disjunction 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 Disjunction(List<FullTextSearch.Term> terms)
terms
- the terms to be ORed 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.