public static class FullTextSearch.SimpleTerm extends Object implements FullTextSearch.Term
FullTextSearch.Term
that represents a single search term. The term may be comprised of multiple words.Constructor and Description |
---|
FullTextSearch.SimpleTerm(String value)
Create a simple term with the value and whether the term is excluded or included.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsWildcards()
Return whether this term contains any unescaped wildcard characters (e.g., one of '*', '?'
|
boolean |
equals(Object obj) |
String |
getValue()
Get the value of this term.
|
String[] |
getValues()
Get the values of this term if the term is quoted.
|
int |
hashCode() |
boolean |
isQuotingRequired()
Get whether this term needs to be quoted because it consists of multiple words.
|
String |
toString() |
public FullTextSearch.SimpleTerm(String value)
value
- the value that makes up the termpublic String getValue()
quotes
.public String[] getValues()
public boolean isQuotingRequired()
public boolean containsWildcards()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.