Class IsInCaseInsensitive
java.lang.Object
org.mybatis.dynamic.sql.AbstractListValueCondition<String>
org.mybatis.dynamic.sql.where.condition.IsInCaseInsensitive
- All Implemented Interfaces:
VisitableCondition<String>,CaseInsensitiveVisitableCondition
public class IsInCaseInsensitive
extends AbstractListValueCondition<String>
implements CaseInsensitiveVisitableCondition
-
Field Summary
Fields inherited from class org.mybatis.dynamic.sql.AbstractListValueCondition
values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IsInCaseInsensitiveempty()If not empty, apply the predicate to each value in the list and return a new condition with the filtered values.map(UnaryOperator<String> mapper) If not empty, apply the mapping to each value in the list return a new condition with the mapped values.static IsInCaseInsensitivestatic IsInCaseInsensitiveof(Collection<String> values) operator()booleanshouldRender(RenderingContext renderingContext) Subclasses can override this to inform the renderer if the condition should not be included in the rendered SQL.Methods inherited from class org.mybatis.dynamic.sql.AbstractListValueCondition
accept, filterSupport, isEmpty, mapSupport, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mybatis.dynamic.sql.where.condition.CaseInsensitiveVisitableCondition
overrideRenderedLeftColumnMethods inherited from interface org.mybatis.dynamic.sql.VisitableCondition
accept, isEmpty, renderingSkipped
-
Constructor Details
-
IsInCaseInsensitive
-
-
Method Details
-
empty
-
shouldRender
Description copied from interface:VisitableConditionSubclasses can override this to inform the renderer if the condition should not be included in the rendered SQL. Typically, conditions will not render if they are empty.- Specified by:
shouldRenderin interfaceVisitableCondition<String>- Returns:
- true if the condition should render.
-
operator
- Specified by:
operatorin classAbstractListValueCondition<String>
-
filter
Description copied from class:AbstractListValueConditionIf not empty, apply the predicate to each value in the list and return a new condition with the filtered values. Else returns an empty condition (this).- Specified by:
filterin classAbstractListValueCondition<String>- Parameters:
predicate- predicate applied to the values, if not empty- Returns:
- a new condition with filtered values if renderable, otherwise an empty condition
-
map
If not empty, apply the mapping to each value in the list return a new condition with the mapped values. Else return an empty condition (this).- Parameters:
mapper- a mapping function to apply to the values, if not empty- Returns:
- a new condition with mapped values if renderable, otherwise an empty condition
-
of
-
of
-