Class IsGreaterThan<T>
java.lang.Object
org.mybatis.dynamic.sql.AbstractSingleValueCondition<T>
org.mybatis.dynamic.sql.where.condition.IsGreaterThan<T>
- All Implemented Interfaces:
VisitableCondition<T>
-
Field Summary
Fields inherited from class org.mybatis.dynamic.sql.AbstractSingleValueCondition
value
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> IsGreaterThan
<T> empty()
If renderable and the value matches the predicate, returns this condition.<R> IsGreaterThan
<R> If renderable, apply the mapping to the value and return a new condition with the new value.static <T> IsGreaterThan
<T> of
(T value) operator()
Methods inherited from class org.mybatis.dynamic.sql.AbstractSingleValueCondition
accept, filterSupport, mapSupport, value
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
isEmpty, overrideRenderedLeftColumn, renderingSkipped, shouldRender
-
Constructor Details
-
IsGreaterThan
-
-
Method Details
-
empty
-
operator
- Specified by:
operator
in classAbstractSingleValueCondition<T>
-
of
-
filter
Description copied from class:AbstractSingleValueCondition
If renderable and the value matches the predicate, returns this condition. Else returns a condition that will not render.- Specified by:
filter
in classAbstractSingleValueCondition<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
If 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).- 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.
-