- 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.
A
RecordHandler
is a handler that can receive Record
objects, when fetching data from the database.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Deprecated, for removal: This API element is subject to removal in a future version.void
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.
-
Method Details
-
next
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
Deprecated, for removal: This API element is subject to removal in a future version.
-
Iterable.forEach(Consumer)
based methods, instead.