Class AbstractReactiveInterceptor<T,R>
java.lang.Object
io.micronaut.data.runtime.intercept.AbstractQueryInterceptor<T,R>
io.micronaut.data.runtime.intercept.reactive.AbstractReactiveInterceptor<T,R>
- Type Parameters:
T- The declaring typeR- The return type
- All Implemented Interfaces:
io.micronaut.data.intercept.DataInterceptor<T,R>
- Direct Known Subclasses:
AbstractPublisherInterceptor,DefaultDeleteAllReactiveInterceptor,DefaultDeleteOneReactiveInterceptor,DefaultSaveAllReactiveInterceptor,DefaultSaveEntityReactiveInterceptor,DefaultSaveOneReactiveInterceptor,DefaultUpdateAllEntitiesReactiveInterceptor,DefaultUpdateEntityReactiveInterceptor
Abstract reactive repository interceptor.
- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @NonNull io.micronaut.data.operations.reactive.ReactiveRepositoryOperationsFields inherited from class io.micronaut.data.runtime.intercept.AbstractQueryInterceptor
conversionService, operations, preparedQueryResolver -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractReactiveInterceptor(@NonNull io.micronaut.data.operations.RepositoryOperations operations) 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, validateNullArgumentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.data.intercept.DataInterceptor
intercept
-
Field Details
-
reactiveOperations
@NonNull protected final @NonNull io.micronaut.data.operations.reactive.ReactiveRepositoryOperations reactiveOperations
-
-
Constructor Details
-
AbstractReactiveInterceptor
protected AbstractReactiveInterceptor(@NonNull @NonNull io.micronaut.data.operations.RepositoryOperations operations) Default constructor.- Parameters:
operations- The operations
-
-
Method Details
-
count
Count the items.- Parameters:
publisher- the publisher- Returns:
- the size
-