4.3.2.5. Annotation Type Index

4.3.2.5.1. Synopsis
4.3.2.5.2. columns
4.3.2.5.3. name
4.3.2.5.4. unique

Annotation for a database index.

4.3.2.5.1. 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 com.mysql.clusterj.annotation.Index {
  public java.­lang.­String name ;
  public java.­lang.­String unique ;
  public com.­mysql.­clusterj.­annotation.­Column[] columns ;
}
4.3.2.5.2. columns

Columns that compose this index.

Parameters

return

columns that compose this index

4.3.2.5.3. name

Name of the index

Parameters

return

the name of the index

4.3.2.5.4. unique

Whether this index is unique

Parameters

return

whether this index is unique