Class IsNotLike<T>
java.lang.Object
org.mybatis.dynamic.sql.AbstractSingleValueCondition<T>
org.mybatis.dynamic.sql.where.condition.IsNotLike<T>
- All Implemented Interfaces:
AbstractSingleValueCondition.Filterable<T>,AbstractSingleValueCondition.Mappable<T>,RenderableCondition<T>
public class IsNotLike<T>
extends AbstractSingleValueCondition<T>
implements AbstractSingleValueCondition.Filterable<T>, AbstractSingleValueCondition.Mappable<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mybatis.dynamic.sql.AbstractSingleValueCondition
AbstractSingleValueCondition.Filterable<T>, AbstractSingleValueCondition.Mappable<T> -
Field Summary
Fields inherited from class org.mybatis.dynamic.sql.AbstractSingleValueCondition
value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> IsNotLike<T> empty()If renderable and the value matches the predicate, returns this condition.<R> IsNotLike<R> If renderable, apply the mapping to the value and return a new condition with the new value.static <T> IsNotLike<T> of(T value) operator()Methods inherited from class org.mybatis.dynamic.sql.AbstractSingleValueCondition
filterSupport, mapSupport, renderCondition, valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mybatis.dynamic.sql.RenderableCondition
isEmpty, renderingSkipped, renderLeftColumn, shouldRender
-
Constructor Details
-
IsNotLike
-
-
Method Details
-
empty
-
operator
- Specified by:
operatorin classAbstractSingleValueCondition<T>
-
of
-
filter
Description copied from interface:AbstractSingleValueCondition.FilterableIf renderable and the value matches the predicate, returns this condition. Else returns a condition that will not render.- Specified by:
filterin interfaceAbstractSingleValueCondition.Filterable<T>- Parameters:
predicate- predicate applied to the value, if renderable- Returns:
- this condition if renderable and the value matches the predicate, otherwise a condition that will not render.
-
map
Description copied from interface:AbstractSingleValueCondition.MappableIf renderable, apply the mapping to the value and return a new condition with the new value. Else return a condition that will not render (this).- Specified by:
mapin interfaceAbstractSingleValueCondition.Mappable<T>- Type Parameters:
R- type of the new condition- Parameters:
mapper- a mapping function to apply to the value, if renderable- Returns:
- a new condition with the result of applying the mapper to the value of this condition, if renderable, otherwise a condition that will not render.
-