Class GenericConnection<T>

  • All Implemented Interfaces:
    Connection<T>, PageInfo

    @ConsumerType
    public final class GenericConnection<T>
    extends Object
    implements Connection<T>, PageInfo
    As per https://relay.dev/graphql/connections.htm a "connection" is a page of results for a paginated query. Use the GenericConnection.Builder class to build a Connection that outputs the supplied data, optionally sliced based on a "start after" cursor and a limit on the number of items output.