Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 4.4Mb
PDF (A4) - 4.4Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.9Mb
HTML Download (Zip) - 1.9Mb


4.3.2.5 Index

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 Index {
  public String name ;
  public String unique ;
  public Column[] columns ;
}

Figure 4.27 Index Class

Index Class

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


User Comments
Sign Up Login You must be logged in to post a comment.