Module vitess_grpc::query

source ·

Modules

Structs

  • AggregateStats contains information about the health of a group of tablets for a Target. It is used to propagate stats from a vtgate to another, or from the Gateway layer of a vtgate to the routing layer.
  • BeginExecuteRequest is the payload to BeginExecute
  • BeginExecuteResponse is the returned value from BeginExecute
  • BeginRequest is the payload to Begin
  • BeginResponse is the returned value from Begin
  • BeginStreamExecuteRequest is the payload to BeginStreamExecute
  • BeginStreamExecuteResponse is the returned value from BeginStreamExecute
  • BindVariable represents a single bind variable in a Query.
  • BoundQuery is a query with its bind variables
  • CommitPreparedRequest is the payload to CommitPrepared
  • CommitPreparedResponse is the returned value from CommitPrepared
  • CommitRequest is the payload to Commit
  • CommitResponse is the returned value from Commit
  • ConcludeTransactionRequest is the payload to ConcludeTransaction
  • ConcludeTransactionResponse is the returned value from ConcludeTransaction
  • CreateTransactionRequest is the payload to CreateTransaction
  • CreateTransactionResponse is the returned value from CreateTransaction
  • EventToken is a structure that describes a point in time in a replication stream on one shard. The most recent known replication position can be retrieved from vttablet when executing a query. It is also sent with the replication streams from the binlog service.
  • ExecuteOptions is passed around for all Execute calls.
  • ExecuteRequest is the payload to Execute
  • ExecuteResponse is the returned value from Execute
  • Field describes a single column returned by a query
  • GetSchemaRequest is the payload to GetSchema
  • GetSchemaResponse is the returned value from GetSchema
  • MessageAckRequest is the request payload for MessageAck.
  • MessageAckResponse is the response for MessageAck.
  • MessageStreamRequest is the request payload for MessageStream.
  • MessageStreamResponse is a response for MessageStream.
  • PrepareRequest is the payload to Prepare
  • PrepareResponse is the returned value from Prepare
  • QueryResult is returned by Execute and ExecuteStream.
  • QueryWarning is used to convey out of band query execution warnings by storing in the vtgate.Session
  • ReadTransactionRequest is the payload to ReadTransaction
  • ReadTransactionResponse is the returned value from ReadTransaction
  • RealtimeStats contains information about the tablet status. It is only valid for a single tablet.
  • ReleaseRequest is the payload to Release
  • ReleaseResponse is the returned value from Release
  • ReserveBeginExecuteRequest is the payload to ReserveBeginExecute
  • ReserveBeginExecuteResponse is the returned value from ReserveBeginExecute
  • ReserveBeginStreamExecuteRequest is the payload to ReserveBeginStreamExecute
  • ReserveBeginStreamExecuteResponse is the returned value from ReserveBeginStreamExecute
  • ReserveExecuteRequest is the payload to ReserveExecute
  • ReserveExecuteResponse is the returned value from ReserveExecute
  • ReserveStreamExecuteRequest is the payload to ReserveStreamExecute
  • ReserveStreamExecuteResponse is the returned value from ReserveStreamExecute
  • ResultWithError represents a query response in the form of result or error but not both. TODO: To be used in ExecuteBatchResponse and BeginExecuteBatchResponse.
  • RollbackPreparedRequest is the payload to RollbackPrepared
  • RollbackPreparedResponse is the returned value from RollbackPrepared
  • RollbackRequest is the payload to Rollback
  • RollbackResponse is the returned value from Rollback
  • Row is a database row.
  • SetRollbackRequest is the payload to SetRollback
  • SetRollbackResponse is the returned value from SetRollback
  • StartCommitRequest is the payload to StartCommit
  • StartCommitResponse is the returned value from StartCommit
  • StreamEvent describes a set of transformations that happened as a single transactional unit on a server. It is streamed back by the Update Stream calls.
  • StreamExecuteRequest is the payload to StreamExecute
  • StreamExecuteResponse is the returned value from StreamExecute
  • StreamHealthRequest is the payload for StreamHealth
  • StreamHealthResponse is streamed by StreamHealth on a regular basis. It is expected to be used between a vtgate and vttablet:
  • Target describes what the client expects the tablet is. If the tablet does not match, an error is returned.
  • TransactionMetadata contains the metadata for a distributed transaction.
  • Value represents a typed value.
  • VTGateCallerID is sent by VTGate to VTTablet to describe the caller. If possible, this information is secure. For instance, if using unique certificates that guarantee that VTGate->VTTablet traffic cannot be spoofed, then VTTablet can trust this information, and VTTablet will use it for tablet ACLs, for instance. Because of this security guarantee, this is different than the CallerID structure, which is not secure at all, because it is provided by the Vitess client.

Enums

  • Flag allows us to qualify types by their common properties.
  • Flags sent from the MySQL C API
  • SchemaTableType represents the type of table requested.
  • TransactionState represents the state of a distributed transaction.
  • Type defines the various supported data types in bind vars and query results.