Interface BindableParametersPreparedQuery<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.attr.AttributeHolder,BindableParametersStoredQuery<E,,R> io.micronaut.core.naming.Named,PagedQuery<E>,PersistentEntityAwareQuery<E>,PreparedDataOperation<R>,PreparedQuery<E,,R> StoredDataOperation<R>,StoredQuery<E,R>
- All Known Subinterfaces:
SqlPreparedQuery<E,R>
- All Known Implementing Classes:
DefaultBindableParametersPreparedQuery,DefaultSqlPreparedQuery
@Internal
public interface BindableParametersPreparedQuery<E,R>
extends PreparedQuery<E,R>, BindableParametersStoredQuery<E,R>
Bindable parameters version of
PreparedQuery.- Since:
- 3.8.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.runtime.operations.internal.query.BindableParametersStoredQuery
BindableParametersStoredQuery.Binder -
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY -
Method Summary
Modifier and TypeMethodDescriptiondefault voidBind query parameters.voidbindParameters(BindableParametersStoredQuery.Binder binder, E entity, 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, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.core.attr.AttributeHolder
getAttribute, getAttribute, getAttributesMethods inherited from interface io.micronaut.data.runtime.operations.internal.query.BindableParametersStoredQuery
bindParametersMethods inherited from interface io.micronaut.core.naming.Named
getNameMethods inherited from interface io.micronaut.data.model.runtime.PagedQuery
getPageable, getRootEntityMethods inherited from interface io.micronaut.data.runtime.operations.internal.query.PersistentEntityAwareQuery
getPersistentEntityMethods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperation
getParameterInRoleMethods inherited from interface io.micronaut.data.model.runtime.PreparedQuery
getArguments, getParameterArray, getParameterValues, getQueryHints, getRepositoryType, isRawQueryMethods inherited from interface io.micronaut.data.model.runtime.StoredDataOperation
getTransactionDefinitionMethods 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, isJsonEntity, isNative, isOptimisticLock, isSingleResult, useNumericPlaceholders
-
Method Details
-
bindParameters
void bindParameters(BindableParametersStoredQuery.Binder binder, @Nullable E entity, @Nullable Map<QueryParameterBinding, Object> previousValues) Bind query parameters.- Parameters:
binder- The binderentity- The entitypreviousValues- The previous auto-populated collected values
-
bindParameters
Bind query parameters.- Parameters:
binder- The binder
-