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 condition
R - the type of condition being built
Direct Known Subclasses:
IsBetween.Builder, IsBetween.WhenPresentBuilder, IsNotBetween.Builder, IsNotBetween.WhenPresentBuilder

public abstract class AndGatherer<T,R> extends Object
Utility class supporting the "and" part of a between condition. This class supports builders, so it is mutable.
Author:
Jeff Butler
  • Field Details

    • value1

      protected final T value1
    • value2

      protected T value2
  • Constructor Details

    • AndGatherer

      protected AndGatherer(T value1)
  • Method Details

    • and

      public R and(T value2)
    • and

      public R and(Supplier<T> valueSupplier2)
    • build

      protected abstract R build()