Interface CardinalRangeTerm
- All Superinterfaces:
QueryTerm
A term for a cardinal range query.
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the end of thecardinalrange in the term.longGets the start of thecardinalrange 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
-
getCardinalRangeStart
long getCardinalRangeStart()Gets the start of thecardinalrange in the term.- Returns:
- the cardinal start
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-
getCardinalRangeEnd
long getCardinalRangeEnd()Gets the end of thecardinalrange in the term.- Returns:
- the cardinal end
- Throws:
IllegalStateException-isWildcard()istrue- Compliance:
mandatory- This method must be implemented.
-