package vtgate

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

message CloseSessionRequest

vtgate.proto:422

CloseSessionRequest is the payload to CloseSession.

Used as request type in: vtgateservice.Vitess.CloseSession

message CloseSessionResponse

vtgate.proto:432

CloseSessionResponse is the returned value from CloseSession.

Used as response type in: vtgateservice.Vitess.CloseSession

enum CommitOrder

vtgate.proto:47

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

message ExecuteBatchRequest

vtgate.proto:246

ExecuteBatchRequest is the payload to ExecuteBatch.

Used as request type in: vtgateservice.Vitess.ExecuteBatch

message ExecuteBatchResponse

vtgate.proto:268

ExecuteBatchResponse is the returned value from ExecuteBatch.

Used as response type in: vtgateservice.Vitess.ExecuteBatch

message ExecuteMultiRequest

vtgate.proto:181

ExecuteMultiRequest is the payload to ExecuteMulti.

Used as request type in: vtgateservice.Vitess.ExecuteMulti

message ExecuteMultiResponse

vtgate.proto:194

ExecuteMultiResponse is the returned value from ExecuteMulti.

Used as response type in: vtgateservice.Vitess.ExecuteMulti

message ExecuteRequest

vtgate.proto:209

ExecuteRequest is the payload to Execute.

Used as request type in: vtgateservice.Vitess.Execute

message ExecuteResponse

vtgate.proto:232

ExecuteResponse is the returned value from Execute.

Used as response type in: vtgateservice.Vitess.Execute

message PrepareData

vtgate.proto:167

PrepareData keeps the prepared statement and other information related for execution of it.

Used in: Session

message PrepareRequest

vtgate.proto:393

PrepareRequest is the payload to Prepare.

Used as request type in: vtgateservice.Vitess.Prepare

message PrepareResponse

vtgate.proto:406

PrepareResponse is the returned value from Prepare.

Used as response type in: vtgateservice.Vitess.Prepare

message ReadAfterWrite

vtgate.proto:174

ReadAfterWrite contains information regarding gtid set and timeout Also if the gtid information needs to be passed to client.

Used in: Session

message ResolveTransactionRequest

vtgate.proto:342

ResolveTransactionRequest is the payload to ResolveTransaction.

message ResolveTransactionResponse

vtgate.proto:352

ResolveTransactionResponse is the returned value from Rollback.

(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: CloseSessionRequest, ExecuteBatchRequest, ExecuteBatchResponse, ExecuteMultiRequest, ExecuteMultiResponse, ExecuteRequest, ExecuteResponse, PrepareRequest, PrepareResponse, StreamExecuteMultiRequest, StreamExecuteMultiResponse, StreamExecuteRequest, StreamExecuteResponse

message Session.ShardSession

vtgate.proto:72

Used in: Session

message StreamExecuteMultiRequest

vtgate.proto:314

StreamExecuteMultiRequest is the payload to StreamExecuteMulti.

Used as request type in: vtgateservice.Vitess.StreamExecuteMulti

message StreamExecuteMultiResponse

vtgate.proto:327

StreamExecuteMultiResponse is the returned value from StreamExecuteMulti.

Used as response type in: vtgateservice.Vitess.StreamExecuteMulti

message StreamExecuteRequest

vtgate.proto:282

StreamExecuteRequest is the payload to StreamExecute.

Used as request type in: vtgateservice.Vitess.StreamExecute

message StreamExecuteResponse

vtgate.proto:303

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 VStreamFlags

vtgate.proto:355

Used in: VStreamRequest

message VStreamRequest

vtgate.proto:374

VStreamRequest is the payload for VStream.

Used as request type in: vtgateservice.Vitess.VStream

message VStreamResponse

vtgate.proto:388

VStreamResponse is streamed by VStream.

Used as response type in: vtgateservice.Vitess.VStream