@Target(value=METHOD) @Retention(value=RUNTIME) public @interface SpaceFifoGroupingProperty
Defines a space fifo grouping property. Can be defined on a property getter. Fifo grouping property on nested object property is defined on the nested object getter. If defined, theTakeModifiers.FIFO_GROUPING_POLL
orReadModifiers.FIFO_GROUPING_POLL
modifiers can be used to get the take/read results in fifo order, when the fifo poll is grouped by the property marked asSpaceFifoGroupingProperty
. For example: To index the 'socialSecurity' property1. @spaceFifoGroupingProperty public long getSocialSecurity() { return socialSecurity; }
To index 'personalInfo.name':2. @spaceFifoGroupingProperty(path = "name") public Info getPersonalInfo() { return personalInfo; }
Copyright © GigaSpaces.