com.holonplatform.vaadin.data

## Interface ItemSetCounter

- 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 ItemSetCounter
      extends Serializable

  Data interface to obtain the size of an item set.
  Since:
    5.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `size(com.holonplatform.core.query.QueryConfigurationProvider configuration)` Get the data source item set size (number of items) according to given `configuration`.

- - ### Method Detail

    - #### size

          long size(com.holonplatform.core.query.QueryConfigurationProvider configuration)
             throws com.holonplatform.core.exceptions.DataAccessException

      Get the data source item set size (number of items) according to given `configuration`.
      Parameters:
        `configuration` - Query configuration
      Returns:
        Item set size (number of items), or `0` if no item available
      Throws:
        `com.holonplatform.core.exceptions.DataAccessException` - Error accessing underlying data store

Copyright © 2017 The Holon Platform. All rights reserved.