Package io.micronaut.data.model.runtime
Interface PreparedQuery<E,R> 
- Type Parameters:
- E- The entity type
- R- The result type
- All Superinterfaces:
- io.micronaut.core.annotation.AnnotationMetadataProvider,- io.micronaut.core.annotation.AnnotationSource,- io.micronaut.core.attr.AttributeHolder,- io.micronaut.core.naming.Named,- PagedQuery<E>,- PreparedDataOperation<R>,- StoredDataOperation<R>,- StoredQuery<E,- R> 
- All Known Subinterfaces:
- BindableParametersPreparedQuery<E,,- R> - DelegatePreparedQuery<E,,- R> - MongoPreparedQuery<E,,- R> - SqlPreparedQuery<E,- R> 
- All Known Implementing Classes:
- DefaultBindableParametersPreparedQuery,- DefaultPreparedQuery,- DefaultSqlPreparedQuery,- DummyPreparedQuery
public interface PreparedQuery<E,R> 
extends PagedQuery<E>, StoredQuery<E,R>, PreparedDataOperation<R> 
Interface that models a prepared query. A prepared query extends from 
StoredQuery and includes the bound parameter values.- Since:
- 1.0.0
- Author:
- graemerocher
- 
Field SummaryFields inherited from interface io.micronaut.core.annotation.AnnotationSourceEMPTY
- 
Method SummaryMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProviderfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, 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.core.attr.AttributeHoldergetAttribute, getAttribute, getAttributesMethods inherited from interface io.micronaut.core.naming.NamedgetNameMethods inherited from interface io.micronaut.data.model.runtime.PagedQuerygetPageable, getRootEntityMethods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperationgetParameterInRoleMethods inherited from interface io.micronaut.data.model.runtime.StoredQuerygetArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getJoinFetchPaths, getQuery, getQueryBindings, getResultArgument, getResultDataType, getResultType, getRootEntity, hasPageable, hasResultConsumer, isCount, isDtoProjection, isJsonEntity, isNative, isOptimisticLock, isSingleResult, useNumericPlaceholders
- 
Method Details- 
getRepositoryTypeClass<?> getRepositoryType()- Returns:
- The repository type.
 
- 
getParameterArrayObject[] getParameterArray()- Returns:
- The method parameters
 
- 
getArgumentsio.micronaut.core.type.Argument[] getArguments()- Returns:
- The method arguments
 
- 
getQueryHintsDescription copied from interface:PagedQueryThe parameter binding. That is the mapping between named query parameters and parameters of the method.- Specified by:
- getQueryHintsin interface- PagedQuery<E>
- Specified by:
- getQueryHintsin interface- StoredQuery<E,- R> 
- Returns:
- The parameter binding.
 
- 
isRawQueryboolean isRawQuery()Gets an indicator telling whether underlying query is raw query.- Specified by:
- isRawQueryin interface- StoredQuery<E,- R> 
- Returns:
- true if it is raw query
 
 
-