Interface CardinalRangeTerm

All Superinterfaces:
QueryTerm

public interface CardinalRangeTerm extends QueryTerm

A term for a cardinal range query.

  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the end of the cardinal range in the term.
    long
    Gets the start of the cardinal range in the 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

    • getCardinalRangeStart

      long getCardinalRangeStart()
      Gets the start of the cardinal range in the term.
      Returns:
      the cardinal start
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCardinalRangeEnd

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