@Retention(value=RUNTIME) @Target(value=TYPE) @Repeatable(value=Indices.class) public @interface Index
SQLEntity
.
The index will be picked up and created by Schema.computeRequiredSchemaChanges()
Modifier and Type | Required Element and Description |
---|---|
String[] |
columns
Contains the columns being indexed.
|
String |
name
Contains the name of the index.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
columnSettings |
boolean |
unique
Determines if the index implies an unique constraint on the combination of the given columns.
|
Copyright © 2018. All rights reserved.