Annotation Type LibraryOperator


@Retention(RUNTIME) @Target(FIELD) public @interface LibraryOperator
An annotation that is read by SqlLibraryOperatorTableFactory to add functions and operators to a library.

Typically, such collections are associated with a particular dialect or database. For example, SqlLibrary.ORACLE is a collection of functions that are in the Oracle database but not the SQL standard.

In SqlLibraryOperatorTableFactory this annotation is applied to function definitions to include them in a particular library. It allows an operator to belong to more than one library.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The set of libraries that this function or operator belongs to.
  • Element Details

    • libraries

      SqlLibrary[] libraries
      The set of libraries that this function or operator belongs to. Must not be null or empty.