Class IsNotBetween<T>

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

public class IsNotBetween<T> extends AbstractTwoValueCondition<T>
  • Constructor Details

    • IsNotBetween

      protected IsNotBetween(T value1, T value2)
  • Method Details

    • empty

      public static <T> IsNotBetween<T> empty()
    • operator1

      public String operator1()
      Specified by:
      operator1 in class AbstractTwoValueCondition<T>
    • operator2

      public String operator2()
      Specified by:
      operator2 in class AbstractTwoValueCondition<T>
    • filter

      public IsNotBetween<T> filter(BiPredicate<? super T,? super T> predicate)
      Description copied from class: AbstractTwoValueCondition
      If renderable and the values match the predicate, returns this condition. Else returns a condition that will not render.
      Specified by:
      filter in class AbstractTwoValueCondition<T>
      Parameters:
      predicate - predicate applied to the values, if renderable
      Returns:
      this condition if renderable and the values match the predicate, otherwise a condition that will not render.
    • filter

      public IsNotBetween<T> filter(Predicate<? super T> predicate)
      Description copied from class: AbstractTwoValueCondition
      If renderable and both values match the predicate, returns this condition. Else returns a condition that will not render. This function implements a short-circuiting test. If the first value does not match the predicate, then the second value will not be tested.
      Specified by:
      filter in class AbstractTwoValueCondition<T>
      Parameters:
      predicate - predicate applied to both values, if renderable
      Returns:
      this condition if renderable and the values match the predicate, otherwise a condition that will not render.
    • map

      public <R> IsNotBetween<R> map(Function<? super T,? extends R> mapper1, Function<? super T,? extends R> mapper2)
      If renderable, apply the mappings to the values and return a new condition with the new values. Else return a condition that will not render (this).
      Type Parameters:
      R - type of the new condition
      Parameters:
      mapper1 - a mapping function to apply to the first value, if renderable
      mapper2 - a mapping function to apply to the second value, if renderable
      Returns:
      a new condition with the result of applying the mappers to the values of this condition, if renderable, otherwise a condition that will not render.
    • map

      public <R> IsNotBetween<R> map(Function<? super T,? extends R> mapper)
      If renderable, apply the mapping to both values and return a new condition with the new values. Else return a condition that will not render (this).
      Type Parameters:
      R - type of the new condition
      Parameters:
      mapper - a mapping function to apply to both values, if renderable
      Returns:
      a new condition with the result of applying the mappers to the values of this condition, if renderable, otherwise a condition that will not render.
    • isNotBetween

      public static <T> IsNotBetween.Builder<T> isNotBetween(T value1)
    • isNotBetweenWhenPresent

      public static <T> IsNotBetween.WhenPresentBuilder<T> isNotBetweenWhenPresent(T value1)