Class IsNotEqualTo<T>

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

  • Constructor Details

    • IsNotEqualTo

      protected IsNotEqualTo(T value)
  • Method Details

    • empty

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

      public String operator()
      Specified by:
      operator in class AbstractSingleValueCondition<T>
    • of

      public static <T> IsNotEqualTo<T> of(T value)
    • filter

      public IsNotEqualTo<T> filter(Predicate<? super @NonNull T> predicate)
      Description copied from interface: AbstractSingleValueCondition.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 AbstractSingleValueCondition.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> IsNotEqualTo<R> map(Function<? super @NonNull T,? extends @NonNull R> mapper)
      Description copied from interface: AbstractSingleValueCondition.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 AbstractSingleValueCondition.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.