Class IsNotIn<T>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IsNotIn​(java.util.Collection<T> values)  
      protected IsNotIn​(java.util.Collection<T> values, java.util.function.UnaryOperator<java.util.stream.Stream<T>> valueStreamTransformer)  
    • Method Summary

      Modifier and Type Method Description
      static <T> IsNotIn<T> of​(java.util.Collection<T> values)  
      java.lang.String renderCondition​(java.lang.String columnName, java.util.stream.Stream<java.lang.String> placeholders)  
      IsNotIn<T> then​(java.util.function.UnaryOperator<java.util.stream.Stream<T>> valueStreamTransformer)
      This method allows you to modify the condition's values before they are placed into the parameter map.
      IsNotIn<T> withValueStreamOperations​(java.util.function.UnaryOperator<java.util.stream.Stream<T>> valueStreamTransformer)
      Deprecated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IsNotIn

        protected IsNotIn​(java.util.Collection<T> values,
                          java.util.function.UnaryOperator<java.util.stream.Stream<T>> valueStreamTransformer)
      • IsNotIn

        protected IsNotIn​(java.util.Collection<T> values)
    • Method Detail

      • renderCondition

        public java.lang.String renderCondition​(java.lang.String columnName,
                                                java.util.stream.Stream<java.lang.String> placeholders)
        Specified by:
        renderCondition in class AbstractListValueCondition<T>
      • then

        public IsNotIn<T> then​(java.util.function.UnaryOperator<java.util.stream.Stream<T>> valueStreamTransformer)
        This method allows you to modify the condition's values before they are placed into the parameter map. For example, you could filter nulls, or trim strings, etc. This process will run before final rendering of SQL. If you filter values out of the stream, then final condition will not reference those values. If you filter all values out of the stream, then the condition will not render.
        Parameters:
        valueStreamTransformer - a UnaryOperator that will transform the value stream before the values are placed in the parameter map
        Returns:
        new condition with the specified transformer
      • withValueStreamOperations

        @Deprecated
        public IsNotIn<T> withValueStreamOperations​(java.util.function.UnaryOperator<java.util.stream.Stream<T>> valueStreamTransformer)
        Deprecated.
        This method allows you to modify the condition's values before they are placed into the parameter map. For example, you could filter nulls, or trim strings, etc. This process will run before final rendering of SQL. If you filter values out of the stream, then final condition will not reference those values. If you filter all values out of the stream, then the condition will not render.
        Parameters:
        valueStreamTransformer - a UnaryOperator that will transform the value stream before the values are placed in the parameter map
        Returns:
        new condition with the specified transformer
      • of

        public static <T> IsNotIn<T> of​(java.util.Collection<T> values)