GigaSpaces XAP 9.5 API

com.gigaspaces.annotation.pojo
Annotation Type SpaceFifoGroupingIndex


@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 as SpaceFifoGroupingProperty
 A compound index will be created for the fifo grouping index and the fifo grouping property.
 
 For example:
  To index the 'socialSecurity' property
  
  1.    @SpaceFifoGroupingIndex
        public long getSocialSecurity() {
                return socialSecurity;
        }
  
  To index 'personalInfo.name': 
  
  2.    @SpaceFifoGroupingIndex(path = "name")
        public Info getPersonalInfo() {
                return personalInfo;
        }
        
 

Since:
9.0
Author:
yael

Optional Element Summary
 String path
           
 

path

public abstract String path
Default:
""

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.