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 ofStoredQuery
.- Since:
- 3.8.0
- Author:
- Denis Stepanov
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BindableParametersStoredQuery.Binder
Parameters binder.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bindParameters(BindableParametersStoredQuery.Binder binder, io.micronaut.aop.InvocationContext<?,?> invocationContext, E entity, java.util.Map<QueryParameterBinding,java.lang.Object> previousValues)
Bind query parameters.-
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, 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.data.runtime.operations.internal.query.PersistentEntityAwareQuery
getPersistentEntity
-
Methods inherited from interface io.micronaut.data.model.runtime.StoredDataOperation
getTransactionDefinition
-
Methods inherited from interface io.micronaut.data.model.runtime.StoredQuery
getArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getIndexedParameterAutoPopulatedPreviousPropertyIndexes, getIndexedParameterAutoPopulatedPreviousPropertyPaths, getIndexedParameterAutoPopulatedPropertyPaths, getIndexedParameterBinding, getIndexedParameterPaths, getIndexedParameterTypes, getJoinFetchPaths, getLastUpdatedProperty, getParameterBinding, getParameterNames, getQuery, getQueryBindings, getQueryHints, getResultArgument, getResultDataType, getResultType, getRootEntity, hasInExpression, hasPageable, hasResultConsumer, isCount, isDtoProjection, isNative, isOptimisticLock, isRawQuery, isSingleResult, useNumericPlaceholders
-
-
-
-
Method Detail
-
bindParameters
void bindParameters(BindableParametersStoredQuery.Binder binder, @Nullable io.micronaut.aop.InvocationContext<?,?> invocationContext, @Nullable E entity, @Nullable java.util.Map<QueryParameterBinding,java.lang.Object> previousValues)
Bind query parameters.- Parameters:
binder
- The binderinvocationContext
- The invocation contextentity
- The entitypreviousValues
- The previous auto-populated collected values
-
-