T
- The declaring typepublic class DefaultFindStreamInterceptor<T> extends AbstractQueryInterceptor<T,java.util.stream.Stream<T>> implements FindStreamInterceptor<T>
FindStreamInterceptor
.operations
Constructor and Description |
---|
DefaultFindStreamInterceptor(RepositoryOperations datastore)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<T> |
intercept(RepositoryMethodKey methodKey,
io.micronaut.aop.MethodInvocationContext<T,java.util.stream.Stream<T>> context)
Intercepts a data method execution.
|
convertNumberArgumentIfNecessary, count, findEntitiesParameter, findEntityParameter, getDeleteBatchOperation, getDeleteBatchOperation, getDeleteOperation, getEntitiesParameter, getEntityParameter, getInsertBatchOperation, getInsertBatchOperation, getInsertOperation, getInsertOperation, getPageable, getPagedQuery, getRequiredEntity, getRequiredRootEntity, getUpdateAllBatchOperation, getUpdateOperation, getUpdateOperation, instantiateEntity, isNullable, isNumber, prepareCountQuery, prepareQuery, prepareQuery, validateNullArguments
public DefaultFindStreamInterceptor(@NonNull RepositoryOperations datastore)
datastore
- The operationspublic java.util.stream.Stream<T> intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,java.util.stream.Stream<T>> context)
DataInterceptor
intercept
in interface DataInterceptor<T,java.util.stream.Stream<T>>
methodKey
- The method keycontext
- The context