Class SimpleItemFilterProcessor<T,P extends com.querydsl.core.types.Path<T>>
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemFilterProcessor<O>
-
- com.evolveum.midpoint.repo.sqlbase.filtering.item.SinglePathItemFilterProcessor<PropertyValueFilter<T>,P>
-
- com.evolveum.midpoint.repo.sqlbase.filtering.item.SimpleItemFilterProcessor<T,P>
-
- All Implemented Interfaces:
FilterProcessor<PropertyValueFilter<T>>
public class SimpleItemFilterProcessor<T,P extends com.querydsl.core.types.Path<T>> extends SinglePathItemFilterProcessor<PropertyValueFilter<T>,P>
Filter processor for a single path with straightforward type mapping and no conversions.
-
-
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.ItemFilterProcessor
context
-
-
Constructor Summary
Constructors Constructor Description SimpleItemFilterProcessor(SqlQueryContext<?,?,?> context, Function<com.querydsl.core.types.EntityPath<?>,P> rootToQueryItem)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ItemSqlMapper
booleanMapper(Function<com.querydsl.core.types.EntityPath<?>,com.querydsl.core.types.dsl.BooleanPath> rootToQueryItem)
Returns the mapper creating the boolean filter processor from context.com.querydsl.core.types.Predicate
process(PropertyValueFilter<T> filter)
static ItemSqlMapper
uuidMapper(Function<com.querydsl.core.types.EntityPath<?>,UuidPath> rootToQueryItem)
Returns the mapper creating the OID (UUID) filter processor from context.-
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.filtering.item.ItemFilterProcessor
createBinaryCondition, getSingleValue, isIgnoreCaseFilter, operation, predicateWithNotTreated, singleValuePredicate
-
-
-
-
Constructor Detail
-
SimpleItemFilterProcessor
public SimpleItemFilterProcessor(SqlQueryContext<?,?,?> context, Function<com.querydsl.core.types.EntityPath<?>,P> rootToQueryItem)
-
-
Method Detail
-
booleanMapper
public static ItemSqlMapper booleanMapper(Function<com.querydsl.core.types.EntityPath<?>,com.querydsl.core.types.dsl.BooleanPath> rootToQueryItem)
Returns the mapper creating the boolean filter processor from context.
-
uuidMapper
public static ItemSqlMapper uuidMapper(Function<com.querydsl.core.types.EntityPath<?>,UuidPath> rootToQueryItem)
Returns the mapper creating the OID (UUID) filter processor from context.
-
process
public com.querydsl.core.types.Predicate process(PropertyValueFilter<T> filter) throws QueryException
- Throws:
QueryException
-
-