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 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>,- 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 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 SummaryConstructorsConstructorDescriptionDefaultSqlStoredQuery(StoredQuery<E, R> storedQuery, RuntimePersistentEntity<E> runtimePersistentEntity, SqlQueryBuilder queryBuilder) 
- 
Method SummaryModifier 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.DefaultBindableParametersStoredQuerybindParameter, bindParameters, getPersistentEntity, getRequiredPropertyPath, getStoredQueryDelegate, requireInvocationContextMethods 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.BindableParametersStoredQuerybindParametersMethods 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, useNumericPlaceholdersMethods inherited from interface io.micronaut.data.runtime.operations.internal.query.PersistentEntityAwareQuerygetPersistentEntity
- 
Constructor Details- 
DefaultSqlStoredQuerypublic DefaultSqlStoredQuery(StoredQuery<E, R> storedQuery, RuntimePersistentEntity<E> runtimePersistentEntity, SqlQueryBuilder queryBuilder) - Parameters:
- storedQuery- The stored query
- runtimePersistentEntity- The persistent entity
- queryBuilder- The query builder
 
 
- 
- 
Method Details- 
isExpandableQuerypublic boolean isExpandableQuery()- Specified by:
- isExpandableQueryin interface- SqlStoredQuery<E,- R> 
- Returns:
- true if query is expandable
 
- 
getDialectDescription copied from interface:SqlStoredQueryGet dialect.- Specified by:
- getDialectin interface- SqlStoredQuery<E,- R> 
- Returns:
- dialect
 
- 
getQueryBuilder- Specified by:
- getQueryBuilderin interface- SqlStoredQuery<E,- R> 
- Returns:
- query builder for possible modification in the prepared query
 
- 
collectAutoPopulatedPreviousValuesDescription copied from interface:SqlStoredQueryCollect auto-populated property values before pre-actions are triggered and property values are modified.- Specified by:
- collectAutoPopulatedPreviousValuesin interface- SqlStoredQuery<E,- R> 
- Parameters:
- entity- The entity instance
- Returns:
- collected values
 
 
-