Interface IntegerRangeTerm
- All Superinterfaces:
QueryTerm
A term for an Integer query.
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the end of theIntegerrange in this term.longGets the start of theIntegerrange in this 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
-
getIntegerRangeStart
long getIntegerRangeStart()Gets the start of theIntegerrange in this term.- Returns:
- the integer start
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-
getIntegerRangeEnd
long getIntegerRangeEnd()Gets the end of theIntegerrange in this term.- Returns:
- the integer end
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-