Package io.micronaut.data.model.runtime
Class DefaultStoredDataOperation<R>
java.lang.Object
io.micronaut.data.model.runtime.DefaultStoredDataOperation<R>
- Type Parameters:
R
- The return type.
- All Implemented Interfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider
,io.micronaut.core.annotation.AnnotationSource
,StoredDataOperation<R>
- Direct Known Subclasses:
DefaultPreparedQuery
,DefaultStoredQuery
Used as a super class to resolve and potentially cache data about a method.
- Since:
- 2.2.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Constructor Summary
ConstructorDescriptionDefaultStoredDataOperation
(io.micronaut.inject.ExecutableMethod<?, ?> method) -
Method Summary
Modifier and TypeMethodDescriptionfinal io.micronaut.core.annotation.AnnotationMetadata
final @NonNull io.micronaut.core.type.Argument<R>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
-
Constructor Details
-
DefaultStoredDataOperation
public DefaultStoredDataOperation(io.micronaut.inject.ExecutableMethod<?, ?> method)
-
-
Method Details
-
getResultArgument
- Specified by:
getResultArgument
in interfaceStoredDataOperation<R>
- Returns:
- The query result type
-
getAnnotationMetadata
public final io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()- Specified by:
getAnnotationMetadata
in interfaceio.micronaut.core.annotation.AnnotationMetadataProvider
-