Interface CallbackDataProvider.CountCallback

Enclosing class:
CallbackDataProvider<T>
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 static interface CallbackDataProvider.CountCallback
Callback for counting matching items.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    count(Query query)
    Returns the total number of items matching the query's filters.
  • Method Details

    • count

      int count(Query query)
      Returns the total number of items matching the query's filters.
      Parameters:
      query - the query parameters
      Returns:
      the total count