Class IsNull<T>

java.lang.Object
org.mybatis.dynamic.sql.AbstractNoValueCondition<T>
org.mybatis.dynamic.sql.where.condition.IsNull<T>
All Implemented Interfaces:
VisitableCondition<T>

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

    • IsNull

      public IsNull()
  • Method Details

    • empty

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

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

      public <S> IsNull<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.