Interface StringTerm
- All Superinterfaces:
QueryTerm
A term for a String query.
-
Method Summary
Modifier and TypeMethodDescriptionGets the string in the term.Gets the string match type in the term.Methods inherited from interface QueryTerm
isPositive, isWildcardModifier and TypeMethodDescriptionbooleanTests if this is a positive or negative term.booleanTests if this term is a wildcard.
-
Method Details
-
getString
String getString()Gets the string in the term.- Returns:
- the string
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-
getStringMatchType
Type getStringMatchType()Gets the string match type in the term.- Returns:
- the string match type
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-