Package com.gigaspaces.datasource
Interface BulkItem
- All Superinterfaces:
DataSyncOperation
- All Known Subinterfaces:
InternalBulkItem
- All Known Implementing Classes:
BulkDataItem,ChangeBulkDataItem,MirrorBulkDataItem,MirrorChangeBulkDataItem,PartialUpdateBulkDataItem,PartialUpdateMirrorBulkItem
Deprecated.
BulkItem defines a single item in a bulk.
- Since:
- 6.0
- Author:
- anna
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortDeprecated.Represents Change operation but it is not supported using the BulkItem API, useSpaceSynchronizationEndpointinstead.static final shortDeprecated.Partial update operationstatic final shortDeprecated.Remove operationstatic final shortDeprecated.Update operationstatic final shortDeprecated.Write operation -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.getItem()Deprecated.Return the data itemDeprecated.shortDeprecated.Return the operation to executeDeprecated.Methods inherited from interface com.gigaspaces.sync.DataSyncOperation
getDataAsDocument, getDataAsObject, getDataSyncOperationType, getSpaceId, getTypeDescriptor, getUid, supportsDataAsDocument, supportsDataAsObject, supportsGetSpaceId, supportsGetTypeDescriptor
-
Field Details
-
REMOVE
static final short REMOVEDeprecated.Remove operation- See Also:
-
UPDATE
static final short UPDATEDeprecated.Update operation- See Also:
-
WRITE
static final short WRITEDeprecated.Write operation- See Also:
-
PARTIAL_UPDATE
static final short PARTIAL_UPDATEDeprecated.Partial update operation- See Also:
-
CHANGE
static final short CHANGEDeprecated.Represents Change operation but it is not supported using the BulkItem API, useSpaceSynchronizationEndpointinstead.- See Also:
-
-
Method Details
-
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
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
-
getChangedProperties
Deprecated.
-
SpaceSynchronizationEndpointandDataSyncOperationinstead.