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 Type
    Method
    Description
    <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 type
      R - The result type
      Parameters:
      context - The context
      storedQuery - The query to be decorated
      Returns:
      decorated stored query