package vtgate

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

enum CommitOrder

vtgate.proto:47

CommitOrder is used to designate which of the ShardSessions get used for transactions.

message ExecuteBatchRequest

vtgate.proto:173

ExecuteBatchRequest is the payload to ExecuteBatch.

Used as request type in: vtgateservice.Vitess.ExecuteBatch

message ExecuteBatchResponse

vtgate.proto:194

ExecuteBatchResponse is the returned value from ExecuteBatch.

Used as response type in: vtgateservice.Vitess.ExecuteBatch

message ExecuteRequest

vtgate.proto:137

ExecuteRequest is the payload to Execute.

Used as request type in: vtgateservice.Vitess.Execute

message ExecuteResponse

vtgate.proto:159

ExecuteResponse is the returned value from Execute.

Used as response type in: vtgateservice.Vitess.Execute

message ResolveTransactionRequest

vtgate.proto:237

ResolveTransactionRequest is the payload to ResolveTransaction.

Used as request type in: vtgateservice.Vitess.ResolveTransaction

message ResolveTransactionResponse

vtgate.proto:247

ResolveTransactionResponse is the returned value from Rollback.

Used as response type in: vtgateservice.Vitess.ResolveTransaction

(message has no fields)

message Session

vtgate.proto:68

Session objects are exchanged like cookies through various calls to VTGate. The behavior differs between V2 & V3 APIs. V3 APIs are Execute, ExecuteBatch and StreamExecute. All other APIs are V2. For the V3 APIs, the session must be sent with every call to Execute or ExecuteBatch. For the V2 APIs, Begin does not accept a session. It instead returns a brand new one with in_transaction set to true. After a call to Commit or Rollback, the session can be discarded. If you're not in a transaction, Session is an optional parameter for the V2 APIs.

Used in: ExecuteBatchRequest, ExecuteBatchResponse, ExecuteRequest, ExecuteResponse, StreamExecuteRequest

message Session.ShardSession

vtgate.proto:72

Used in: Session

message StreamExecuteRequest

vtgate.proto:208

StreamExecuteRequest is the payload to StreamExecute.

Used as request type in: vtgateservice.Vitess.StreamExecute

message StreamExecuteResponse

vtgate.proto:229

StreamExecuteResponse is the returned value from StreamExecute. The session is currently not returned because StreamExecute is not expected to modify it.

Used as response type in: vtgateservice.Vitess.StreamExecute

enum TransactionMode

vtgate.proto:33

TransactionMode controls the execution of distributed transaction across multiple shards.

Used in: Session

message VStreamRequest

vtgate.proto:251

VStreamRequest is the payload for VStream.

Used as request type in: vtgateservice.Vitess.VStream

message VStreamResponse

vtgate.proto:264

VStreamResponse is streamed by VStream.

Used as response type in: vtgateservice.Vitess.VStream