Interface TimeRangeTerm
- All Superinterfaces:
QueryTerm
A term for a Time range query.
-
Method Summary
Modifier and TypeMethodDescriptionGets the end of the time range in the term.Gets thestart of the time range in the term.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
-
getTimeRangeStart
Time getTimeRangeStart()Gets thestart of the time range in the term.- Returns:
- the time
- Throws:
IllegalStateException-isWildcard()istrue- 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()istrue- Compliance:
mandatory- This method must be implemented.
-