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
Constructors Constructor Description UriItemFilterProcessor(SqlQueryContext<?,Q,R> context, Function<Q,com.querydsl.core.types.dsl.NumberPath<Integer>> rootToPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, 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 Detail
-
UriItemFilterProcessor
public UriItemFilterProcessor(SqlQueryContext<?,Q,R> context, Function<Q,com.querydsl.core.types.dsl.NumberPath<Integer>> rootToPath)
-
-
Method Detail
-
process
public com.querydsl.core.types.Predicate process(PropertyValueFilter<Object> filter) throws QueryException
- Throws:
QueryException
-
operation
protected FilterOperation operation(ValueFilter<?,?> filter) throws QueryException
- Overrides:
operation
in classItemValueFilterProcessor<PropertyValueFilter<Object>>
- Throws:
QueryException
-
-