Annotation Interface Index


@Target({}) @Retention(RUNTIME) public @interface Index
Describes an index.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Columns to include in the index.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The type of the index.
    The name of the index.
  • Element Details

    • columns

      ColumnRef[] columns
      Columns to include in the index.
      Returns:
      Columns to include in the index.
    • value

      String value
      The name of the index. If it's empty, the name will be autogenerated from the column names.
      Returns:
      The name of the index.
      Default:
      ""
    • type

      IndexType type
      The type of the index.
      Returns:
      The type of the index.
      Default:
      DEFAULT