Class SinglePathItemFilterProcessor<T,P extends com.querydsl.core.types.Path<?>>
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor<PropertyValueFilter<T>>
com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor<T,P>
- Type Parameters:
T
- type parameter of processedPropertyValueFilter
P
- type of the Querydsl path
- All Implemented Interfaces:
FilterProcessor<PropertyValueFilter<T>>
,RightHandProcessor
- Direct Known Subclasses:
ArrayPathItemFilterProcessor
,AuditPropertiesItemFilterProcessor
,CanonicalItemPathItemFilterProcessor
,EnumItemFilterProcessor
,EnumOrdinalItemFilterProcessor
,JsonbPolysPathItemFilterProcessor
,SimpleItemFilterProcessor
,TimestampItemFilterProcessor
,TypeQNameItemFilterProcessor
,UriItemFilterProcessor
,UuidItemFilterProcessor
public abstract class SinglePathItemFilterProcessor<T,P extends com.querydsl.core.types.Path<?>>
extends ItemValueFilterProcessor<PropertyValueFilter<T>>
Item filter processor related to one table column represented by the
path
.
The path is typically obtained from query context using the provided mapping function.
The same function is also called "primary mapping" and used for ordering (if possible).
Single-path does not mean single value - although normally used for single-value properties,
multi-values can be represented in DB by array or JSOBN columns too.-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
context
-
Constructor Summary
ConstructorDescriptionSinglePathItemFilterProcessor
(SqlQueryContext<?, Q, R> context, Function<Q, P> rootToQueryItem) -
Method Summary
Modifier and TypeMethodDescriptioncom.querydsl.core.types.Expression<?>
rightHand
(ValueFilter<?, ?> filter) Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
createBinaryCondition, createUnsupportedMatchingRuleException, createUnsupportedMatchingRuleException, fuzzyStringPredicate, getSingleValue, isIgnoreCaseFilter, operation, predicateWithNotTreated, singleValuePredicate, singleValuePredicateWithNotTreated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.repo.sqlbase.filtering.FilterProcessor
process, process
-
Field Details
-
path
-
-
Constructor Details
-
SinglePathItemFilterProcessor
-
-
Method Details
-
rightHand
public com.querydsl.core.types.Expression<?> rightHand(ValueFilter<?, ?> filter) throws RepositoryException- Specified by:
rightHand
in interfaceRightHandProcessor
- Overrides:
rightHand
in classItemValueFilterProcessor<PropertyValueFilter<T>>
- Throws:
RepositoryException
-