public class OStorageOperationResult<RET> extends Object implements Externalizable
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 stateConstructor and Description |
---|
OStorageOperationResult()
OStorageOperationResult void constructor as required for Exernalizable
|
OStorageOperationResult(RET result) |
OStorageOperationResult(RET result,
boolean moved) |
OStorageOperationResult(RET result,
byte[] content,
boolean moved) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getModifiedRecordContent() |
RET |
getResult() |
boolean |
isMoved() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public OStorageOperationResult()
public OStorageOperationResult(RET result)
public OStorageOperationResult(RET result, boolean moved)
public OStorageOperationResult(RET result, byte[] content, boolean moved)
public byte[] getModifiedRecordContent()
public boolean isMoved()
public RET getResult()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2009–2020 OrientDB. All rights reserved.