com.vaadin.flow.spring.data.

Interface CountService

All Known Implementing Classes:

CrudRepositoryService, ListRepositoryService

public interface CountService

A service that can count the number of items with a given filter.

  • Method Summary

    Modifier and Type
    Method
    Description
    long
    count(@Nullable Filter filter)

    Counts the number of items that match the given filter.

  • Method Details

    • count

      long count(@Nullable Filter filter)

      Counts the number of items that match the given filter.

      Parameters:

      filter - the filter, or null to use no filter

      Returns:

      the number of items in the service that match the filter