public class OBeginTransactionRequest extends Object implements OBinaryRequest<OBeginTransactionResponse>
Constructor and Description |
---|
OBeginTransactionRequest() |
OBeginTransactionRequest(int txId,
boolean hasContent,
boolean usingLog,
Iterable<ORecordOperation> operations,
Map<String,OTransactionIndexChanges> indexChanges) |
Modifier and Type | Method and Description |
---|---|
OBeginTransactionResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
byte |
getCommand() |
String |
getDescription() |
List<IndexChange> |
getIndexChanges() |
List<ORecordOperationRequest> |
getOperations() |
int |
getTxId() |
boolean |
isHasContent() |
boolean |
isUsingLog() |
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 OBeginTransactionRequest(int txId, boolean hasContent, boolean usingLog, Iterable<ORecordOperation> operations, Map<String,OTransactionIndexChanges> indexChanges)
public OBeginTransactionRequest()
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write
in interface OBinaryRequest<OBeginTransactionResponse>
IOException
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read
in interface OBinaryRequest<OBeginTransactionResponse>
IOException
public byte getCommand()
getCommand
in interface OBinaryRequest<OBeginTransactionResponse>
public OBeginTransactionResponse createResponse()
createResponse
in interface OBinaryRequest<OBeginTransactionResponse>
public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute
in interface OBinaryRequest<OBeginTransactionResponse>
public String getDescription()
getDescription
in interface OBinaryRequest<OBeginTransactionResponse>
public List<ORecordOperationRequest> getOperations()
public List<IndexChange> getIndexChanges()
public int getTxId()
public boolean isUsingLog()
public boolean isHasContent()
Copyright © 2009–2020 OrientDB. All rights reserved.