public class OUpdateRecordRequest extends Object implements OBinaryAsyncRequest<OUpdateRecordResponse>
Constructor and Description |
---|
OUpdateRecordRequest() |
OUpdateRecordRequest(ORecordId iRid,
byte[] iContent,
int iVersion,
boolean updateContent,
byte iRecordType) |
OUpdateRecordRequest(ORecordId iRid,
ORecord iContent,
int iVersion,
boolean updateContent,
byte iRecordType) |
Modifier and Type | Method and Description |
---|---|
OUpdateRecordResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
byte |
getCommand() |
ORecord |
getContent() |
String |
getDescription() |
byte |
getMode() |
byte |
getRecordType() |
ORecordId |
getRid() |
int |
getVersion() |
boolean |
isUpdateContent() |
void |
read(OChannelDataInput channel,
int protocolVersion,
ORecordSerializer serializer) |
void |
setMode(byte mode) |
void |
write(OChannelDataOutput network,
OStorageRemoteSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requireDatabaseSession, requiredServerRole, requireServerUser
public OUpdateRecordRequest(ORecordId iRid, byte[] iContent, int iVersion, boolean updateContent, byte iRecordType)
public OUpdateRecordRequest(ORecordId iRid, ORecord iContent, int iVersion, boolean updateContent, byte iRecordType)
public OUpdateRecordRequest()
public byte getCommand()
getCommand
in interface OBinaryRequest<OUpdateRecordResponse>
public String getDescription()
getDescription
in interface OBinaryRequest<OUpdateRecordResponse>
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read
in interface OBinaryRequest<OUpdateRecordResponse>
IOException
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write
in interface OBinaryRequest<OUpdateRecordResponse>
IOException
public ORecord getContent()
public byte getMode()
getMode
in interface OBinaryAsyncRequest<OUpdateRecordResponse>
public byte getRecordType()
public ORecordId getRid()
public int getVersion()
public boolean isUpdateContent()
public void setMode(byte mode)
setMode
in interface OBinaryAsyncRequest<OUpdateRecordResponse>
public OUpdateRecordResponse createResponse()
createResponse
in interface OBinaryRequest<OUpdateRecordResponse>
public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute
in interface OBinaryRequest<OUpdateRecordResponse>
Copyright © 2009–2020 OrientDB. All rights reserved.