Package io.micronaut.data.runtime.query
Interface MethodContextAwareStoredQueryDecorator
- All Known Implementing Classes:
AbstractSqlRepositoryOperations
,DefaultJdbcRepositoryOperations
,DefaultReactiveCosmosRepositoryOperations
,DefaultReactiveMongoRepositoryOperations
public interface MethodContextAwareStoredQueryDecorator
Special version of stored query decorator that is aware of the method invocation context.
- Since:
- 3.5.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescription<E,
R> StoredQuery<E, R> decorate
(io.micronaut.aop.MethodInvocationContext<?, ?> context, StoredQuery<E, R> storedQuery) Decorate stored query.
-
Method Details
-
decorate
<E,R> StoredQuery<E,R> decorate(io.micronaut.aop.MethodInvocationContext<?, ?> context, StoredQuery<E, R> storedQuery) Decorate stored query.- Type Parameters:
E
- The entity typeR
- The result type- Parameters:
context
- The contextstoredQuery
- The query to be decorated- Returns:
- decorated stored query
-