@Internal public class CountReactiveSpecificationInterceptor extends AbstractReactiveSpecificationInterceptor<java.lang.Object,org.reactivestreams.Publisher<java.lang.Number>>
AbstractSpecificationInterceptor.Type
reactiveOperations
operations, preparedQueryResolver
Constructor and Description |
---|
CountReactiveSpecificationInterceptor(RepositoryOperations operations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<java.lang.Number> |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<java.lang.Object,org.reactivestreams.Publisher<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 CountReactiveSpecificationInterceptor(@NonNull RepositoryOperations operations)
operations
- The operationspublic org.reactivestreams.Publisher<java.lang.Number> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<java.lang.Object,org.reactivestreams.Publisher<java.lang.Number>> context)
DataInterceptor
methodKey
- The method keycontext
- The context