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

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractPreparedDataOperation(io.micronaut.aop.MethodInvocationContext<?,R> context, StoredDataOperation<R> storedDataOperation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final @NonNull io.micronaut.core.annotation.AnnotationMetadata
     
    final @NonNull Optional<Object>
     
    final <T> @NonNull Optional<T>
     
    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

      @NonNull public final @NonNull Optional<Object> getAttribute(CharSequence name)
      Specified by:
      getAttribute in interface io.micronaut.core.attr.AttributeHolder
    • getAttribute

      @NonNull public final <T> @NonNull Optional<T> getAttribute(CharSequence name, Class<T> type)
      Specified by:
      getAttribute in interface io.micronaut.core.attr.AttributeHolder
    • getAttributes

      @NonNull public final @NonNull io.micronaut.core.convert.value.ConvertibleValues<Object> getAttributes()
      Specified by:
      getAttributes in interface io.micronaut.core.attr.AttributeHolder
    • getResultArgument

      @NonNull public final @NonNull io.micronaut.core.type.Argument<R> getResultArgument()
      Specified by:
      getResultArgument in interface StoredDataOperation<R>
      Returns:
      The query result type
    • getAnnotationMetadata

      @NonNull public final @NonNull io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()
      Specified by:
      getAnnotationMetadata in interface io.micronaut.core.annotation.AnnotationMetadataProvider