public abstract class AbstractListValueCondition<T> extends Object implements VisitableCondition<T>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractListValueCondition.AbstractBuilder<T,B extends AbstractListValueCondition.AbstractBuilder<T,B>> |
Modifier | Constructor and Description |
---|---|
protected |
AbstractListValueCondition(AbstractListValueCondition.AbstractBuilder<T,?> builder) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(ConditionVisitor<T,R> visitor) |
protected T |
mapValue(T value)
This method allows subclasses to alter the value before it is placed
into the parameter map.
|
<R> Stream<R> |
mapValues(Function<T,R> mapper) |
abstract String |
renderCondition(String columnName,
Stream<String> placeholders) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldRender
protected AbstractListValueCondition(AbstractListValueCondition.AbstractBuilder<T,?> builder)
public <R> R accept(ConditionVisitor<T,R> visitor)
accept
in interface VisitableCondition<T>
protected T mapValue(T value)
We do not expose the values stream because we cannot allow subclasses to change the order or number of values.
value
- the valueCopyright © 2016–2018 MyBatis.org. All rights reserved.