com.holonplatform.vaadin.data

## Interface ItemSetLoader<ITEM>

- Type Parameters:
    `ITEM` - Item type
  All Superinterfaces:
    Serializable
  All Known Subinterfaces:
    ItemDataProvider<ITEM>
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface ItemSetLoader<ITEM>
      extends Serializable

  Data interface to load a set of items.
  Since:
    5.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Stream<ITEM>` | `load(com.holonplatform.core.query.QueryConfigurationProvider configuration, int offset, int limit)` Load items according to given data source `configuration`.

- - ### Method Detail

    - #### load

          Stream<ITEM> load(com.holonplatform.core.query.QueryConfigurationProvider configuration,
                            int offset,
                            int limit)
                     throws com.holonplatform.core.exceptions.DataAccessException

      Load items according to given data source `configuration`.
      Parameters:
        `configuration` - Query configuration
        `offset` - Starts the query results at given zero-based offset
        `limit` - Limit the fetched result set to given max value
      Returns:
        Items stream
      Throws:
        `com.holonplatform.core.exceptions.DataAccessException` - Error accessing underlying data store

Copyright © 2019 The Holon Platform. All rights reserved.