Module org.jooq
Package org.jooq

Interface RecordHandler<R extends Record>

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

@Deprecated(forRemoval=true, since="3.15") @FunctionalInterface public interface RecordHandler<R extends Record> extends Consumer<R>
Deprecated, for removal: This API element is subject to removal in a future version.
- 3.15.0 - [#11902] - Use Iterable.forEach(Consumer) based methods, instead.
A RecordHandler is a handler that can receive Record objects, when fetching data from the database.
Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(R record)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    next(R record)
    Deprecated, for removal: This API element is subject to removal in a future version.
    A callback method indicating that the next record has been fetched.

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Method Details

    • next

      void next(R record)
      Deprecated, for removal: This API element is subject to removal in a future version.
      A callback method indicating that the next record has been fetched.
    • accept

      default void accept(R record)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      accept in interface Consumer<R extends Record>