package vtgate

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

message CloseSessionRequest

vtgate.proto:401

CloseSessionRequest is the payload to CloseSession.

Used as request type in: vtgateservice.Vitess.CloseSession

message CloseSessionResponse

vtgate.proto:411

CloseSessionResponse is the returned value from CloseSession.

Used as response type in: vtgateservice.Vitess.CloseSession

enum CommitOrder

vtgate.proto:60

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

message ExecuteBatchRequest

vtgate.proto:264

ExecuteBatchRequest is the payload to ExecuteBatch.

Used as request type in: vtgateservice.Vitess.ExecuteBatch

message ExecuteBatchResponse

vtgate.proto:286

ExecuteBatchResponse is the returned value from ExecuteBatch.

Used as response type in: vtgateservice.Vitess.ExecuteBatch

message ExecuteRequest

vtgate.proto:229

ExecuteRequest is the payload to Execute.

Used as request type in: vtgateservice.Vitess.Execute

message ExecuteResponse

vtgate.proto:250

ExecuteResponse is the returned value from Execute.

Used as response type in: vtgateservice.Vitess.Execute

message PrepareRequest

vtgate.proto:374

PrepareRequest is the payload to Prepare.

Used as request type in: vtgateservice.Vitess.Prepare

message PrepareResponse

vtgate.proto:387

PrepareResponse is the returned value from Prepare.

Used as response type in: vtgateservice.Vitess.Prepare

message ReadAfterWrite

vtgate.proto:221

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

Used in: Session

enum ReadAfterWriteConsistency

vtgate.proto:71

Used in: ReadAfterWrite

message ResolveTransactionRequest

vtgate.proto:329

ResolveTransactionRequest is the payload to ResolveTransaction.

Used as request type in: vtgateservice.Vitess.ResolveTransaction

message ResolveTransactionResponse

vtgate.proto:339

ResolveTransactionResponse is the returned value from Rollback.

Used as response type in: vtgateservice.Vitess.ResolveTransaction

(message has no fields)

message ResolverOptions

vtgate.proto:212

Used in: Session

message Session

vtgate.proto:92

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, ExecuteRequest, ExecuteResponse, PrepareRequest, PrepareResponse, StreamExecuteRequest

message Session.ShardSession

vtgate.proto:96

Used in: Session

message StreamExecuteRequest

vtgate.proto:300

StreamExecuteRequest is the payload to StreamExecute.

Used as request type in: vtgateservice.Vitess.StreamExecute

message StreamExecuteResponse

vtgate.proto:321

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 TransactionAccessMode

vtgate.proto:50

Used in: Session

enum TransactionMode

vtgate.proto:39

TransactionMode controls the execution of distributed transaction across multiple shards.

Used in: Session

message VStreamFlags

vtgate.proto:342

Used in: VStreamRequest

message VStreamRequest

vtgate.proto:355

VStreamRequest is the payload for VStream.

Used as request type in: vtgateservice.Vitess.VStream

message VStreamResponse

vtgate.proto:369

VStreamResponse is streamed by VStream.

Used as response type in: vtgateservice.Vitess.VStream