Class AndGatherer<T,R>
- java.lang.Object
-
- org.mybatis.dynamic.sql.where.condition.AndGatherer<T,R>
-
- Type Parameters:
T
- the type of field for the between conditionR
- the type of condition being built
- Direct Known Subclasses:
IsBetween.Builder
,IsBetweenWhenPresent.Builder
,IsNotBetween.Builder
,IsNotBetweenWhenPresent.Builder
public abstract class AndGatherer<T,R> extends java.lang.Object
Utility class supporting the "and" part of a between condition. This class supports builders, so it is mutable.- Author:
- Jeff Butler
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Supplier<T>
valueSupplier1
protected java.util.function.Supplier<T>
valueSupplier2
-
Constructor Summary
Constructors Modifier Constructor Description protected
AndGatherer(java.util.function.Supplier<T> valueSupplier1)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description R
and(java.util.function.Supplier<T> valueSupplier2)
R
and(T value2)
protected abstract R
build()
-
-
-
Constructor Detail
-
AndGatherer
protected AndGatherer(java.util.function.Supplier<T> valueSupplier1)
-
-