Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Index

Annotation for a database index. Synopsis
 @Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) public @interface Index {
  public String name ;
  public String unique ;
  public Column[] columns ;
} columns

Columns that compose this index.

Table 4.85 columns

Parameter Description
return columns that compose this index name

Name of the index

Table 4.86 name

Parameter Description
return the name of the index unique

Whether this index is unique

Table 4.87 unique

Parameter Description
return whether this index is unique

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.