public static class FullTextSearch.Conjunction extends FullTextSearch.CompoundTerm
FullTextSearch.Term
s that are ANDed together.Constructor and Description |
---|
FullTextSearch.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() |
public FullTextSearch.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-2014 JBoss, a division of Red Hat. All Rights Reserved.