Interface ResultSetRowIndexConsumer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ResultSetRowIndexConsumer
A functional interface that consumes row index information from a ResultSet. This interface is used to track the current row position and state during ResultSet processing.

Implementations of this interface are used by various ResultSet handlers to provide information about the current row being processed and whether there are more rows available.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Long index, Boolean next)
    Accepts the current row index and information about whether there are more rows.
  • Method Details

    • accept

      void accept(Long index, Boolean next)
      Accepts the current row index and information about whether there are more rows.
      Parameters:
      index - the current row index (position) in the ResultSet, can be null
      next - indicates whether there are more rows available in the ResultSet, can be null