Module org.jooq
Package org.jooq

Interface FutureResult<R extends Record>

  • All Superinterfaces:

    public interface FutureResult<R extends Record>
    extends Future<Result<R>>
    - 3.2.0 - [#2581] - This type will be removed in jOOQ 4.0
    Fetch results asynchronously.

    This type wraps fetching of records in a Future, such that you can access the actual records at a future instant. This is especially useful when

    • You want to load heavy data in the background, for instance when the user logs in and accesses a pre-calculated dashboard screen, before they access the heavy data.
    • You want to parallelise several independent OLAP queries before merging all data into a single report
    • ...