Class UriItemFilterProcessor
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.NumberPath<Integer>>
com.evolveum.midpoint.repo.sqale.filtering.UriItemFilterProcessor
- All Implemented Interfaces:
FilterProcessor<PropertyValueFilter<Object>>
,RightHandProcessor
public class UriItemFilterProcessor
extends SinglePathItemFilterProcessor<Object,com.querydsl.core.types.dsl.NumberPath<Integer>>
Filter processor for URI item paths - represented by string/QName in schema and by int ID in DB.
These paths are generally not ordered by, which is a relief, otherwise JOIN would be needed.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor
path
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
context
-
Constructor Summary
ConstructorsConstructorDescriptionUriItemFilterProcessor
(SqlQueryContext<?, Q, R> context, Function<Q, com.querydsl.core.types.dsl.NumberPath<Integer>> rootToPath) -
Method Summary
Modifier and TypeMethodDescriptionprotected FilterOperation
operation
(ValueFilter<?, ?> filter) com.querydsl.core.types.Predicate
process
(PropertyValueFilter<Object> filter) Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor
rightHand
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
createBinaryCondition, createUnsupportedMatchingRuleException, createUnsupportedMatchingRuleException, fuzzyStringPredicate, getSingleValue, isIgnoreCaseFilter, 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
-
Constructor Details
-
UriItemFilterProcessor
public UriItemFilterProcessor(SqlQueryContext<?, Q, R> context, Function<Q, com.querydsl.core.types.dsl.NumberPath<Integer>> rootToPath)
-
-
Method Details
-
process
public com.querydsl.core.types.Predicate process(PropertyValueFilter<Object> filter) throws QueryException - Throws:
QueryException
-
operation
- Overrides:
operation
in classItemValueFilterProcessor<PropertyValueFilter<Object>>
- Throws:
QueryException
-