Package io.micronaut.data.annotation
Annotation Type Index
-
@Retention(RUNTIME) @Documented @Target({TYPE,FIELD,METHOD,ANNOTATION_TYPE}) @Repeatable(Indexes.class) @Inherited public @interface Index
Designates one of the indexes part of the indexes member within an Table annotation. Typically not used directly but instead mapped to via annotation such asjavax.persistence.Index
.- Since:
- 2.4
- Author:
- Davide Pugliese
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]
columns
(Required) The list of columns to be used to create an index.
-