Class DefaultBindableParametersPreparedQuery<E,R> 
java.lang.Object
io.micronaut.data.runtime.operations.internal.query.DefaultBindableParametersPreparedQuery<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.attr.AttributeHolder,- io.micronaut.core.naming.Named,- PagedQuery<E>,- PreparedDataOperation<R>,- PreparedQuery<E,,- R> - StoredDataOperation<R>,- StoredQuery<E,,- R> - BindableParametersPreparedQuery<E,,- R> - BindableParametersStoredQuery<E,,- R> - PersistentEntityAwareQuery<E>,- DelegatePreparedQuery<E,,- R> - DelegateStoredQuery<E,- R> 
- Direct Known Subclasses:
- DefaultSqlPreparedQuery
@Internal
public class DefaultBindableParametersPreparedQuery<E,R> 
extends Object
implements BindableParametersPreparedQuery<E,R>, DelegatePreparedQuery<E,R>  
Implementation of 
BindableParametersPreparedQuery.- 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 SummaryFieldsModifier and TypeFieldDescriptionprotected final io.micronaut.aop.InvocationContext<?,?> protected final PreparedQuery<E,R> protected final BindableParametersStoredQuery<E,R> Fields inherited from interface io.micronaut.core.annotation.AnnotationSourceEMPTY
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultBindableParametersPreparedQuery(PreparedQuery<E, R> preparedQuery) DefaultBindableParametersPreparedQuery(PreparedQuery<E, R> preparedQuery, io.micronaut.aop.InvocationContext<?, ?> invocationContext, BindableParametersStoredQuery<E, R> storedQuery) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidbindParameters(BindableParametersStoredQuery.Binder binder, E entity, Map<QueryParameterBinding, Object> previousValues) Bind query parameters.voidbindParameters(BindableParametersStoredQuery.Binder binder, io.micronaut.aop.InvocationContext<?, ?> invocationContext, E entity, Map<QueryParameterBinding, Object> previousValues) Bind query parameters.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.operations.internal.query.BindableParametersPreparedQuerybindParametersMethods inherited from interface io.micronaut.data.runtime.query.internal.DelegatePreparedQuerygetArguments, getAttribute, getAttribute, getAttributes, getPageable, getParameterArray, getParameterInRole, getQuery, getQueryHints, getRepositoryType, getRootEntity, getStoredQueryDelegate, isDtoProjection, isRawQueryMethods inherited from interface io.micronaut.data.runtime.query.internal.DelegateStoredQuerygetAnnotationMetadata, getArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getJoinFetchPaths, getName, getQueryBindings, getResultArgument, getResultDataType, getResultType, hasPageable, hasResultConsumer, isCount, isJsonEntity, isNative, isOptimisticLock, isSingleResult, useNumericPlaceholders
- 
Field Details- 
preparedQuery
- 
invocationContextprotected final io.micronaut.aop.InvocationContext<?,?> invocationContext
- 
storedQuery
 
- 
- 
Constructor Details- 
DefaultBindableParametersPreparedQuery
- 
DefaultBindableParametersPreparedQuerypublic DefaultBindableParametersPreparedQuery(PreparedQuery<E, R> preparedQuery, io.micronaut.aop.InvocationContext<?, ?> invocationContext, BindableParametersStoredQuery<E, R> storedQuery) 
 
- 
- 
Method Details- 
getPersistentEntity- Specified by:
- getPersistentEntityin interface- PersistentEntityAwareQuery<E>
- Returns:
- The persistent entity
 
- 
getPreparedQueryDelegate- Specified by:
- getPreparedQueryDelegatein interface- DelegatePreparedQuery<E,- R> 
- Returns:
- The delegate
 
- 
bindParameterspublic void bindParameters(BindableParametersStoredQuery.Binder binder, E entity, Map<QueryParameterBinding, Object> previousValues) Description copied from interface:BindableParametersPreparedQueryBind query parameters.- Specified by:
- bindParametersin interface- BindableParametersPreparedQuery<E,- R> 
- Parameters:
- binder- The binder
- entity- The entity
- previousValues- The previous auto-populated collected values
 
- 
bindParameterspublic void bindParameters(BindableParametersStoredQuery.Binder binder, io.micronaut.aop.InvocationContext<?, ?> invocationContext, E entity, 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
 
 
-