package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev
# Constants
MULTI allows distributed transactions with best effort commit.
SINGLE disallows distributed transactions.
TWOPC is for distributed transactions with atomic commits.
UNSPECIFIED uses the transaction mode set by the VTGate flag 'transaction_mode'.
# Structs
BeginRequest is the payload to Begin.
BeginResponse is the returned value from Begin.
BoundKeyspaceIdQuery represents a single query request for the specified list of keyspace ids.
BoundShardQuery represents a single query request for the specified list of shards.
CommitRequest is the payload to Commit.
CommitResponse is the returned value from Commit.
ExecuteBatchKeyspaceIdsRequest is the payload to ExecuteBatchKeyspaceId.
ExecuteBatchKeyspaceIdsResponse is the returned value from ExecuteBatchKeyspaceId.
ExecuteBatchRequest is the payload to ExecuteBatch.
ExecuteBatchResponse is the returned value from ExecuteBatch.
ExecuteBatchShardsRequest is the payload to ExecuteBatchShards.
ExecuteBatchShardsResponse is the returned value from ExecuteBatchShards.
ExecuteEntityIdsRequest is the payload to ExecuteEntityIds.
ExecuteEntityIdsResponse is the returned value from ExecuteEntityIds.
ExecuteKeyRangesRequest is the payload to ExecuteKeyRanges.
ExecuteKeyRangesResponse is the returned value from ExecuteKeyRanges.
ExecuteKeyspaceIdsRequest is the payload to ExecuteKeyspaceIds.
ExecuteKeyspaceIdsResponse is the returned value from ExecuteKeyspaceIds.
ExecuteRequest is the payload to Execute.
ExecuteResponse is the returned value from Execute.
ExecuteShardsRequest is the payload to ExecuteShards.
ExecuteShardsResponse is the returned value from ExecuteShards.
GetSrvKeyspaceRequest is the payload to GetSrvKeyspace.
GetSrvKeyspaceResponse is the returned value from GetSrvKeyspace.
IdKeyspaceId represents an id and keyspace_id pair.
MessageAckKeyspaceIdsRequest is the payload to MessageAckKeyspaceIds.
MessageAckRequest is the request payload for MessageAck.
MessageStreamRequest is the request payload for MessageStream.
ResolveTransactionRequest is the payload to ResolveTransaction.
ResolveTransactionResponse is the returned value from Rollback.
RollbackRequest is the payload to Rollback.
RollbackResponse is the returned value from Rollback.
Session objects are exchanged like cookies through various calls to VTGate.
SplitQueryRequest is the payload to SplitQuery.
SplitQueryResponse is the returned value from SplitQuery.
StreamExecuteKeyRangesRequest is the payload to StreamExecuteKeyRanges.
StreamExecuteKeyRangesResponse is the returned value from StreamExecuteKeyRanges.
StreamExecuteKeyspaceIdsRequest is the payload to StreamExecuteKeyspaceIds.
StreamExecuteKeyspaceIdsResponse is the returned value from StreamExecuteKeyspaceIds.
StreamExecuteRequest is the payload to StreamExecute.
StreamExecuteResponse is the returned value from StreamExecute.
StreamExecuteShardsRequest is the payload to StreamExecuteShards.
StreamExecuteShardsResponse is the returned value from StreamExecuteShards.
UpdateStreamRequest is the payload to UpdateStream.
UpdateStreamResponse is streamed by UpdateStream.
# Type aliases
TransactionMode controls the execution of distributed transaction across multiple shards.