Class DefaultCountInterceptor<T>

java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<T,Number>
io.micronaut.data.runtime.intercept.DefaultCountInterceptor<T>
Type Parameters:
T - The declaring type
All Implemented Interfaces:
CountInterceptor<T>, DataInterceptor<T,Number>

public class DefaultCountInterceptor<T> extends AbstractQueryInterceptor<T,Number> implements CountInterceptor<T>
Default implementation of CountInterceptor.
Since:
1.0.0
Author:
graemerocher
  • Constructor Details

    • DefaultCountInterceptor

      protected DefaultCountInterceptor(@NonNull @NonNull RepositoryOperations datastore)
      Default constructor.
      Parameters:
      datastore - The operations
  • Method Details