IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.em.annotations
Annotation Type Index


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Index

Identifies an entity attribute as indexed. The ObjectGrid will create an index if necessary for the attribute.

To create a composite index that has more than one attribute, use the CompositeIndexes annotation.

Since:
WAS XD 6.1

Optional Element Summary
 String name
          The name of the index use for this attribute.
 

name

public abstract String name
The name of the index use for this attribute. If the index does not exist, then one will be created. If the name is not specified, a name will be generated automatically.

Returns:
the name of the index
Default:
""

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.