Class FilterOperation
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.filtering.item.FilterOperation
This represents operation between the path (typically) and value(s).
In most cases it's just glorified wrapper around Querydsl
Ops value, but for cases
of case-insensitive string comparison (greater/lower than) or IN operations it hides
the complexity of adding "normalizing" operation (lowering the casing) to the both sides.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanTrue ifoperatordoes not solve ignore-case implicitly.final com.querydsl.core.types.Ops -
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue ifoperatoris EQ or EQ_IGNORE_CASE.booleanTrue ifoperatoris EQ.booleanTrue ifoperatorcan be used only on TEXT/VARCHAR.static FilterOperationof(com.querydsl.core.types.Ops ops) static FilterOperationof(com.querydsl.core.types.Ops ops, boolean handleIgnoreCase) com.querydsl.core.types.Expression<?>treatPath(com.querydsl.core.types.Expression<?> expression) com.querydsl.core.types.Expression<?>treatPathForIn(com.querydsl.core.types.Expression<?> expression) treatValue(Object value) List<?>treatValuesForIn(ValueFilterValues<?, ?> values)
-
Field Details
-
operator
public final com.querydsl.core.types.Ops operator -
handleIgnoreCase
public final boolean handleIgnoreCaseTrue ifoperatordoes not solve ignore-case implicitly.
-
-
Method Details
-
of
-
of
-
isEqualOperation
public boolean isEqualOperation()True ifoperatoris EQ. -
isAnyEqualOperation
public boolean isAnyEqualOperation()True ifoperatoris EQ or EQ_IGNORE_CASE. -
isTextOnlyOperation
public boolean isTextOnlyOperation()True ifoperatorcan be used only on TEXT/VARCHAR. Operators that ignore cases or contains/starts/endsWith operators are not supported for numbers, etc. -
treatPath
public com.querydsl.core.types.Expression<?> treatPath(com.querydsl.core.types.Expression<?> expression) -
treatValue
-
treatPathForIn
public com.querydsl.core.types.Expression<?> treatPathForIn(com.querydsl.core.types.Expression<?> expression) -
treatValuesForIn
- Throws:
QueryException
-