Class ORecordOperationRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.tx.ORecordOperationRequest
-
Constructor Summary
ConstructorsConstructorDescriptionORecordOperationRequest(byte type, byte recordType, ORID id, ORID oldId, byte[] record, int version, boolean contentChanged) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(DataInput input) getId()getOldId()byte[]bytebytegetType()intbooleanvoidserialize(DataOutput output) voidsetContentChanged(boolean contentChanged) voidvoidvoidsetRecord(byte[] record) voidsetRecordType(byte recordType) voidsetType(byte type) voidsetVersion(int version)
-
Constructor Details
-
ORecordOperationRequest
public ORecordOperationRequest() -
ORecordOperationRequest
-
-
Method Details
-
getId
-
setId
-
getOldId
-
setOldId
-
getRecord
public byte[] getRecord() -
setRecord
public void setRecord(byte[] record) -
getRecordType
public byte getRecordType() -
setRecordType
public void setRecordType(byte recordType) -
getType
public byte getType() -
setType
public void setType(byte type) -
getVersion
public int getVersion() -
setVersion
public void setVersion(int version) -
setContentChanged
public void setContentChanged(boolean contentChanged) -
isContentChanged
public boolean isContentChanged() -
deserialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-