@Target(value=METHOD) @Retention(value=RUNTIME) public @interface SpaceFifoGroupingIndex
Defines a space fifo grouping index. Can be defined on a property getter. Fifo grouping indexes on nested object properties are defined on the nested object getter. If defined, there must be another property in the class, marked asSpaceFifoGroupingProperty
A compound index will be created for the fifo grouping index and the fifo grouping property. For example: To index the 'socialSecurity' property1. @SpaceFifoGroupingIndex public long getSocialSecurity() { return socialSecurity; }
To index 'personalInfo.name':2. @SpaceFifoGroupingIndex(path = "name") public Info getPersonalInfo() { return personalInfo; }
Copyright © GigaSpaces.