Class TimestampItemFilterProcessor<T extends Comparable<T>>
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor<PropertyValueFilter<T>>
com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor<Object,com.querydsl.core.types.dsl.DateTimePath<T>>
com.evolveum.midpoint.repo.sqlbase.filtering.item.TimestampItemFilterProcessor<T>
- All Implemented Interfaces:
FilterProcessor<PropertyValueFilter<Object>>,RightHandProcessor
public class TimestampItemFilterProcessor<T extends Comparable<T>>
extends SinglePathItemFilterProcessor<Object,com.querydsl.core.types.dsl.DateTimePath<T>>
Filter processor for an attribute path (Prism item) of a timestamp type.
Should support conversion of filter value types
XMLGregorianCalendar
(what else do we want?) to paths of Instant, Timestamp and Long.-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor
pathFields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
context -
Constructor Summary
ConstructorsConstructorDescriptionTimestampItemFilterProcessor(SqlQueryContext<?, Q, R> context, Function<Q, com.querydsl.core.types.dsl.DateTimePath<T>> rootToQueryItem) -
Method Summary
Modifier and TypeMethodDescriptioncom.querydsl.core.types.Predicateprocess(PropertyValueFilter<Object> filter) com.querydsl.core.types.Predicateprocess(PropertyValueFilter<Object> filter, RightHandProcessor rightPath) Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor
getPath, rightHandMethods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
createBinaryCondition, createUnsupportedMatchingRuleException, createUnsupportedMatchingRuleException, fuzzyStringPredicate, getSingleValue, isIgnoreCaseFilter, operation, predicateWithNotTreated, singleValuePredicate, singleValuePredicateWithNotTreated
-
Constructor Details
-
TimestampItemFilterProcessor
public TimestampItemFilterProcessor(SqlQueryContext<?, Q, R> context, Function<Q, com.querydsl.core.types.dsl.DateTimePath<T>> rootToQueryItem)
-
-
Method Details
-
process
public com.querydsl.core.types.Predicate process(PropertyValueFilter<Object> filter) throws QueryException - Throws:
QueryException
-
process
public com.querydsl.core.types.Predicate process(PropertyValueFilter<Object> filter, RightHandProcessor rightPath) throws RepositoryException - Throws:
RepositoryException
-