Class DefaultFindCursoredPageReactiveInterceptor
java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<Object,Object>
io.micronaut.data.runtime.intercept.reactive.AbstractReactiveInterceptor<Object,Object>
io.micronaut.data.runtime.intercept.reactive.AbstractPublisherInterceptor
io.micronaut.data.runtime.intercept.reactive.DefaultFindCursoredPageReactiveInterceptor
- All Implemented Interfaces:
DataInterceptor<Object,Object>, FindCursoredReactivePageInterceptor<Object, Object>
@Internal
public final class DefaultFindCursoredPageReactiveInterceptor
extends AbstractPublisherInterceptor
implements FindCursoredReactivePageInterceptor<Object,Object>
Default implementation of
FindCursoredReactivePageInterceptor delegating to findPage.- Since:
- 4.13
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractQueryInterceptor
AbstractQueryInterceptor.SaveOperation -
Field Summary
Fields inherited from class AbstractReactiveInterceptor
reactiveOperationsFields inherited from class AbstractQueryInterceptor
conversionService, operations, preparedQueryResolver -
Constructor Summary
ConstructorsConstructorDescriptionDefaultFindCursoredPageReactiveInterceptor(@NonNull RepositoryOperations operations) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.reactivestreams.Publisher<?> interceptPublisher(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object, Object> context) Intercept publisher.Methods inherited from class AbstractPublisherInterceptor
interceptMethods inherited from class AbstractReactiveInterceptor
count, persistOrUpdateReactive, persistWithUpdateFallbackReactiveMethods inherited from class AbstractQueryInterceptor
convertOne, convertOne, count, findEntitiesParameter, findEntityParameter, findRepositoryOperations, getDeleteAllBatchOperation, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getDeleteReturningBatchOperation, getDeleteReturningOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getLimit, getOffset, getPageable, getPageableInRole, getPagedQuery, getParameterInRole, getParameterInRole, getParametersInRole, getParametersInRole, getParameterValueMap, getRequiredEntity, getRequiredParameterInRole, getRequiredRootEntity, getReturnType, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, hasEntityId, hasReturnTypeInRole, instantiateEntity, isEntityExistsException, isEntityUpdateCandidate, isNumber, isSaveAsInsert, isSaveAssignedIdFallbackToUpdate, persistOrUpdate, persistWithUpdateFallback, prepareCountQuery, prepareQuery, propagate, resolveSaveOperation, unwrapCompletionException, validateNullArgumentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataInterceptor
intercept
-
Constructor Details
-
DefaultFindCursoredPageReactiveInterceptor
Default constructor.- Parameters:
operations- The operations
-
-
Method Details
-
interceptPublisher
protected org.reactivestreams.Publisher<?> interceptPublisher(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<Object, Object> context) Description copied from class:AbstractPublisherInterceptorIntercept publisher.- Specified by:
interceptPublisherin classAbstractPublisherInterceptor- Parameters:
methodKey- The method keycontext- The context- Returns:
- the result publisher
-