GigaSpaces XAP 10.0.1 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.

Since:
5.1
Author:
Lior Ben Yizhak

Optional Element Summary
 com.gigaspaces.metadata.SpaceDocumentSupport documentSupport
          Defines the document support of the annotated property.
 SpaceProperty.IndexType index
          Deprecated. since 7.1 . Use @SpaceIndex instead
 String nullValue
          To designate primitive types null value a matchable fields for the space.
 

index

@Deprecated
public abstract SpaceProperty.IndexType index
Deprecated. since 7.1 . Use @SpaceIndex instead

Define if this field data is indexed. Querying indexed fields speed up read and take operations.

Returns:
index type
Default:
com.gigaspaces.annotation.pojo.SpaceProperty.IndexType.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:
""

documentSupport

public abstract com.gigaspaces.metadata.SpaceDocumentSupport documentSupport
Defines the document support of the annotated property.

Since:
8.0.1
Default:
com.gigaspaces.metadata.SpaceDocumentSupport.DEFAULT

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.