GigaSpaces XAP 10.0.1 API

com.gigaspaces.datasource
Interface BulkItem

All Superinterfaces:
DataSyncOperation

Deprecated. since 9.5 - use SpaceSynchronizationEndpoint and DataSyncOperation instead.

@Deprecated
public interface BulkItem
extends DataSyncOperation

BulkItem defines a single item in a bulk.

Since:
6.0
Author:
anna
See Also:
BulkDataPersister

Field Summary
static short CHANGE
          Deprecated. Represents Change operation but it is not supported using the BulkItem API, use SpaceSynchronizationEndpoint instead.
static short PARTIAL_UPDATE
          Deprecated. Partial update operation
static short REMOVE
          Deprecated. Remove operation
static short UPDATE
          Deprecated. Update operation
static short WRITE
          Deprecated. Write operation
 
Method Summary
 String getIdPropertyName()
          Deprecated.  
 Object getIdPropertyValue()
          Deprecated.  
 Object getItem()
          Deprecated. Return the data item
 Map<String,Object> getItemValues()
          Deprecated.  
 short getOperation()
          Deprecated. Return the operation to execute
 String getTypeName()
          Deprecated.  
 
Methods inherited from interface com.gigaspaces.sync.DataSyncOperation
getDataAsDocument, getDataAsObject, getDataSyncOperationType, getSpaceId, getTypeDescriptor, getUid, supportsDataAsDocument, supportsDataAsObject, supportsGetSpaceId, supportsGetTypeDescriptor
 

Field Detail

REMOVE

static final short REMOVE
Deprecated. 
Remove operation

See Also:
Constant Field Values

UPDATE

static final short UPDATE
Deprecated. 
Update operation

See Also:
Constant Field Values

WRITE

static final short WRITE
Deprecated. 
Write operation

See Also:
Constant Field Values

PARTIAL_UPDATE

static final short PARTIAL_UPDATE
Deprecated. 
Partial update operation

See Also:
Constant Field Values

CHANGE

static final short CHANGE
Deprecated. 
Represents Change operation but it is not supported using the BulkItem API, use SpaceSynchronizationEndpoint instead.

See Also:
Constant Field Values
Method Detail

getItem

Object getItem()
Deprecated. 
Return the data item

Returns:
data item

getOperation

short getOperation()
Deprecated. 
Return the operation to execute

Returns:
operation type REMOVE/UPDATE/WRITE/PARTIAL_UPDATE

getTypeName

String getTypeName()
Deprecated. 
Returns:
the name of the type/class

getIdPropertyName

String getIdPropertyName()
Deprecated. 
Returns:
the name of the id property

getIdPropertyValue

Object getIdPropertyValue()
Deprecated. 
Returns:
the value of the id property

getItemValues

Map<String,Object> getItemValues()
Deprecated. 
Returns:
a map of the object properties. The keys are the names of the properties and their values is the object values. In case of a partial update - only the updated values are returned.s

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.