Interface SimplePaginatedData<T>

  • Type Parameters:
    T - the data of which we paginated over
    All Superinterfaces:
    graphql.relay.Connection<T>, java.lang.Iterable<T>, SimpleConnection<T>
    All Known Implementing Classes:
    AbstractSimplePaginatedData, SimplePaginatedDataImpl

    public interface SimplePaginatedData<T>
    extends java.lang.Iterable<T>, SimpleConnection<T>
    This class is the result of a simple connection. Every Graphql connection field must return this interface

    NOTE: this interface extends Iterable. The data is retrieved from the "iterator" function. Please implement the iterator with data structure that has order