Annotation Interface APINativeQuery


@Retention(SOURCE) @Target(METHOD) public @interface APINativeQuery
This annotation marks a static method in an entity class that returns a NativeQuery. This is used to generate an API endpoint returning the results of that query. Such methods need to accept a Request<T> object as a parameter.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • path

      String path
      Returns:
      The path to use for the API generation.