
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, waitrequireDatabaseSession, requiredServerRole, requireServerUserpublic 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>IOExceptionpublic void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read in interface OBinaryRequest<OCreateRecordResponse>IOExceptionpublic 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–2025 OrientDB. All rights reserved.