@Target(value=METHOD) @Retention(value=RUNTIME) public @interface SpaceIndexes
For example:
@SpaceIndexes(
{ @SpaceIndex(path = "personalInfo.id", type = IndexType.EXTENDED, unique = true),@SpaceIndex(path = "personalInfo.socialSecurity", type = IndexType.BASIC, unique = true) })
public Info getPersonalInfo() {
return personalInfo;
}
Modifier and Type | Required Element and Description |
---|---|
SpaceIndex[] |
value |
public abstract SpaceIndex[] value
Copyright © GigaSpaces.