Class DefaultBindableParametersStoredQuery<E,R> 
java.lang.Object
io.micronaut.data.runtime.operations.internal.query.DefaultBindableParametersStoredQuery<E,R> 
- Type Parameters:
- E- The entity type
- R- The result type
- All Implemented Interfaces:
- io.micronaut.core.annotation.AnnotationMetadataProvider,- io.micronaut.core.annotation.AnnotationSource,- io.micronaut.core.naming.Named,- StoredDataOperation<R>,- StoredQuery<E,,- R> - BindableParametersStoredQuery<E,,- R> - PersistentEntityAwareQuery<E>,- DelegateStoredQuery<E,- R> 
- Direct Known Subclasses:
- DefaultSqlStoredQuery
@Internal
public class DefaultBindableParametersStoredQuery<E,R> 
extends Object
implements BindableParametersStoredQuery<E,R>, DelegateStoredQuery<E,R>  
Implementation of 
BindableParametersStoredQuery.- Since:
- 3.8.0
- Author:
- Denis Stepanov
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.micronaut.data.runtime.operations.internal.query.BindableParametersStoredQueryBindableParametersStoredQuery.Binder
- 
Field SummaryFields inherited from interface io.micronaut.core.annotation.AnnotationSourceEMPTY
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultBindableParametersStoredQuery(StoredQuery<E, R> storedQuery, RuntimePersistentEntity<E> runtimePersistentEntity) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected final voidbindParameter(BindableParametersStoredQuery.Binder binder, @Nullable io.micronaut.aop.InvocationContext<?, ?> invocationContext, E entity, @Nullable Map<QueryParameterBinding, Object> previousValues, QueryParameterBinding binding) voidbindParameters(BindableParametersStoredQuery.Binder binder, @Nullable io.micronaut.aop.InvocationContext<?, ?> invocationContext, E entity, @Nullable Map<QueryParameterBinding, Object> previousValues) Bind query parameters.protected final <T> PersistentPropertyPathgetRequiredPropertyPath(QueryParameterBinding queryParameterBinding, RuntimePersistentEntity<T> persistentEntity) protected final voidrequireInvocationContext(io.micronaut.aop.InvocationContext<?, ?> invocationContext) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProviderfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSourcegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.data.runtime.query.internal.DelegateStoredQuerygetAnnotationMetadata, getArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getJoinFetchPaths, getName, getQuery, getQueryBindings, getQueryHints, getResultArgument, getResultDataType, getResultType, getRootEntity, hasPageable, hasResultConsumer, isCount, isDtoProjection, isJsonEntity, isNative, isOptimisticLock, isRawQuery, isSingleResult, useNumericPlaceholders
- 
Constructor Details- 
DefaultBindableParametersStoredQuerypublic DefaultBindableParametersStoredQuery(StoredQuery<E, R> storedQuery, RuntimePersistentEntity<E> runtimePersistentEntity) - Parameters:
- storedQuery- The stored query
- runtimePersistentEntity- The persistent entity
 
 
- 
- 
Method Details- 
getPersistentEntity- Specified by:
- getPersistentEntityin interface- PersistentEntityAwareQuery<E>
- Returns:
- The persistent entity
 
- 
getStoredQueryDelegate- Specified by:
- getStoredQueryDelegatein interface- DelegateStoredQuery<E,- R> 
- Returns:
- The delegate
 
- 
bindParameterspublic void bindParameters(BindableParametersStoredQuery.Binder binder, @Nullable @Nullable io.micronaut.aop.InvocationContext<?, ?> invocationContext, @Nullable E entity, @Nullable @Nullable Map<QueryParameterBinding, Object> previousValues) Description copied from interface:BindableParametersStoredQueryBind query parameters.- Specified by:
- bindParametersin interface- BindableParametersStoredQuery<E,- R> 
- Parameters:
- binder- The binder
- invocationContext- The invocation context
- entity- The entity
- previousValues- The previous auto-populated collected values
 
- 
bindParameterprotected final void bindParameter(BindableParametersStoredQuery.Binder binder, @Nullable @Nullable io.micronaut.aop.InvocationContext<?, ?> invocationContext, @Nullable E entity, @Nullable @Nullable Map<QueryParameterBinding, Object> previousValues, QueryParameterBinding binding) 
- 
getRequiredPropertyPathprotected final <T> PersistentPropertyPath getRequiredPropertyPath(QueryParameterBinding queryParameterBinding, RuntimePersistentEntity<T> persistentEntity) 
- 
requireInvocationContextprotected final void requireInvocationContext(io.micronaut.aop.InvocationContext<?, ?> invocationContext) 
 
-