Interface BindableParametersStoredQuery<E,R>

Type Parameters:
E - The entity type
R - The result type
All Superinterfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider, io.micronaut.core.annotation.AnnotationSource, io.micronaut.core.naming.Named, PersistentEntityAwareQuery<E>, StoredDataOperation<R>, StoredQuery<E,R>
All Known Subinterfaces:
BindableParametersPreparedQuery<E,R>, SqlPreparedQuery<E,R>, SqlStoredQuery<E,R>
All Known Implementing Classes:
DefaultBindableParametersPreparedQuery, DefaultBindableParametersStoredQuery, DefaultSqlPreparedQuery, DefaultSqlStoredQuery

@Internal public interface BindableParametersStoredQuery<E,R> extends StoredQuery<E,R>, PersistentEntityAwareQuery<E>
Bindable parameters version of StoredQuery.
Since:
3.8.0
Author:
Denis Stepanov
  • Method Details

    • bindParameters

      void bindParameters(BindableParametersStoredQuery.Binder binder, @Nullable @Nullable io.micronaut.aop.InvocationContext<?,?> invocationContext, @Nullable E entity, @Nullable @Nullable Map<QueryParameterBinding,Object> previousValues)
      Bind query parameters.
      Parameters:
      binder - The binder
      invocationContext - The invocation context
      entity - The entity
      previousValues - The previous auto-populated collected values