Annotation Interface QueryResult


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Inherited public @interface QueryResult
Defines query result for database query execution. Is query result type is TABULAR it means default query result and JSON will mean result will contain single column with the JSON value.
Since:
4.0.0
Author:
radovanradic
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Supported query result types.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default column name for the JSON data.
  • Field Details

  • Element Details

    • column

      String column
      Returns:
      The column containing JSON result
      Default:
      "DATA"
    • jsonDataType

      JsonDataType jsonDataType
      Returns:
      The JSON data type that resulting column will hold. It helps to pick proper column reader based on result data type
      Default:
      DEFAULT