E - The entity typeR - The result typepublic interface DelegateStoredQuery<E,R> extends StoredQuery<E,R>
StoredQuery.| Modifier and Type | Method and Description |
|---|---|
default io.micronaut.core.annotation.AnnotationMetadata |
getAnnotationMetadata() |
default java.lang.Class<?>[] |
getArgumentTypes()
The argument types to the method that invokes the query.
|
default java.util.Optional<java.lang.Class<?>> |
getEntityIdentifierType()
The type of the ID member of the entity.
|
default java.lang.String[] |
getExpandableQueryParts()
The query to execute.
|
default int[] |
getIndexedParameterAutoPopulatedPreviousPropertyIndexes()
The mapping between query parameters and auto populated previous properties that the parameter represents.
|
default java.lang.String[] |
getIndexedParameterAutoPopulatedPreviousPropertyPaths()
The mapping between query parameters and auto populated previous properties that the parameter represents.
|
default java.lang.String[] |
getIndexedParameterAutoPopulatedPropertyPaths()
The mapping between query parameters and auto populated properties that the parameter represents.
|
default java.util.Set<JoinPath> |
getJoinFetchPaths() |
default java.lang.String |
getName() |
default java.lang.String |
getQuery()
The query to execute.
|
default java.util.List<QueryParameterBinding> |
getQueryBindings()
The list of query bindings.
|
default java.util.Map<java.lang.String,java.lang.Object> |
getQueryHints()
The parameter binding.
|
default io.micronaut.core.type.Argument<R> |
getResultArgument()
The query result type.
|
default DataType |
getResultDataType() |
default java.lang.Class<R> |
getResultType()
The query result type.
|
default java.lang.Class<E> |
getRootEntity()
The root entity type.
|
StoredQuery<E,R> |
getStoredQueryDelegate() |
default java.util.Optional<TransactionDefinition> |
getTransactionDefinition() |
default boolean |
hasInExpression()
Deprecated.
|
default boolean |
hasPageable()
Does the query have a pageable.
|
default boolean |
hasResultConsumer() |
default boolean |
isCount() |
default boolean |
isDtoProjection()
Returns whether the query returns the actual entity or a Data Transfer Object (DTO) project.
|
default boolean |
isNative()
In cases where one needs to differentiate between at higher level query format (like JPA-QL) and a lower level format (like SQL).
|
default boolean |
isOptimisticLock()
Is with an optimistic lock.
|
default boolean |
isSingleResult()
Whether the query can be treated as a single result.
|
default boolean |
useNumericPlaceholders()
Are the placeholders for query set using numeric indices starting from 1.
|
getIndexedParameterBinding, getIndexedParameterPaths, getIndexedParameterTypes, getLastUpdatedProperty, getParameterBinding, getParameterNamesfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeStoredQuery<E,R> getStoredQueryDelegate()
default io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
getAnnotationMetadata in interface io.micronaut.core.annotation.AnnotationMetadataProviderdefault java.lang.Class<E> getRootEntity()
StoredQuerygetRootEntity in interface StoredQuery<E,R>default boolean hasPageable()
StoredQueryhasPageable in interface StoredQuery<E,R>default java.lang.String getQuery()
StoredQuerygetQuery in interface StoredQuery<E,R>default java.lang.String[] getExpandableQueryParts()
StoredQuerygetExpandableQueryParts in interface StoredQuery<E,R>default java.util.List<QueryParameterBinding> getQueryBindings()
StoredQuerygetQueryBindings in interface StoredQuery<E,R>default java.lang.Class<R> getResultType()
StoredQueryStoredQuery.getRootEntity().getResultType in interface StoredQuery<E,R>default java.util.Optional<TransactionDefinition> getTransactionDefinition()
getTransactionDefinition in interface StoredDataOperation<R>default io.micronaut.core.type.Argument<R> getResultArgument()
StoredQueryStoredQuery.getRootEntity().getResultArgument in interface StoredDataOperation<R>getResultArgument in interface StoredQuery<E,R>default DataType getResultDataType()
getResultDataType in interface StoredQuery<E,R>default boolean isNative()
StoredQueryisNative in interface StoredQuery<E,R>default boolean useNumericPlaceholders()
StoredQueryuseNumericPlaceholders in interface StoredQuery<E,R>default boolean isDtoProjection()
StoredQueryisDtoProjection in interface StoredQuery<E,R>default java.util.Optional<java.lang.Class<?>> getEntityIdentifierType()
StoredQuerygetEntityIdentifierType in interface StoredQuery<E,R>default java.lang.Class<?>[] getArgumentTypes()
StoredQuerygetArgumentTypes in interface StoredQuery<E,R>default boolean isCount()
isCount in interface StoredQuery<E,R>default java.util.Map<java.lang.String,java.lang.Object> getQueryHints()
StoredQuerygetQueryHints in interface StoredQuery<E,R>default java.util.Set<JoinPath> getJoinFetchPaths()
getJoinFetchPaths in interface StoredQuery<E,R>default boolean isSingleResult()
StoredQueryisSingleResult in interface StoredQuery<E,R>default boolean hasResultConsumer()
hasResultConsumer in interface StoredQuery<E,R>default boolean isOptimisticLock()
StoredQueryisOptimisticLock in interface StoredQuery<E,R>default java.lang.String getName()
getName in interface io.micronaut.core.naming.Named@Nullable default java.lang.String[] getIndexedParameterAutoPopulatedPropertyPaths()
StoredQuerygetIndexedParameterAutoPopulatedPropertyPaths in interface StoredQuery<E,R>default java.lang.String[] getIndexedParameterAutoPopulatedPreviousPropertyPaths()
StoredQuerygetIndexedParameterAutoPopulatedPreviousPropertyPaths in interface StoredQuery<E,R>default int[] getIndexedParameterAutoPopulatedPreviousPropertyIndexes()
StoredQuerygetIndexedParameterAutoPopulatedPreviousPropertyIndexes in interface StoredQuery<E,R>@Deprecated default boolean hasInExpression()
StoredQueryhasInExpression in interface StoredQuery<E,R>