public class OCreateRecordRequest extends Object implements OBinaryAsyncRequest<OCreateRecordResponse>
Constructor and Description |
---|
OCreateRecordRequest() |
OCreateRecordRequest(byte[] iContent,
ORecordId iRid,
byte iRecordType) |
OCreateRecordRequest(ORecord iContent,
ORecordId iRid,
byte iRecordType) |
Modifier and Type | Method and Description |
---|---|
OCreateRecordResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
byte |
getCommand() |
ORecord |
getContent() |
String |
getDescription() |
byte |
getMode() |
byte |
getRecordType() |
ORecordId |
getRid() |
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 OCreateRecordRequest()
public OCreateRecordRequest(byte[] iContent, ORecordId iRid, byte iRecordType)
public byte getMode()
getMode
in interface OBinaryAsyncRequest<OCreateRecordResponse>
public byte getCommand()
getCommand
in interface OBinaryRequest<OCreateRecordResponse>
public String getDescription()
getDescription
in interface OBinaryRequest<OCreateRecordResponse>
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write
in interface OBinaryRequest<OCreateRecordResponse>
IOException
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read
in interface OBinaryRequest<OCreateRecordResponse>
IOException
public ORecordId getRid()
public ORecord getContent()
public byte getRecordType()
public void setMode(byte mode)
setMode
in interface OBinaryAsyncRequest<OCreateRecordResponse>
public OCreateRecordResponse createResponse()
createResponse
in interface OBinaryRequest<OCreateRecordResponse>
public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute
in interface OBinaryRequest<OCreateRecordResponse>
Copyright © 2009–2020 OrientDB. All rights reserved.