Class DefaultSqlStoredQuery<E,R> 
java.lang.Object
io.micronaut.data.runtime.operations.internal.query.DefaultBindableParametersStoredQuery<E,R>
 
io.micronaut.data.runtime.operations.internal.sql.DefaultSqlStoredQuery<E,R> 
- Type Parameters:
 E- The entity typeR- 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>,SqlStoredQuery<E,,R> DelegateStoredQuery<E,R> 
@Internal
public class DefaultSqlStoredQuery<E,R> 
extends DefaultBindableParametersStoredQuery<E,R>
implements SqlStoredQuery<E,R>  
Implementation of 
SqlStoredQuery.- Since:
 - 3.5.0
 - Author:
 - Denis Stepanov
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.data.runtime.operations.internal.query.BindableParametersStoredQuery
BindableParametersStoredQuery.BinderNested classes/interfaces inherited from interface io.micronaut.data.model.runtime.StoredQuery
StoredQuery.OperationType - 
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY - 
Constructor Summary
ConstructorsConstructorDescriptionDefaultSqlStoredQuery(StoredQuery<E, R> storedQuery, RuntimePersistentEntity<E> runtimePersistentEntity, SqlQueryBuilder queryBuilder)  - 
Method Summary
Modifier and TypeMethodDescriptioncollectAutoPopulatedPreviousValues(E entity) Collect auto-populated property values before pre-actions are triggered and property values are modified.Get dialect.booleanMethods inherited from class io.micronaut.data.runtime.operations.internal.query.DefaultBindableParametersStoredQuery
bindParameter, bindParameters, getPersistentEntity, getRequiredPropertyPath, getStoredQueryDelegate, requireInvocationContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, 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.data.runtime.operations.internal.query.BindableParametersStoredQuery
bindParametersMethods inherited from interface io.micronaut.data.runtime.query.internal.DelegateStoredQuery
getAnnotationMetadata, getArgumentTypes, getEntityIdentifierType, getExpandableQueryParts, getJoinFetchPaths, getName, getOperationType, getQuery, getQueryBindings, getQueryHints, getResultArgument, getResultDataType, getResultType, getRootEntity, hasPageable, hasResultConsumer, isCount, isDtoProjection, isJsonEntity, isNative, isOptimisticLock, isProcedure, isRawQuery, isSingleResult, useNumericPlaceholdersMethods inherited from interface io.micronaut.data.runtime.operations.internal.query.PersistentEntityAwareQuery
getPersistentEntity 
- 
Constructor Details
- 
DefaultSqlStoredQuery
public DefaultSqlStoredQuery(StoredQuery<E, R> storedQuery, RuntimePersistentEntity<E> runtimePersistentEntity, SqlQueryBuilder queryBuilder) - Parameters:
 storedQuery- The stored queryruntimePersistentEntity- The persistent entityqueryBuilder- The query builder
 
 - 
 - 
Method Details
- 
getQueryResultInfo
- Specified by:
 getQueryResultInfoin interfaceSqlStoredQuery<E,R> - Returns:
 - the query result info
 
 - 
isExpandableQuery
public boolean isExpandableQuery()- Specified by:
 isExpandableQueryin interfaceSqlStoredQuery<E,R> - Returns:
 - true if query is expandable
 
 - 
getDialect
Description copied from interface:SqlStoredQueryGet dialect.- Specified by:
 getDialectin interfaceSqlStoredQuery<E,R> - Returns:
 - dialect
 
 - 
getQueryBuilder
- Specified by:
 getQueryBuilderin interfaceSqlStoredQuery<E,R> - Returns:
 - query builder for possible modification in the prepared query
 
 - 
collectAutoPopulatedPreviousValues
Description copied from interface:SqlStoredQueryCollect auto-populated property values before pre-actions are triggered and property values are modified.- Specified by:
 collectAutoPopulatedPreviousValuesin interfaceSqlStoredQuery<E,R> - Parameters:
 entity- The entity instance- Returns:
 - collected values
 
 
 -