E - The entity typeRT - The result type@Internal
public final class DefaultStoredQuery<E,RT>
extends io.micronaut.data.model.runtime.DefaultStoredDataOperation<RT>
implements io.micronaut.data.model.runtime.StoredQuery<E,RT>
| Constructor and Description |
|---|
DefaultStoredQuery(io.micronaut.inject.ExecutableMethod<?,?> method,
java.lang.Class<RT> resultType,
java.lang.Class<E> rootEntity,
java.lang.String query,
boolean isCount,
io.micronaut.data.operations.HintsCapableRepository repositoryOperations)
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Class<?>[] |
getArgumentTypes() |
java.util.Optional<java.lang.Class<?>> |
getEntityIdentifierType() |
java.lang.String[] |
getExpandableQueryParts() |
int[] |
getIndexedParameterBinding() |
io.micronaut.data.model.DataType[] |
getIndexedParameterTypes() |
java.util.Set<io.micronaut.data.model.query.JoinPath> |
getJoinFetchPaths() |
io.micronaut.inject.ExecutableMethod<?,?> |
getMethod() |
java.lang.String |
getName() |
java.lang.String |
getQuery() |
java.util.List<io.micronaut.data.model.runtime.QueryParameterBinding> |
getQueryBindings() |
java.util.Map<java.lang.String,java.lang.Object> |
getQueryHints() |
io.micronaut.data.model.DataType |
getResultDataType() |
java.lang.Class<RT> |
getResultType() |
java.lang.Class<E> |
getRootEntity() |
int |
hashCode() |
boolean |
hasPageable() |
boolean |
hasResultConsumer() |
boolean |
isCount() |
boolean |
isDtoProjection() |
boolean |
isNative() |
boolean |
isOptimisticLock() |
boolean |
isSingleResult() |
boolean |
useNumericPlaceholders()
Is this a raw SQL query.
|
getAnnotationMetadata, getResultArgument, getTransactionDefinitionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetIndexedParameterAutoPopulatedPreviousPropertyIndexes, getIndexedParameterAutoPopulatedPreviousPropertyPaths, getIndexedParameterAutoPopulatedPropertyPaths, getIndexedParameterPaths, getLastUpdatedProperty, getParameterBinding, getParameterNames, getResultArgument, hasInExpressiongetTransactionDefinitionfindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypepublic DefaultStoredQuery(@NonNull
io.micronaut.inject.ExecutableMethod<?,?> method,
@NonNull
java.lang.Class<RT> resultType,
@NonNull
java.lang.Class<E> rootEntity,
@NonNull
java.lang.String query,
boolean isCount,
io.micronaut.data.operations.HintsCapableRepository repositoryOperations)
method - The target methodresultType - The result type of the queryrootEntity - The root entity of the queryquery - The query itselfisCount - Is the query a count queryrepositoryOperations - The repositoryOperationspublic java.util.List<io.micronaut.data.model.runtime.QueryParameterBinding> getQueryBindings()
@NonNull public java.util.Set<io.micronaut.data.model.query.JoinPath> getJoinFetchPaths()
public io.micronaut.inject.ExecutableMethod<?,?> getMethod()
public boolean isSingleResult()
public boolean hasResultConsumer()
public boolean isCount()
@NonNull public io.micronaut.data.model.DataType[] getIndexedParameterTypes()
@NonNull public int[] getIndexedParameterBinding()
@NonNull public java.util.Map<java.lang.String,java.lang.Object> getQueryHints()
public boolean isNative()
public boolean useNumericPlaceholders()
public boolean isDtoProjection()
@NonNull public java.lang.Class<RT> getResultType()
@NonNull public io.micronaut.data.model.DataType getResultDataType()
public java.util.Optional<java.lang.Class<?>> getEntityIdentifierType()
@NonNull public java.lang.Class<E> getRootEntity()
public boolean hasPageable()
@NonNull public java.lang.String getQuery()
public java.lang.String[] getExpandableQueryParts()
@NonNull public java.lang.String getName()
getName in interface io.micronaut.core.naming.Named@NonNull public java.lang.Class<?>[] getArgumentTypes()
public boolean isOptimisticLock()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object