Class IsNotNull<T>
java.lang.Object
org.mybatis.dynamic.sql.AbstractNoValueCondition<T>
org.mybatis.dynamic.sql.where.condition.IsNotNull<T>
- All Implemented Interfaces:
VisitableCondition<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> IsNotNull<T>empty()<S> IsNotNull<S>filter(BooleanSupplier booleanSupplier) If renderable and the supplier returns true, returns this condition.renderCondition(String columnName) Methods inherited from class org.mybatis.dynamic.sql.AbstractNoValueCondition
accept, filterSupportMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mybatis.dynamic.sql.VisitableCondition
renderingSkipped, shouldRender
-
Constructor Details
-
IsNotNull
public IsNotNull()
-
-
Method Details
-
empty
-
renderCondition
- Specified by:
renderConditionin classAbstractNoValueCondition<T>
-
filter
If renderable and the supplier returns true, returns this condition. Else returns a condition that will not render.- Type Parameters:
S- condition type - not used except for compilation compliance- Parameters:
booleanSupplier- function that specifies whether the condition should render- Returns:
- this condition if renderable and the supplier returns true, otherwise a condition that will not render.
-