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>

public class IsNotNull<T> extends AbstractNoValueCondition<T>
  • Constructor Details

    • IsNotNull

      public IsNotNull()
  • Method Details

    • empty

      public static <T> IsNotNull<T> empty()
    • operator

      public String operator()
      Specified by:
      operator in class AbstractNoValueCondition<T>
    • filter

      public <S> IsNotNull<S> filter(BooleanSupplier booleanSupplier)
      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.