com.gigaspaces.annotation.pojo
Annotation Type SpaceFifoGroupingProperty
@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, the TakeModifiers.FIFO_GROUPING_POLL
or ReadModifiers.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 as SpaceFifoGroupingProperty
.
For example:
To index the 'socialSecurity' property
1. @spaceFifoGroupingProperty
public long getSocialSecurity() {
return socialSecurity;
}
To index 'personalInfo.name':
2. @spaceFifoGroupingProperty(path = "name")
public Info getPersonalInfo() {
return personalInfo;
}
- Since:
- 9.0
- Author:
- yael
path
public abstract String path
- Default:
- ""
Copyright © GigaSpaces.