Interface DistanceRangeTerm
- All Superinterfaces:
QueryTerm
A term for a Distance range query.
-
Method Summary
Modifier and TypeMethodDescriptionGets the end of theDistancerange in this term.Gets the start of theDistancerange 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
-
getDistanceRangeStart
Distance getDistanceRangeStart()Gets the start of theDistancerange in this term.- Returns:
- the distance start
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-
getDistanceRangeEnd
Distance getDistanceRangeEnd()Gets the end of theDistancerange in this term.- Returns:
- the distance end
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-