public class IsIn<T> extends AbstractListValueCondition<T>
values, valueStreamTransformer| Modifier | Constructor and Description |
|---|---|
protected |
IsIn(Collection<T> values) |
protected |
IsIn(Collection<T> values,
UnaryOperator<Stream<T>> valueStreamTransformer) |
| Modifier and Type | Method and Description |
|---|---|
static <T> IsIn<T> |
of(Collection<T> values) |
String |
renderCondition(String columnName,
Stream<String> placeholders) |
IsIn<T> |
then(UnaryOperator<Stream<T>> valueStreamTransformer)
This method allows you to modify the condition's values before they are placed into the parameter map.
|
accept, mapValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldRenderprotected IsIn(Collection<T> values, UnaryOperator<Stream<T>> valueStreamTransformer)
protected IsIn(Collection<T> values)
public String renderCondition(String columnName, Stream<String> placeholders)
renderCondition in class AbstractListValueCondition<T>public IsIn<T> then(UnaryOperator<Stream<T>> valueStreamTransformer)
valueStreamTransformer - a UnaryOperator that will transform the value stream before
the values are placed in the parameter mappublic static <T> IsIn<T> of(Collection<T> values)
Copyright © 2016–2019 MyBatis.org. All rights reserved.