Annotation Interface GlobalIndex


Specifies the index for the annotated entity.
    Example:

    @GlobalIndex(name="views_index", fields = {"name", "type"})
    public class Customer { ... }
 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    List of annotated class fields representing index columns.
    Index name.
  • Element Details

    • name

      String name
      Index name.
    • fields

      String[] fields
      List of annotated class fields representing index columns.