@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Index
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
legacy
The name of the legacy table index.
|
java.lang.String |
name
The converted name (at physical DB level) of this table index.
|
Modifier and Type | Optional Element and Description |
---|---|
IndexComponent[] |
components
Array of index components (fields with sorting directions).
|
boolean |
primary
Defines whether this table index is primary.
|
boolean |
unique
Defines whether this table index is unique.
|
boolean |
word
Defines whether this table index is word-index.
|
java.lang.String |
wordtablename
The names of the word table (for word index).
|
public abstract java.lang.String name
public abstract java.lang.String wordtablename
public abstract IndexComponent[] components