Class OUpdateRecordRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.OUpdateRecordRequest
- All Implemented Interfaces:
OBinaryAsyncRequest<OUpdateRecordResponse>,OBinaryRequest<OUpdateRecordResponse>
public class OUpdateRecordRequest
extends Object
implements OBinaryAsyncRequest<OUpdateRecordResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionOUpdateRecordRequest(ORecordId iRid, byte[] iContent, int iVersion, boolean updateContent, byte iRecordType) OUpdateRecordRequest(ORecordId iRid, ORecord iContent, int iVersion, boolean updateContent, byte iRecordType) -
Method Summary
Modifier and TypeMethodDescriptionexecute(OBinaryRequestExecutor executor) bytebytegetMode()bytegetRid()intbooleanvoidread(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) voidsetMode(byte mode) voidwrite(OChannelDataOutput network, ORemoteClientSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.client.remote.OBinaryRequest
requireDatabaseSession, requiredServerRole, requireServerUser
-
Constructor Details
-
OUpdateRecordRequest
public OUpdateRecordRequest(ORecordId iRid, byte[] iContent, int iVersion, boolean updateContent, byte iRecordType) -
OUpdateRecordRequest
-
OUpdateRecordRequest
public OUpdateRecordRequest()
-
-
Method Details
-
getCommand
public byte getCommand()- Specified by:
getCommandin interfaceOBinaryRequest<OUpdateRecordResponse>
-
getDescription
- Specified by:
getDescriptionin interfaceOBinaryRequest<OUpdateRecordResponse>
-
read
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
readin interfaceOBinaryRequest<OUpdateRecordResponse>- Throws:
IOException
-
write
- Specified by:
writein interfaceOBinaryRequest<OUpdateRecordResponse>- Throws:
IOException
-
getContent
-
getMode
public byte getMode()- Specified by:
getModein interfaceOBinaryAsyncRequest<OUpdateRecordResponse>
-
getRecordType
public byte getRecordType() -
getRid
-
getVersion
public int getVersion() -
isUpdateContent
public boolean isUpdateContent() -
setMode
public void setMode(byte mode) - Specified by:
setModein interfaceOBinaryAsyncRequest<OUpdateRecordResponse>
-
createResponse
- Specified by:
createResponsein interfaceOBinaryRequest<OUpdateRecordResponse>
-
execute
- Specified by:
executein interfaceOBinaryRequest<OUpdateRecordResponse>
-