public class BulkDataItem extends EntryAdapter implements InternalBulkItem
_converter_entryHolder_typeDesc| Constructor and Description |
|---|
BulkDataItem(IEntryHolder entryHolder,
ITypeDesc typeDesc,
short operation)
Constructs a
BulkDataItem out of IEntryHolder and TypeTableEntry. |
BulkDataItem(IEntryHolder entryHolder,
ITypeDesc typeDesc,
short operation,
IDataConverter<IEntryPacket> converter)
Constructs a
BulkDataItem out of IEntryHolder and TypeTableEntry.Given converter is used for internal entry conversion. |
| Modifier and Type | Method and Description |
|---|---|
SpaceDocument |
getDataAsDocument() |
Object |
getDataAsObject() |
DataSyncOperationType |
getDataSyncOperationType() |
String |
getIdPropertyName() |
Object |
getIdPropertyValue() |
Object |
getItem()
Return the data item
|
Map<String,Object> |
getItemValues() |
short |
getOperation()
Return the operation to execute
|
Object |
getSpaceId() |
String |
getTypeName() |
String |
getUid() |
boolean |
supportsDataAsDocument() |
boolean |
supportsDataAsObject() |
boolean |
supportsGetSpaceId() |
boolean |
supportsGetTypeDescriptor() |
String |
toString() |
getConverter, getTypeDescriptor, setConverter, toDocument, toDocument, toEntry, toEntry, toEntryPacket, toObjectgetClassName, getEntry, getMapEntry, setClassName, toStringgetFieldsValues, getFieldValue, getFieldValue, getHandback, getNotifyType, getTimeToLive, getUID, getVersion, isTransient, setFieldValue, setFieldValuegetCodebase, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldType, getIndexIndicators, getObject, getPrimaryKeyName, getProperties, getRoutingFieldName, getSuperClassesNames, hasDummyTTE, isFifo, isIndexedField, isReplicatableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetConverter, toEntryPacketgetTypeDescriptorpublic BulkDataItem(IEntryHolder entryHolder, ITypeDesc typeDesc, short operation)
BulkDataItem out of IEntryHolder and TypeTableEntry.entryHolder - underlying entry holdertypeDesc - underlying entry type informationoperation - one of the qualified BulkItem operations.public BulkDataItem(IEntryHolder entryHolder, ITypeDesc typeDesc, short operation, IDataConverter<IEntryPacket> converter)
BulkDataItem out of IEntryHolder and TypeTableEntry.public short getOperation()
BulkItemgetOperation in interface BulkItemBulkItem.REMOVE/BulkItem.UPDATE/BulkItem.WRITE/BulkItem.PARTIAL_UPDATEpublic String toString()
toString in class CacheEntrypublic String getTypeName()
getTypeName in interface BulkItempublic String getIdPropertyName()
getIdPropertyName in interface BulkItempublic Object getIdPropertyValue()
getIdPropertyValue in interface BulkItempublic Object getSpaceId()
getSpaceId in interface DataSyncOperationpublic boolean supportsGetSpaceId()
supportsGetSpaceId in interface DataSyncOperationDataSyncOperation.getSpaceId() operation.public Map<String,Object> getItemValues()
getItemValues in interface BulkItempublic String getUid()
getUid in interface DataSyncOperationpublic DataSyncOperationType getDataSyncOperationType()
getDataSyncOperationType in interface DataSyncOperationpublic Object getDataAsObject()
getDataAsObject in interface DataSyncOperationDataSyncOperation.supportsDataAsObject() return true, otherwise an exception will be thrown.public SpaceDocument getDataAsDocument()
getDataAsDocument in interface DataSyncOperationDataSyncOperation.supportsDataAsDocument() return true, otherwise an exception will be thrown.public boolean supportsGetTypeDescriptor()
supportsGetTypeDescriptor in interface DataSyncOperationDataSyncOperation.getTypeDescriptor() operation.public boolean supportsDataAsObject()
supportsDataAsObject in interface DataSyncOperationDataSyncOperation.getDataAsObject() operation.public boolean supportsDataAsDocument()
supportsDataAsDocument in interface DataSyncOperationDataSyncOperation.getDataAsDocument() operation.Copyright © GigaSpaces.