Interface DistanceRangeTerm

All Superinterfaces:
QueryTerm

public interface DistanceRangeTerm extends QueryTerm

A term for a Distance range query.

  • Method Details

    • getDistanceRangeStart

      Distance getDistanceRangeStart()
      Gets the start of the Distance range in this term.
      Returns:
      the distance start
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.
    • getDistanceRangeEnd

      Distance getDistanceRangeEnd()
      Gets the end of the Distance range in this term.
      Returns:
      the distance end
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.