@Internal public class CountReactiveSpecificationInterceptor extends AbstractReactiveSpecificationInterceptor<java.lang.Object,org.reactivestreams.Publisher<java.lang.Number>>
AbstractSpecificationInterceptor.TypereactiveOperationsoperations, 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, preparedQueryForCriteriaconvertNumberArgumentIfNecessary, 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, validateNullArgumentspublic 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)
DataInterceptormethodKey - The method keycontext - The context