Interface TimeRangeTerm

All Superinterfaces:
QueryTerm

public interface TimeRangeTerm extends QueryTerm

A term for a Time range query.

  • Method Summary

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

    • getTimeRangeStart

      Time getTimeRangeStart()
      Gets thestart of the time range in the term.
      Returns:
      the time
      Throws:
      IllegalStateException - isWildcard() is true
      Compliance:
      mandatory - This method must be implemented.
    • getTimeRangeEnd

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