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:
io.micronaut.data.intercept.CountInterceptor<T>,io.micronaut.data.intercept.DataInterceptor<T,Number>
public class DefaultCountInterceptor<T>
extends AbstractQueryInterceptor<T,Number>
implements io.micronaut.data.intercept.CountInterceptor<T>
Default implementation of
CountInterceptor.- Since:
- 1.0.0
-
Field Summary
Fields inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
conversionService, operations, preparedQueryResolver -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultCountInterceptor(@NonNull io.micronaut.data.operations.RepositoryOperations datastore) Default constructor. -
Method Summary
Methods inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
convertOne, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getDeleteReturningBatchOperation, getDeleteReturningOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArguments
-
Constructor Details
-
DefaultCountInterceptor
protected DefaultCountInterceptor(@NonNull @NonNull io.micronaut.data.operations.RepositoryOperations datastore) Default constructor.- Parameters:
datastore- The operations
-
-
Method Details