IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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


@Retention(value=RUNTIME)
public @interface CompositeIndex

Used in conjunction with the CompositeIndexes annotation, the CompositeIndex annotation defines an index that has multiple attributes associated with it.

Since:
7.0
See Also:
CompositeIndexes

Required Element Summary
 String attributeNames
          A comma-delimited list of attribute names that make up the composite index.
 
Optional Element Summary
 String name
          The name of the composite index.
 

Element Detail

attributeNames

public abstract String attributeNames
A comma-delimited list of attribute names that make up the composite index. For example: "state,city,zip".

Returns:
the comma-delimited list of attribute names to included in the index.

name

public abstract String name
The name of the composite index. If the index does not exist, then one will be created.

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.