Interface SQLInStep<NEXT>

Type Parameters:
NEXT - the statement stage available after the list is completed

public interface SQLInStep<NEXT>
An incomplete value list embedded in a fluent comparison stage. The enclosing statement remains incomplete until end() records a non-empty list and returns its normal continuation.
Since:
4.15
Author:
Eike Stepper
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.
  • Method Summary

    Modifier and Type
    Method
    Description
    Appends one expression to the IN value list.
    addAll(Iterable<? extends SQLExpression> values)
    Appends expressions from one traversal of the iterable, preserving its iteration order.
    end()
    Completes the IN comparison and returns the enclosing fluent stage.
  • Method Details

    • add

      Appends one expression to the IN value list.
      Parameters:
      value - the value expression to append
      Returns:
      this active list stage
      Since:
      4.15
    • addAll

      SQLInStep<NEXT> addAll(Iterable<? extends SQLExpression> values)
      Appends expressions from one traversal of the iterable, preserving its iteration order.
      Parameters:
      values - the expressions to append
      Returns:
      this active list stage
      Since:
      4.15
    • end

      NEXT end()
      Completes the IN comparison and returns the enclosing fluent stage.
      Returns:
      the next valid statement stage
      Throws:
      IllegalStateException - if no values have been added or this stage is no longer active
      Since:
      4.15