@Internal public class CountSpecificationInterceptor extends AbstractSpecificationInterceptor<java.lang.Object,java.lang.Number>
AbstractSpecificationInterceptor.Type
operations, preparedQueryResolver
Constructor and Description |
---|
CountSpecificationInterceptor(RepositoryOperations operations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Number |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Number> context)
Intercepts a data method execution.
|
getDeleteSpecification, getQuerySpecification, getUpdateSpecification, preparedQueryForCriteria
convertNumberArgumentIfNecessary, convertOne, count, findEntitiesParameter, findEntityParameter, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getParameterValueMap, getRequiredEntity, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, prepareQuery, validateNullArguments
public CountSpecificationInterceptor(@NonNull RepositoryOperations operations)
operations
- The operationspublic java.lang.Number intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Number> context)
DataInterceptor
methodKey
- The method keycontext
- The context