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

public class DefaultStoredDataOperation<R> extends Object implements StoredDataOperation<R>
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

    Constructors
    Constructor
    Description
    DefaultStoredDataOperation(io.micronaut.inject.ExecutableMethod<?,?> method)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final 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

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

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