|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface CompoundSpaceIndex
Defines a compound space index.
Should be defined on the Pojo level
Segements of the compound index should be specified. Each segment must be a property or a path within a property
Only basic indices are supported
For example:
The Pojo has 2 properties 'socialSecurity' property and 'personalInfo' which has a 'name' property
A compound index can be defined using both properties
- Since:
- 9.5
- Author:
- Yechiel Fefer
Required Element Summary
String[]
paths
Optional Element Summary
boolean
unique
Indicates if unique constraint is applied for this index.
Element Detail
paths
public abstract String[] paths
unique
public abstract boolean unique
- Indicates if unique constraint is applied for this index.
The constraint is per partition.
default is false
- Default:
- false
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
GigaSpaces XAP 9.7.2 API
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: REQUIRED | OPTIONAL
DETAIL: ELEMENT
Copyright © GigaSpaces.