Class OStorageOperationResult<RET>
java.lang.Object
com.orientechnologies.orient.core.storage.OStorageOperationResult<RET>
- All Implemented Interfaces:
Externalizable,Serializable
This class represent CRUD operation result RET is the actual result Stores addition information
about command execution process Flag
isMoved == true indicates that operation has been
executed on local OrientDB server node, isMoved == false indicates that operation has
been executed on remote OrientDB node. This information will help to maintain local indexes and
caches in consistent state- Since:
- 28.09.12 13:47
- Author:
- edegtyarenko
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOStorageOperationResult void constructor as required for ExernalizableOStorageOperationResult(RET result) OStorageOperationResult(RET result, boolean moved) OStorageOperationResult(RET result, byte[] content, boolean moved) -
Method Summary
-
Constructor Details
-
OStorageOperationResult
public OStorageOperationResult()OStorageOperationResult void constructor as required for Exernalizable -
OStorageOperationResult
-
OStorageOperationResult
-
OStorageOperationResult
-
-
Method Details
-
getModifiedRecordContent
public byte[] getModifiedRecordContent() -
isMoved
public boolean isMoved() -
getResult
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-