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 processedPropertyValueFilterP- type of the Querydsl path
- All Implemented Interfaces:
FilterProcessor<PropertyValueFilter<T>>,RightHandProcessor
- Direct Known Subclasses:
CanonicalItemPathItemFilterProcessor,EnumItemFilterProcessor,EnumOrdinalItemFilterProcessor,SimpleItemFilterProcessor,TimestampItemFilterProcessor
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 thepath. 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 Modifier and Type Field Description protected Ppath-
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
context
-
-
Constructor Summary
Constructors Constructor Description SinglePathItemFilterProcessor(SqlQueryContext<?,Q,R> context, Function<Q,P> rootToQueryItem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.querydsl.core.types.Expression<?>rightHand(ValueFilter<?,?> filter)-
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemValueFilterProcessor
createBinaryCondition, 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 Detail
-
path
protected final P extends com.querydsl.core.types.Path<?> path
-
-
Constructor Detail
-
SinglePathItemFilterProcessor
public SinglePathItemFilterProcessor(SqlQueryContext<?,Q,R> context, Function<Q,P> rootToQueryItem)
-
-
Method Detail
-
rightHand
public com.querydsl.core.types.Expression<?> rightHand(ValueFilter<?,?> filter) throws RepositoryException
- Specified by:
rightHandin interfaceRightHandProcessor- Overrides:
rightHandin classItemValueFilterProcessor<PropertyValueFilter<T>>- Throws:
RepositoryException
-
-