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>, io.micronaut.data.model.runtime.StoredDataOperation<R>, io.micronaut.data.model.runtime.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 io.micronaut.data.model.runtime.StoredQuery<E,R>, PersistentEntityAwareQuery<E>
Bindable parameters version of StoredQuery.
Since:
3.8.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Parameters binder.

    Nested classes/interfaces inherited from interface io.micronaut.data.model.runtime.StoredQuery

    io.micronaut.data.model.runtime.StoredQuery.OperationType
  • Field Summary

    Fields inherited from interface io.micronaut.core.annotation.AnnotationSource

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bindParameters(BindableParametersStoredQuery.Binder binder, @Nullable io.micronaut.aop.InvocationContext<?,?> invocationContext, E entity, @Nullable Map<io.micronaut.data.model.runtime.QueryParameterBinding,Object> previousValues)
    Bind query parameters.

    Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider

    findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType

    Methods inherited from interface io.micronaut.core.annotation.AnnotationSource

    getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared

    Methods inherited from interface io.micronaut.core.naming.Named

    getName

    Methods inherited from interface io.micronaut.data.runtime.operations.internal.query.PersistentEntityAwareQuery

    getPersistentEntity

    Methods inherited from interface io.micronaut.data.model.runtime.StoredQuery

    getArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getJoinFetchPaths, getJoinPaths, getLimit, getOffset, getOperationType, getParameterExpressions, getQuery, getQueryBindings, getQueryHints, getResultArgument, getResultDataType, getResultType, getRootEntity, hasPageable, hasResultConsumer, isCount, isDtoProjection, isJsonEntity, isNative, isOptimisticLock, isProcedure, isRawQuery, isSingleResult, useNumericPlaceholders
  • Method Details

    • bindParameters

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