Class IsInCaseInsensitive

java.lang.Object
org.mybatis.dynamic.sql.AbstractListValueCondition<String>
org.mybatis.dynamic.sql.where.condition.IsInCaseInsensitive
All Implemented Interfaces:
VisitableCondition<String>, CaseInsensitiveVisitableCondition

public class IsInCaseInsensitive extends AbstractListValueCondition<String> implements CaseInsensitiveVisitableCondition
  • Constructor Details

    • IsInCaseInsensitive

      protected IsInCaseInsensitive(Collection<String> values)
  • Method Details

    • empty

      public static IsInCaseInsensitive empty()
    • operator

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

      public IsInCaseInsensitive filter(Predicate<? super String> predicate)
      Description copied from class: AbstractListValueCondition
      If renderable, apply the predicate to each value in the list and return a new condition with the filtered values. Else returns a condition that will not render (this). If all values are filtered out of the value list, then the condition will not render.
      Specified by:
      filter in class AbstractListValueCondition<String>
      Parameters:
      predicate - predicate applied to the values, if renderable
      Returns:
      a new condition with filtered values if renderable, otherwise a condition that will not render.
    • map

      If renderable, apply the mapping to each value in the list return a new condition with the mapped values. Else return a condition that will not render (this).
      Parameters:
      mapper - a mapping function to apply to the values, if renderable
      Returns:
      a new condition with mapped values if renderable, otherwise a condition that will not render.
    • of

      public static IsInCaseInsensitive of(String... values)
    • of

      public static IsInCaseInsensitive of(Collection<String> values)