Annotation Interface DelegationPattern


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface DelegationPattern
Annotation that indicates to what databases a custom function can be delegated.

More specifically, this method annotation indicates:

  • Database that the custom function can be delegated to
  • What function of the database the Server has to execute when it wants to delegate the function to the database
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the database to which this custom function can be delegated.
    Expression that will be executed in the database when the Server wants to delegate this custom function.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Versions of the database to which this custom function can be delegated.
  • Element Details

    • databaseName

      String databaseName
      Name of the database to which this custom function can be delegated.
      Returns:
      name of the database to which this function can be delegated to.
    • pattern

      String pattern
      Expression that will be executed in the database when the Server wants to delegate this custom function.
      Returns:
      expression
    • databaseVersions

      String[] databaseVersions

      Versions of the database to which this custom function can be delegated.

      Do not add this parameter if the function can be delegated to any version of the database.

      Returns:
      Versions of the database to which this function can be delegated.
      Default:
      {}