Class CanonicalItemPathItemFilterProcessor
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor<PropertyValueFilter<T>>
com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor<ItemPathType,com.querydsl.core.types.dsl.StringPath>
com.evolveum.midpoint.repo.sqlbase.filtering.item.CanonicalItemPathItemFilterProcessor
- All Implemented Interfaces:
FilterProcessor<PropertyValueFilter<ItemPathType>>,RightHandProcessor
public class CanonicalItemPathItemFilterProcessor
extends SinglePathItemFilterProcessor<ItemPathType,com.querydsl.core.types.dsl.StringPath>
Filter processor for an
ItemPathType attribute path (Prism item)
with canonicalization of the path before using it as a value for condition.- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic <Q extends FlexibleRelationalPathBase<R>,R>
ItemSqlMapper<Q,R> Returns the mapper creating the item path filter processor from the context.com.querydsl.core.types.Predicateprocess(PropertyValueFilter<ItemPathType> filter) 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, singleValuePredicateWithNotTreatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.sqlbase.filtering.FilterProcessor
process
-
Method Details
-
mapper
public static <Q extends FlexibleRelationalPathBase<R>,R> ItemSqlMapper<Q,R> mapper(Function<Q, com.querydsl.core.types.dsl.StringPath> rootToQueryItem) Returns the mapper creating the item path filter processor from the context.- Type Parameters:
Q- entity query type of the mappingR- row type related to theCanonicalItemPathItemFilterProcessor
-
process
public com.querydsl.core.types.Predicate process(PropertyValueFilter<ItemPathType> filter) throws QueryException - Throws:
QueryException
-