GigaSpaces XAP 7.0 API

com.gigaspaces.annotation.pojo
Annotation Type SpaceProperty


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface SpaceProperty

Defines a method annotation type with full meta-data of POJO fields. The getter method of the POJO object provides a matchable fields for the space. Per getter method you are able to provide the desired annotation.

Version:
5.1
Author:
Lior Ben Yizhak

Optional Element Summary
 SpaceProperty.IndexType index
          Define if this field data is indexed.
 String nullValue
          To designate primitive types null value a matchable fields for the space.
 

index

public abstract SpaceProperty.IndexType index
Define if this field data is indexed. Querying indexed fields speed up read and take operations.

Default:
NOT_SET

nullValue

public abstract String nullValue
To designate primitive types null value a matchable fields for the space. Per getter method you are able to provide the desired annotation Specify a value to be treaded as null value

Default:
""

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.