Package io.micronaut.data.model.runtime
Class AbstractPreparedDataOperation<R>
java.lang.Object
io.micronaut.data.model.runtime.AbstractPreparedDataOperation<R>
- Type Parameters:
R
- The result type
- All Implemented Interfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider
,io.micronaut.core.annotation.AnnotationSource
,io.micronaut.core.attr.AttributeHolder
,PreparedDataOperation<R>
,StoredDataOperation<R>
public abstract class AbstractPreparedDataOperation<R>
extends Object
implements PreparedDataOperation<R>
Abstract implementation of
PreparedDataOperation
.- Since:
- 2.2.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPreparedDataOperation
(io.micronaut.aop.MethodInvocationContext<?, R> context, StoredDataOperation<R> storedDataOperation) -
Method Summary
Modifier and TypeMethodDescriptionfinal @NonNull io.micronaut.core.annotation.AnnotationMetadata
getAttribute
(CharSequence name) final <T> @NonNull Optional<T>
getAttribute
(CharSequence name, Class<T> type) final @NonNull io.micronaut.core.convert.value.ConvertibleValues<Object>
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
Methods inherited from interface io.micronaut.data.model.runtime.PreparedDataOperation
getParameterInRole
-
Constructor Details
-
AbstractPreparedDataOperation
protected AbstractPreparedDataOperation(io.micronaut.aop.MethodInvocationContext<?, R> context, StoredDataOperation<R> storedDataOperation)
-
-
Method Details
-
getAttribute
- Specified by:
getAttribute
in interfaceio.micronaut.core.attr.AttributeHolder
-
getAttribute
- Specified by:
getAttribute
in interfaceio.micronaut.core.attr.AttributeHolder
-
getAttributes
@NonNull public final @NonNull io.micronaut.core.convert.value.ConvertibleValues<Object> getAttributes()- Specified by:
getAttributes
in interfaceio.micronaut.core.attr.AttributeHolder
-
getResultArgument
- Specified by:
getResultArgument
in interfaceStoredDataOperation<R>
- Returns:
- The query result type
-
getAnnotationMetadata
@NonNull public final @NonNull io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()- Specified by:
getAnnotationMetadata
in interfaceio.micronaut.core.annotation.AnnotationMetadataProvider
-