Class IsNotInCaseInsensitive
java.lang.Object
org.mybatis.dynamic.sql.AbstractListValueCondition<String>
org.mybatis.dynamic.sql.where.condition.IsNotInCaseInsensitive
- All Implemented Interfaces:
VisitableCondition<String>
-
Field Summary
Fields inherited from class org.mybatis.dynamic.sql.AbstractListValueCondition
emptyCallback, values
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
IsNotInCaseInsensitive
(Collection<String> values) protected
IsNotInCaseInsensitive
(Collection<String> values, Callback emptyCallback) Deprecated.in favor of the statement configuration functions -
Method Summary
Modifier and TypeMethodDescriptionstatic IsNotInCaseInsensitive
empty()
If renderable, apply the predicate to each value in the list and return a new condition with the filtered values.map
(UnaryOperator<String> mapper) If renderable, apply the mapping to each value in the list return a new condition with the mapped values.static IsNotInCaseInsensitive
static IsNotInCaseInsensitive
of
(Collection<String> values) renderCondition
(String columnName, Stream<String> placeholders) withListEmptyCallback
(Callback callback) Deprecated.in favor of the statement configuration functionsMethods inherited from class org.mybatis.dynamic.sql.AbstractListValueCondition
accept, filterSupport, mapSupport, mapValues, renderingSkipped, shouldRender
-
Constructor Details
-
IsNotInCaseInsensitive
-
IsNotInCaseInsensitive
Deprecated.in favor of the statement configuration functionsBuild a new instance with a callback.- Parameters:
values
- valuesemptyCallback
- empty callback
-
-
Method Details
-
empty
-
renderCondition
- Specified by:
renderCondition
in classAbstractListValueCondition<String>
-
withListEmptyCallback
Deprecated.in favor of the statement configuration functionsBuild a new instance with a callback.- Specified by:
withListEmptyCallback
in classAbstractListValueCondition<String>
- Parameters:
callback
- a callback function - typically throws an exception to block the statement from executing- Returns:
- this condition
-
filter
Description copied from class:AbstractListValueCondition
If renderable, apply the predicate to each value in the list and return a new condition with the filtered values. Else returns a condition that will not render (this). If all values are filtered out of the value list, then the condition will not render.- Specified by:
filter
in classAbstractListValueCondition<String>
- Parameters:
predicate
- predicate applied to the values, if renderable- Returns:
- a new condition with filtered values if renderable, otherwise a condition that will not render.
-
map
If renderable, apply the mapping to each value in the list return a new condition with the mapped values. Else return a condition that will not render (this).- Parameters:
mapper
- a mapping function to apply to the values, if renderable- Returns:
- a new condition with mapped values if renderable, otherwise a condition that will not render.
-
of
-
of
-