Class AndWhenPresentGatherer<T,R>

java.lang.Object
org.mybatis.dynamic.sql.where.condition.AndWhenPresentGatherer<T,R>
Type Parameters:
T - the type of field for the between condition
R - the type of condition being built
Direct Known Subclasses:
IsBetweenWhenPresent.Builder, IsNotBetweenWhenPresent.Builder

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

    • value1

      protected final @Nullable T value1
  • Constructor Details

    • AndWhenPresentGatherer

      protected AndWhenPresentGatherer(@Nullable T value1)
  • Method Details

    • and

      public R and(@Nullable T value2)
    • and

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

      protected abstract R build(@Nullable T value2)