E
- The entity typeR
- The result typepublic interface PreparedQuery<E,R> extends PagedQuery<E>, StoredQuery<E,R>
StoredQuery
and includes the bound parameter values.Modifier and Type | Method and Description |
---|---|
io.micronaut.core.type.Argument[] |
getArguments() |
java.lang.Class<?> |
getLastUpdatedType() |
java.lang.Object[] |
getParameterArray() |
default <RT> java.util.Optional<RT> |
getParameterInRole(java.lang.String role,
java.lang.Class<RT> type)
Return the value of the given parameter if the given role.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameterValues() |
default java.util.Map<java.lang.String,java.lang.Object> |
getQueryHints()
The parameter binding.
|
java.lang.Class<?> |
getRepositoryType() |
getPageable, getRootEntity
getArgumentTypes, getEntityIdentifierType, getIndexedParameterBinding, getIndexedParameterPaths, getIndexedParameterTypes, getJoinFetchPaths, getLastUpdatedProperty, getParameterBinding, getParameterNames, getQuery, getResultDataType, getResultType, getRootEntity, hasInExpression, hasPageable, hasResultConsumer, isCount, isDtoProjection, isNative, isSingleResult, useNumericPlaceholders
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
java.lang.Class<?> getRepositoryType()
@NonNull java.util.Map<java.lang.String,java.lang.Object> getParameterValues()
java.lang.Object[] getParameterArray()
io.micronaut.core.type.Argument[] getArguments()
java.lang.Class<?> getLastUpdatedType()
@NonNull default java.util.Map<java.lang.String,java.lang.Object> getQueryHints()
PagedQuery
getQueryHints
in interface PagedQuery<E>
getQueryHints
in interface StoredQuery<E,R>
default <RT> java.util.Optional<RT> getParameterInRole(@NonNull java.lang.String role, @NonNull java.lang.Class<RT> type)
RT
- The generic typerole
- The roletype
- The type