T - the value type used to create predicatespublic interface TimestampOperand<T> extends BasicOperand<T>
Defines the methods used to build Predicates for timestamp values.
| Modifier and Type | Method and Description |
|---|---|
Predicate |
after(T referenceDate)
Builds a predicate for a
queryParameter > referenceValue comparison. |
Predicate |
afterOrEq(T referenceDate)
Builds a predicate for a
queryParameter >= referenceValue comparison. |
Predicate |
before(T referenceDate)
Builds a predicate for a
queryParameter < referenceValue comparison. |
Predicate |
beforeOrEq(T referenceDate)
Builds a predicate for a
queryParameter <= referenceValue comparison. |
Predicate |
between(T startDate,
T endDate)
Builds a predicate for a
queryParameter >= startDate AND queryParameter <= endDate comparison. |
Predicate before(T referenceDate)
Builds a predicate for a queryParameter < referenceValue comparison.
referenceDate - the reference datePredicate beforeOrEq(T referenceDate)
Builds a predicate for a queryParameter <= referenceValue comparison.
referenceDate - the reference datePredicate after(T referenceDate)
Builds a predicate for a queryParameter > referenceValue comparison.
referenceDate - the reference datePredicate afterOrEq(T referenceDate)
Builds a predicate for a queryParameter >= referenceValue comparison.
referenceDate - the reference datePredicate between(T startDate, T endDate)
Builds a predicate for a queryParameter >= startDate AND queryParameter <= endDate comparison.
startDate - the inclusive lower bound of the date rangeendDate - the inclusive upper bound of the date rangeCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.