Class OCreateRecordRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.OCreateRecordRequest
- All Implemented Interfaces:
OBinaryAsyncRequest<OCreateRecordResponse>,OBinaryRequest<OCreateRecordResponse>
public class OCreateRecordRequest
extends Object
implements OBinaryAsyncRequest<OCreateRecordResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionOCreateRecordRequest(byte[] iContent, ORecordId iRid, byte iRecordType) OCreateRecordRequest(ORecord iContent, ORecordId iRid, byte iRecordType) -
Method Summary
Modifier and TypeMethodDescriptionexecute(OBinaryRequestExecutor executor) bytebytegetMode()bytegetRid()voidread(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) voidsetMode(byte mode) voidwrite(OChannelDataOutput network) 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
-
OCreateRecordRequest
public OCreateRecordRequest() -
OCreateRecordRequest
-
OCreateRecordRequest
-
-
Method Details
-
getMode
public byte getMode()- Specified by:
getModein interfaceOBinaryAsyncRequest<OCreateRecordResponse>
-
getCommand
public byte getCommand()- Specified by:
getCommandin interfaceOBinaryRequest<OCreateRecordResponse>
-
getDescription
- Specified by:
getDescriptionin interfaceOBinaryRequest<OCreateRecordResponse>
-
write
- Specified by:
writein interfaceOBinaryRequest<OCreateRecordResponse>- Throws:
IOException
-
read
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
readin interfaceOBinaryRequest<OCreateRecordResponse>- Throws:
IOException
-
getRid
-
getContent
-
getRecordType
public byte getRecordType() -
setMode
public void setMode(byte mode) - Specified by:
setModein interfaceOBinaryAsyncRequest<OCreateRecordResponse>
-
createResponse
- Specified by:
createResponsein interfaceOBinaryRequest<OCreateRecordResponse>
-
execute
- Specified by:
executein interfaceOBinaryRequest<OCreateRecordResponse>
-