Class IsNotIn<T>
java.lang.Object
org.mybatis.dynamic.sql.AbstractListValueCondition<T>
org.mybatis.dynamic.sql.where.condition.IsNotIn<T>
- All Implemented Interfaces:
VisitableCondition<T>
-
Field Summary
Fields inherited from class org.mybatis.dynamic.sql.AbstractListValueCondition
values
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> IsNotIn
<T> empty()
If not empty, apply the predicate to each value in the list and return a new condition with the filtered values.<R> IsNotIn
<R> If not empty, apply the mapping to each value in the list return a new condition with the mapped values.static <T> IsNotIn
<T> of
(Collection<T> values) static <T> IsNotIn
<T> of
(T... values) operator()
boolean
shouldRender
(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, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mybatis.dynamic.sql.VisitableCondition
overrideRenderedLeftColumn, renderingSkipped
-
Constructor Details
-
IsNotIn
-
-
Method Details
-
empty
-
shouldRender
Description copied from interface:VisitableCondition
Subclasses 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.- Returns:
- true if the condition should render.
-
operator
- Specified by:
operator
in classAbstractListValueCondition<T>
-
filter
Description copied from class:AbstractListValueCondition
If 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:
filter
in classAbstractListValueCondition<T>
- 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).- Type Parameters:
R
- type of the new condition- 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
-