Interface DistanceTerm
- All Superinterfaces:
QueryTerm
A term for a Distance query.
-
Method Summary
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
-
getDistance
Distance getDistance()Gets theDistancein this term.- Returns:
- the distance
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-