Interface IntegerRangeTerm

All Superinterfaces:
QueryTerm

public interface IntegerRangeTerm extends QueryTerm

A term for an Integer query.

  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the end of the Integer range in this term.
    long
    Gets the start of the Integer range in this term.

    Methods inherited from interface QueryTerm

    isPositive, isWildcard
    Modifier and Type
    Method
    Description
    boolean
    Tests if this is a positive or negative term.
    boolean
    Tests if this term is a wildcard.
  • Method Details

    • getIntegerRangeStart

      long getIntegerRangeStart()
      Gets the start of the Integer range in this term.
      Returns:
      the integer start
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.
    • getIntegerRangeEnd

      long getIntegerRangeEnd()
      Gets the end of the Integer range in this term.
      Returns:
      the integer end
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.