Class IsNull<T>

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

public class IsNull<T> extends AbstractNoValueCondition<T> implements AbstractNoValueCondition.Filterable
  • 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)
      Description copied from interface: AbstractNoValueCondition.Filterable
      If renderable and the supplier returns true, returns this condition. Else returns a condition that will not render.
      Specified by:
      filter in interface AbstractNoValueCondition.Filterable
      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.