public class OBatchOperationsRequest extends Object implements OBinaryRequest<OBatchOperationsResponse>
Constructor and Description |
---|
OBatchOperationsRequest() |
OBatchOperationsRequest(int txId,
Iterable<ORecordOperation> operations) |
Modifier and Type | Method and Description |
---|---|
OBatchOperationsResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
byte |
getCommand() |
String |
getDescription() |
List<ORecordOperationRequest> |
getOperations() |
int |
getTxId() |
void |
read(OChannelDataInput channel,
int protocolVersion,
ORecordSerializer serializer) |
void |
write(OChannelDataOutput network,
OStorageRemoteSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requireDatabaseSession, requiredServerRole, requireServerUser
public OBatchOperationsRequest(int txId, Iterable<ORecordOperation> operations)
public OBatchOperationsRequest()
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write
in interface OBinaryRequest<OBatchOperationsResponse>
IOException
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read
in interface OBinaryRequest<OBatchOperationsResponse>
IOException
public byte getCommand()
getCommand
in interface OBinaryRequest<OBatchOperationsResponse>
public OBatchOperationsResponse createResponse()
createResponse
in interface OBinaryRequest<OBatchOperationsResponse>
public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute
in interface OBinaryRequest<OBatchOperationsResponse>
public String getDescription()
getDescription
in interface OBinaryRequest<OBatchOperationsResponse>
public List<ORecordOperationRequest> getOperations()
public int getTxId()
Copyright © 2009–2020 OrientDB. All rights reserved.