Interface BindableParametersStoredQuery<E,R>
- Type Parameters:
E
- The entity typeR
- 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
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Parameters binder.Nested classes/interfaces inherited from interface io.micronaut.data.model.runtime.StoredQuery
StoredQuery.OperationType
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindParameters
(BindableParametersStoredQuery.Binder binder, @Nullable io.micronaut.aop.InvocationContext<?, ?> invocationContext, E entity, @Nullable Map<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, 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<QueryParameterBinding, Object> previousValues) Bind query parameters.- Parameters:
binder
- The binderinvocationContext
- The invocation contextentity
- The entitypreviousValues
- The previous auto-populated collected values
-