public class TimestampOperandImpl<T> extends BasicOperandImpl<T,Instant> implements TimestampOperand<T>
Default implementation of the TimestampOperand interface.
BasicOperandImpl.InnerSelectReferenceValue| Constructor and Description | 
|---|
TimestampOperandImpl(QueryParameter queryParameter,
                    ConstructionInterceptor<T,Instant> constructionInterceptor)
Creates a new operand instance. 
 | 
| 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. | 
eq, eq, eq, exists, getQueryParameter, in, in, in, in, in, in, in, isNotNull, isNull, notEq, notIn, notIn, notIn, notIn, notIn, orderAsc, orderDescpublic TimestampOperandImpl(QueryParameter queryParameter, ConstructionInterceptor<T,Instant> constructionInterceptor)
Creates a new operand instance.
queryParameter - the left operand for all predicates to be builtconstructionInterceptor - the interceptor to be invoked upon construction of predicatespublic Predicate before(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter < referenceValue comparison.
before in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate beforeOrEq(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter <= referenceValue comparison.
beforeOrEq in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate after(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter > referenceValue comparison.
after in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate afterOrEq(T referenceDate)
TimestampOperandBuilds a predicate for a queryParameter >= referenceValue comparison.
afterOrEq in interface TimestampOperand<T>referenceDate - the reference datepublic Predicate between(T startDate, T endDate)
TimestampOperandBuilds a predicate for a queryParameter >= startDate AND queryParameter <= endDate comparison.
between in interface TimestampOperand<T>startDate - the inclusive lower bound of the date rangeendDate - the inclusive upper bound of the date rangeCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.