Class IsNotIn<T>

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

  • Constructor Details

  • Method Details

    • empty

      public static <T> IsNotIn<T> empty()
    • shouldRender

      public boolean shouldRender(RenderingContext renderingContext)
      Description copied from interface: RenderableCondition
      Subclasses can override this to inform the renderer if the condition should not be included in the rendered SQL. Typically, conditions will not render if they are empty.
      Specified by:
      shouldRender in interface RenderableCondition<T>
      Returns:
      true if the condition should render.
    • operator

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

      public IsNotIn<T> filter(Predicate<? super @NonNull T> predicate)
      Description copied from interface: AbstractListValueCondition.Filterable
      If renderable and the value matches the predicate, returns this condition. Else returns a condition that will not render.
      Specified by:
      filter in interface AbstractListValueCondition.Filterable<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

      public <R> IsNotIn<R> map(Function<? super @NonNull T,? extends @NonNull R> mapper)
      Description copied from interface: AbstractListValueCondition.Mappable
      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).
      Specified by:
      map in interface AbstractListValueCondition.Mappable<T>
      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.
    • of

      @SafeVarargs public static <T> IsNotIn<T> of(T... values)
    • of

      public static <T> IsNotIn<T> of(Collection<T> values)