Package

com.youtube.vitess.proto

query

Permalink

package query

Visibility
  1. Public
  2. All

Type Members

  1. final case class BeginExecuteBatchRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, queries: Seq[BoundQuery] = _root_.scala.collection.Seq.empty, asTransaction: Boolean = false, options: Option[ExecuteOptions] = None) extends GeneratedMessage with Message[BeginExecuteBatchRequest] with Updatable[BeginExecuteBatchRequest] with Product with Serializable

    Permalink

    BeginExecuteBatchRequest is the payload to BeginExecuteBatch

    BeginExecuteBatchRequest is the payload to BeginExecuteBatch

    Annotations
    @SerialVersionUID()
  2. final case class BeginExecuteBatchResponse(error: Option[RPCError] = None, results: Seq[QueryResult] = _root_.scala.collection.Seq.empty, transactionId: Long = 0L) extends GeneratedMessage with Message[BeginExecuteBatchResponse] with Updatable[BeginExecuteBatchResponse] with Product with Serializable

    Permalink

    BeginExecuteBatchResponse is the returned value from BeginExecuteBatch

    BeginExecuteBatchResponse is the returned value from BeginExecuteBatch

    error

    error contains an application level error if necessary. Note the transaction_id may be set, even when an error is returned, if the begin worked but the execute failed.

    transactionId

    transaction_id might be non-zero even if an error is present.

    Annotations
    @SerialVersionUID()
  3. final case class BeginExecuteRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, query: Option[BoundQuery] = None, options: Option[ExecuteOptions] = None) extends GeneratedMessage with Message[BeginExecuteRequest] with Updatable[BeginExecuteRequest] with Product with Serializable

    Permalink

    BeginExecuteRequest is the payload to BeginExecute

    BeginExecuteRequest is the payload to BeginExecute

    Annotations
    @SerialVersionUID()
  4. final case class BeginExecuteResponse(error: Option[RPCError] = None, result: Option[QueryResult] = None, transactionId: Long = 0L) extends GeneratedMessage with Message[BeginExecuteResponse] with Updatable[BeginExecuteResponse] with Product with Serializable

    Permalink

    BeginExecuteResponse is the returned value from BeginExecute

    BeginExecuteResponse is the returned value from BeginExecute

    error

    error contains an application level error if necessary. Note the transaction_id may be set, even when an error is returned, if the begin worked but the execute failed.

    transactionId

    transaction_id might be non-zero even if an error is present.

    Annotations
    @SerialVersionUID()
  5. final case class BeginRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None) extends GeneratedMessage with Message[BeginRequest] with Updatable[BeginRequest] with Product with Serializable

    Permalink

    BeginRequest is the payload to Begin

    BeginRequest is the payload to Begin

    Annotations
    @SerialVersionUID()
  6. final case class BeginResponse(transactionId: Long = 0L) extends GeneratedMessage with Message[BeginResponse] with Updatable[BeginResponse] with Product with Serializable

    Permalink

    BeginResponse is the returned value from Begin

    BeginResponse is the returned value from Begin

    Annotations
    @SerialVersionUID()
  7. final case class BindVariable(type: Type = ..., value: ByteString = ..., values: Seq[Value] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[BindVariable] with Updatable[BindVariable] with Product with Serializable

    Permalink

    BindVariable represents a single bind variable in a Query.

    BindVariable represents a single bind variable in a Query.

    values

    values are set if type is TUPLE.

    Annotations
    @SerialVersionUID()
  8. final case class BoundQuery(sql: String = "", bindVariables: Map[String, BindVariable] = ...) extends GeneratedMessage with Message[BoundQuery] with Updatable[BoundQuery] with Product with Serializable

    Permalink

    BoundQuery is a query with its bind variables

    BoundQuery is a query with its bind variables

    sql

    sql is the SQL query to execute

    bindVariables

    bind_variables is a map of all bind variables to expand in the query

    Annotations
    @SerialVersionUID()
  9. final case class CommitPreparedRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, dtid: String = "") extends GeneratedMessage with Message[CommitPreparedRequest] with Updatable[CommitPreparedRequest] with Product with Serializable

    Permalink

    CommitPreparedRequest is the payload to CommitPrepared

    CommitPreparedRequest is the payload to CommitPrepared

    Annotations
    @SerialVersionUID()
  10. final case class CommitPreparedResponse() extends GeneratedMessage with Message[CommitPreparedResponse] with Updatable[CommitPreparedResponse] with Product with Serializable

    Permalink

    CommitPreparedResponse is the returned value from CommitPrepared

    CommitPreparedResponse is the returned value from CommitPrepared

    Annotations
    @SerialVersionUID()
  11. final case class CommitRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, transactionId: Long = 0L) extends GeneratedMessage with Message[CommitRequest] with Updatable[CommitRequest] with Product with Serializable

    Permalink

    CommitRequest is the payload to Commit

    CommitRequest is the payload to Commit

    Annotations
    @SerialVersionUID()
  12. final case class CommitResponse() extends GeneratedMessage with Message[CommitResponse] with Updatable[CommitResponse] with Product with Serializable

    Permalink

    CommitResponse is the returned value from Commit

    CommitResponse is the returned value from Commit

    Annotations
    @SerialVersionUID()
  13. final case class ConcludeTransactionRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, dtid: String = "") extends GeneratedMessage with Message[ConcludeTransactionRequest] with Updatable[ConcludeTransactionRequest] with Product with Serializable

    Permalink

    ConcludeTransactionRequest is the payload to ConcludeTransaction

    ConcludeTransactionRequest is the payload to ConcludeTransaction

    Annotations
    @SerialVersionUID()
  14. final case class ConcludeTransactionResponse() extends GeneratedMessage with Message[ConcludeTransactionResponse] with Updatable[ConcludeTransactionResponse] with Product with Serializable

    Permalink

    ConcludeTransactionResponse is the returned value from ConcludeTransaction

    ConcludeTransactionResponse is the returned value from ConcludeTransaction

    Annotations
    @SerialVersionUID()
  15. final case class CreateTransactionRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, dtid: String = "", participants: Seq[Target] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[CreateTransactionRequest] with Updatable[CreateTransactionRequest] with Product with Serializable

    Permalink

    CreateTransactionRequest is the payload to CreateTransaction

    CreateTransactionRequest is the payload to CreateTransaction

    Annotations
    @SerialVersionUID()
  16. final case class CreateTransactionResponse() extends GeneratedMessage with Message[CreateTransactionResponse] with Updatable[CreateTransactionResponse] with Product with Serializable

    Permalink

    CreateTransactionResponse is the returned value from CreateTransaction

    CreateTransactionResponse is the returned value from CreateTransaction

    Annotations
    @SerialVersionUID()
  17. final case class EventToken(timestamp: Long = 0L, shard: String = "", position: String = "") extends GeneratedMessage with Message[EventToken] with Updatable[EventToken] with Product with Serializable

    Permalink

    EventToken is a structure that describes a point in time in a replication stream on one shard.

    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.

    timestamp

    timestamp is the MySQL timestamp of the statements. Seconds since Epoch.

    shard

    The shard name that applied the statements. Note this is not set when streaming from a vttablet. It is only used on the client -> vtgate link.

    position

    The position on the replication stream after this statement was applied. It is not the transaction ID / GTID, but the position / GTIDSet.

    Annotations
    @SerialVersionUID()
  18. final case class ExecuteBatchRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, queries: Seq[BoundQuery] = _root_.scala.collection.Seq.empty, asTransaction: Boolean = false, transactionId: Long = 0L, options: Option[ExecuteOptions] = None) extends GeneratedMessage with Message[ExecuteBatchRequest] with Updatable[ExecuteBatchRequest] with Product with Serializable

    Permalink

    ExecuteBatchRequest is the payload to ExecuteBatch

    ExecuteBatchRequest is the payload to ExecuteBatch

    Annotations
    @SerialVersionUID()
  19. final case class ExecuteBatchResponse(results: Seq[QueryResult] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[ExecuteBatchResponse] with Updatable[ExecuteBatchResponse] with Product with Serializable

    Permalink

    ExecuteBatchResponse is the returned value from ExecuteBatch

    ExecuteBatchResponse is the returned value from ExecuteBatch

    Annotations
    @SerialVersionUID()
  20. final case class ExecuteOptions(includeEventToken: Boolean = false, compareEventToken: Option[EventToken] = None, includedFields: IncludedFields = ...) extends GeneratedMessage with Message[ExecuteOptions] with Updatable[ExecuteOptions] with Product with Serializable

    Permalink

    ExecuteOptions is passed around for all Execute calls.

    ExecuteOptions is passed around for all Execute calls.

    includeEventToken

    If set, we will try to include an EventToken with the responses.

    compareEventToken

    If set, the fresher field may be set as a result comparison to this token. This is a shortcut so the application doesn't need to care about comparing EventTokens.

    includedFields

    Controls what fields are returned in Field message responses from mysql, i.e. field name, table name, etc. This is an optimization for high-QPS queries where the client knows what it's getting

    Annotations
    @SerialVersionUID()
  21. final case class ExecuteRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, query: Option[BoundQuery] = None, transactionId: Long = 0L, options: Option[ExecuteOptions] = None) extends GeneratedMessage with Message[ExecuteRequest] with Updatable[ExecuteRequest] with Product with Serializable

    Permalink

    ExecuteRequest is the payload to Execute

    ExecuteRequest is the payload to Execute

    Annotations
    @SerialVersionUID()
  22. final case class ExecuteResponse(result: Option[QueryResult] = None) extends GeneratedMessage with Message[ExecuteResponse] with Updatable[ExecuteResponse] with Product with Serializable

    Permalink

    ExecuteResponse is the returned value from Execute

    ExecuteResponse is the returned value from Execute

    Annotations
    @SerialVersionUID()
  23. final case class Field(name: String = "", type: Type = ..., table: String = "", orgTable: String = "", database: String = "", orgName: String = "", columnLength: Int = 0, charset: Int = 0, decimals: Int = 0, flags: Int = 0) extends GeneratedMessage with Message[Field] with Updatable[Field] with Product with Serializable

    Permalink

    Field describes a single column returned by a query

    Field describes a single column returned by a query

    name

    name of the field as returned by mysql C API

    type

    vitess-defined type. Conversion function is in sqltypes package.

    table

    Remaining fields from mysql C API. These fields are only populated when ExecuteOptions.included_fields is set to IncludedFields.ALL.

    columnLength

    column_length is really a uint32. All 32 bits can be used.

    charset

    charset is actually a uint16. Only the lower 16 bits are used.

    decimals

    decimals is actualy a uint8. Only the lower 8 bits are used.

    flags

    flags is actually a uint16. Only the lower 16 bits are used.

    Annotations
    @SerialVersionUID()
  24. sealed trait Flag extends GeneratedEnum

    Permalink
  25. final case class MessageAckRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, name: String = "", ids: Seq[Value] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[MessageAckRequest] with Updatable[MessageAckRequest] with Product with Serializable

    Permalink

    MessageAckRequest is the request payload for MessageAck.

    MessageAckRequest is the request payload for MessageAck.

    name

    name is the message table name.

    Annotations
    @SerialVersionUID()
  26. final case class MessageAckResponse(result: Option[QueryResult] = None) extends GeneratedMessage with Message[MessageAckResponse] with Updatable[MessageAckResponse] with Product with Serializable

    Permalink

    MessageAckResponse is the response for MessageAck.

    MessageAckResponse is the response for MessageAck.

    result

    result contains the result of the ack operation. Since this acts like a DML, only RowsAffected is returned in the result.

    Annotations
    @SerialVersionUID()
  27. final case class MessageStreamRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, name: String = "") extends GeneratedMessage with Message[MessageStreamRequest] with Updatable[MessageStreamRequest] with Product with Serializable

    Permalink

    MessageStreamRequest is the request payload for MessageStream.

    MessageStreamRequest is the request payload for MessageStream.

    name

    name is the message table name.

    Annotations
    @SerialVersionUID()
  28. final case class MessageStreamResponse(result: Option[QueryResult] = None) extends GeneratedMessage with Message[MessageStreamResponse] with Updatable[MessageStreamResponse] with Product with Serializable

    Permalink

    MessageStreamResponse is a response for MessageStream.

    MessageStreamResponse is a response for MessageStream.

    Annotations
    @SerialVersionUID()
  29. sealed trait MySqlFlag extends GeneratedEnum

    Permalink
  30. final case class PrepareRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, transactionId: Long = 0L, dtid: String = "") extends GeneratedMessage with Message[PrepareRequest] with Updatable[PrepareRequest] with Product with Serializable

    Permalink

    PrepareRequest is the payload to Prepare

    PrepareRequest is the payload to Prepare

    Annotations
    @SerialVersionUID()
  31. final case class PrepareResponse() extends GeneratedMessage with Message[PrepareResponse] with Updatable[PrepareResponse] with Product with Serializable

    Permalink

    PrepareResponse is the returned value from Prepare

    PrepareResponse is the returned value from Prepare

    Annotations
    @SerialVersionUID()
  32. final case class QueryResult(fields: Seq[Field] = _root_.scala.collection.Seq.empty, rowsAffected: Long = 0L, insertId: Long = 0L, rows: Seq[Row] = _root_.scala.collection.Seq.empty, extras: Option[ResultExtras] = None) extends GeneratedMessage with Message[QueryResult] with Updatable[QueryResult] with Product with Serializable

    Permalink

    QueryResult is returned by Execute and ExecuteStream.

    QueryResult is returned by Execute and ExecuteStream.

    As returned by Execute, len(fields) is always equal to len(row) (for each row in rows).

    As returned by StreamExecute, the first QueryResult has the fields set, and subsequent QueryResult have rows set. And as Execute, len(QueryResult[0].fields) is always equal to len(row) (for each row in rows for each QueryResult in QueryResult[1:]).

    Annotations
    @SerialVersionUID()
  33. final case class QuerySplit(query: Option[BoundQuery] = None, rowCount: Long = 0L) extends GeneratedMessage with Message[QuerySplit] with Updatable[QuerySplit] with Product with Serializable

    Permalink

    QuerySplit represents one query to execute on the tablet

    QuerySplit represents one query to execute on the tablet

    query

    query is the query to execute

    rowCount

    row_count is the approximate row count the query will return

    Annotations
    @SerialVersionUID()
  34. final case class ReadTransactionRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, dtid: String = "") extends GeneratedMessage with Message[ReadTransactionRequest] with Updatable[ReadTransactionRequest] with Product with Serializable

    Permalink

    ReadTransactionRequest is the payload to ReadTransaction

    ReadTransactionRequest is the payload to ReadTransaction

    Annotations
    @SerialVersionUID()
  35. final case class ReadTransactionResponse(metadata: Option[TransactionMetadata] = None) extends GeneratedMessage with Message[ReadTransactionResponse] with Updatable[ReadTransactionResponse] with Product with Serializable

    Permalink

    ReadTransactionResponse is the returned value from ReadTransaction

    ReadTransactionResponse is the returned value from ReadTransaction

    Annotations
    @SerialVersionUID()
  36. final case class RealtimeStats(healthError: String = "", secondsBehindMaster: Int = 0, binlogPlayersCount: Int = 0, secondsBehindMasterFilteredReplication: Long = 0L, cpuUsage: Double = 0.0, qps: Double = 0.0) extends GeneratedMessage with Message[RealtimeStats] with Updatable[RealtimeStats] with Product with Serializable

    Permalink

    RealtimeStats contains information about the tablet status

    RealtimeStats contains information about the tablet status

    healthError

    health_error is the last error we got from health check, or empty is the server is healthy. This is used for subset selection, we do not send queries to servers that are not healthy.

    secondsBehindMaster

    seconds_behind_master is populated for slaves only. It indicates how far behind on (MySQL) replication a slave currently is. It is used by clients for subset selection (so we don't try to send traffic to tablets that are too far behind). NOTE: This field must not be evaluated if "health_error" is not empty. TODO(mberlin): Let's switch it to int64 instead?

    binlogPlayersCount

    bin_log_players_count is the number of currently running binlog players. if the value is 0, it means that filtered replication is currently not running on the tablet. If >0, filtered replication is running. NOTE: This field must not be evaluated if "health_error" is not empty.

    secondsBehindMasterFilteredReplication

    seconds_behind_master_filtered_replication is populated for the receiving master of an ongoing filtered replication only. It specifies how far the receiving master lags behind the sending master. NOTE: This field must not be evaluated if "health_error" is not empty. NOTE: This field must not be evaluated if "bin_log_players_count" is 0.

    cpuUsage

    cpu_usage is used for load-based balancing

    qps

    qps is the average QPS (queries per second) rate in the last XX seconds where XX is usually 60 (See query_service_stats.go).

    Annotations
    @SerialVersionUID()
  37. final case class ResultExtras(eventToken: Option[EventToken] = None, fresher: Boolean = false) extends GeneratedMessage with Message[ResultExtras] with Updatable[ResultExtras] with Product with Serializable

    Permalink

    ResultExtras contains optional out-of-band information.

    ResultExtras contains optional out-of-band information. Usually the extras are requested by adding ExecuteOptions flags.

    eventToken

    event_token is populated if the include_event_token flag is set in ExecuteOptions.

    fresher

    If set, it means the data returned with this result is fresher than the compare_token passed in the ExecuteOptions.

    Annotations
    @SerialVersionUID()
  38. final case class ResultWithError(error: Option[RPCError] = None, result: Option[QueryResult] = None) extends GeneratedMessage with Message[ResultWithError] with Updatable[ResultWithError] with Product with Serializable

    Permalink

    ResultWithError represents a query response in the form of result or error but not both.

    ResultWithError represents a query response in the form of result or error but not both. TODO: To be used in ExecuteBatchResponse and BeginExecuteBatchResponse.

    error

    error contains an query level error, only set if result is unset.

    result

    result contains the query result, only set if error is unset.

    Annotations
    @SerialVersionUID()
  39. final case class RollbackPreparedRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, transactionId: Long = 0L, dtid: String = "") extends GeneratedMessage with Message[RollbackPreparedRequest] with Updatable[RollbackPreparedRequest] with Product with Serializable

    Permalink

    RollbackPreparedRequest is the payload to RollbackPrepared

    RollbackPreparedRequest is the payload to RollbackPrepared

    Annotations
    @SerialVersionUID()
  40. final case class RollbackPreparedResponse() extends GeneratedMessage with Message[RollbackPreparedResponse] with Updatable[RollbackPreparedResponse] with Product with Serializable

    Permalink

    RollbackPreparedResponse is the returned value from RollbackPrepared

    RollbackPreparedResponse is the returned value from RollbackPrepared

    Annotations
    @SerialVersionUID()
  41. final case class RollbackRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, transactionId: Long = 0L) extends GeneratedMessage with Message[RollbackRequest] with Updatable[RollbackRequest] with Product with Serializable

    Permalink

    RollbackRequest is the payload to Rollback

    RollbackRequest is the payload to Rollback

    Annotations
    @SerialVersionUID()
  42. final case class RollbackResponse() extends GeneratedMessage with Message[RollbackResponse] with Updatable[RollbackResponse] with Product with Serializable

    Permalink

    RollbackResponse is the returned value from Rollback

    RollbackResponse is the returned value from Rollback

    Annotations
    @SerialVersionUID()
  43. final case class Row(lengths: Seq[Long] = _root_.scala.collection.Seq.empty, values: ByteString = ...) extends GeneratedMessage with Message[Row] with Updatable[Row] with Product with Serializable

    Permalink

    Row is a database row.

    Row is a database row.

    lengths

    lengths contains the length of each value in values. A length of -1 means that the field is NULL. While reading values, you have to accummulate the length to know the offset where the next value begins in values.

    values

    values contains a concatenation of all values in the row.

    Annotations
    @SerialVersionUID()
  44. final case class SetRollbackRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, transactionId: Long = 0L, dtid: String = "") extends GeneratedMessage with Message[SetRollbackRequest] with Updatable[SetRollbackRequest] with Product with Serializable

    Permalink

    SetRollbackRequest is the payload to SetRollback

    SetRollbackRequest is the payload to SetRollback

    Annotations
    @SerialVersionUID()
  45. final case class SetRollbackResponse() extends GeneratedMessage with Message[SetRollbackResponse] with Updatable[SetRollbackResponse] with Product with Serializable

    Permalink

    SetRollbackResponse is the returned value from SetRollback

    SetRollbackResponse is the returned value from SetRollback

    Annotations
    @SerialVersionUID()
  46. final case class SplitQueryRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, query: Option[BoundQuery] = None, splitColumn: Seq[String] = _root_.scala.collection.Seq.empty, splitCount: Long = 0L, numRowsPerQueryPart: Long = 0L, algorithm: Algorithm = ...) extends GeneratedMessage with Message[SplitQueryRequest] with Updatable[SplitQueryRequest] with Product with Serializable

    Permalink

    SplitQueryRequest is the payload for SplitQuery sent by VTGate to a VTTablet.

    SplitQueryRequest is the payload for SplitQuery sent by VTGate to a VTTablet. See vtgate.SplitQueryRequest for more details.

    splitCount

    Exactly one of the following must be nonzero.

    Annotations
    @SerialVersionUID()
  47. final case class SplitQueryResponse(queries: Seq[QuerySplit] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[SplitQueryResponse] with Updatable[SplitQueryResponse] with Product with Serializable

    Permalink

    SplitQueryResponse is returned by SplitQuery and represents all the queries to execute in order to get the entire data set.

    SplitQueryResponse is returned by SplitQuery and represents all the queries to execute in order to get the entire data set.

    Annotations
    @SerialVersionUID()
  48. final case class StartCommitRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, transactionId: Long = 0L, dtid: String = "") extends GeneratedMessage with Message[StartCommitRequest] with Updatable[StartCommitRequest] with Product with Serializable

    Permalink

    StartCommitRequest is the payload to StartCommit

    StartCommitRequest is the payload to StartCommit

    Annotations
    @SerialVersionUID()
  49. final case class StartCommitResponse() extends GeneratedMessage with Message[StartCommitResponse] with Updatable[StartCommitResponse] with Product with Serializable

    Permalink

    StartCommitResponse is the returned value from StartCommit

    StartCommitResponse is the returned value from StartCommit

    Annotations
    @SerialVersionUID()
  50. final case class StreamEvent(statements: Seq[Statement] = _root_.scala.collection.Seq.empty, eventToken: Option[EventToken] = None) extends GeneratedMessage with Message[StreamEvent] with Updatable[StreamEvent] with Product with Serializable

    Permalink

    StreamEvent describes a set of transformations that happened as a single transactional unit on a server.

    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.

    statements

    The statements in this transaction.

    eventToken

    The Event Token for this event.

    Annotations
    @SerialVersionUID()
  51. final case class StreamExecuteRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, query: Option[BoundQuery] = None, options: Option[ExecuteOptions] = None) extends GeneratedMessage with Message[StreamExecuteRequest] with Updatable[StreamExecuteRequest] with Product with Serializable

    Permalink

    StreamExecuteRequest is the payload to StreamExecute

    StreamExecuteRequest is the payload to StreamExecute

    Annotations
    @SerialVersionUID()
  52. final case class StreamExecuteResponse(result: Option[QueryResult] = None) extends GeneratedMessage with Message[StreamExecuteResponse] with Updatable[StreamExecuteResponse] with Product with Serializable

    Permalink

    StreamExecuteResponse is the returned value from StreamExecute

    StreamExecuteResponse is the returned value from StreamExecute

    Annotations
    @SerialVersionUID()
  53. final case class StreamHealthRequest() extends GeneratedMessage with Message[StreamHealthRequest] with Updatable[StreamHealthRequest] with Product with Serializable

    Permalink

    StreamHealthRequest is the payload for StreamHealth

    StreamHealthRequest is the payload for StreamHealth

    Annotations
    @SerialVersionUID()
  54. final case class StreamHealthResponse(target: Option[Target] = None, serving: Boolean = false, tabletExternallyReparentedTimestamp: Long = 0L, realtimeStats: Option[RealtimeStats] = None) extends GeneratedMessage with Message[StreamHealthResponse] with Updatable[StreamHealthResponse] with Product with Serializable

    Permalink

    StreamHealthResponse is streamed by StreamHealth on a regular basis

    StreamHealthResponse is streamed by StreamHealth on a regular basis

    target

    target is the current server type. Only queries with that exact Target record will be accepted.

    serving

    serving is true iff the tablet is serving. A tablet may not be serving if filtered replication is enabled on a master for instance, or if a replica should not be used because the keyspace is being resharded.

    tabletExternallyReparentedTimestamp

    tablet_externally_reparented_timestamp contains the last time tabletmanager.TabletExternallyReparented was called on this tablet, or 0 if it was never called. This is meant to differentiate two tablets that report a target.TabletType of MASTER, only the one with the latest timestamp should be trusted.

    realtimeStats

    realtime_stats contains information about the tablet status

    Annotations
    @SerialVersionUID()
  55. final case class Target(keyspace: String = "", shard: String = "", tabletType: TabletType = ...) extends GeneratedMessage with Message[Target] with Updatable[Target] with Product with Serializable

    Permalink

    Target describes what the client expects the tablet is.

    Target describes what the client expects the tablet is. If the tablet does not match, an error is returned.

    Annotations
    @SerialVersionUID()
  56. final case class TransactionMetadata(dtid: String = "", state: TransactionState = ..., timeCreated: Long = 0L, participants: Seq[Target] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[TransactionMetadata] with Updatable[TransactionMetadata] with Product with Serializable

    Permalink

    TransactionMetadata contains the metadata for a distributed transaction.

    TransactionMetadata contains the metadata for a distributed transaction.

    Annotations
    @SerialVersionUID()
  57. sealed trait TransactionState extends GeneratedEnum

    Permalink
  58. sealed trait Type extends GeneratedEnum

    Permalink
  59. final case class UpdateStreamRequest(effectiveCallerId: Option[CallerID] = None, immediateCallerId: Option[VTGateCallerID] = None, target: Option[Target] = None, position: String = "", timestamp: Long = 0L) extends GeneratedMessage with Message[UpdateStreamRequest] with Updatable[UpdateStreamRequest] with Product with Serializable

    Permalink

    UpdateStreamRequest is the payload for UpdateStream.

    UpdateStreamRequest is the payload for UpdateStream. At most one of position and timestamp can be set. If neither is set, we will start streaming from the current binlog position.

    position

    If position is set, we will start the streaming from that replication position. Incompatible with timestamp.

    timestamp

    If timestamp is set, we will start the streaming from the first event in the binlogs that have that timestamp. Incompatible with position.

    Annotations
    @SerialVersionUID()
  60. final case class UpdateStreamResponse(event: Option[StreamEvent] = None) extends GeneratedMessage with Message[UpdateStreamResponse] with Updatable[UpdateStreamResponse] with Product with Serializable

    Permalink

    UpdateStreamResponse is returned by UpdateStream

    UpdateStreamResponse is returned by UpdateStream

    Annotations
    @SerialVersionUID()
  61. final case class VTGateCallerID(username: String = "") extends GeneratedMessage with Message[VTGateCallerID] with Updatable[VTGateCallerID] with Product with Serializable

    Permalink

    VTGateCallerID is sent by VTGate to VTTablet to describe the caller.

    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.

    Annotations
    @SerialVersionUID()
  62. final case class Value(type: Type = ..., value: ByteString = ...) extends GeneratedMessage with Message[Value] with Updatable[Value] with Product with Serializable

    Permalink

    Value represents a typed value.

    Value represents a typed value.

    Annotations
    @SerialVersionUID()

Value Members

  1. object BeginExecuteBatchRequest extends GeneratedMessageCompanion[BeginExecuteBatchRequest] with Serializable

    Permalink
  2. object BeginExecuteBatchResponse extends GeneratedMessageCompanion[BeginExecuteBatchResponse] with Serializable

    Permalink
  3. object BeginExecuteRequest extends GeneratedMessageCompanion[BeginExecuteRequest] with Serializable

    Permalink
  4. object BeginExecuteResponse extends GeneratedMessageCompanion[BeginExecuteResponse] with Serializable

    Permalink
  5. object BeginRequest extends GeneratedMessageCompanion[BeginRequest] with Serializable

    Permalink
  6. object BeginResponse extends GeneratedMessageCompanion[BeginResponse] with Serializable

    Permalink
  7. object BindVariable extends GeneratedMessageCompanion[BindVariable] with Serializable

    Permalink
  8. object BoundQuery extends GeneratedMessageCompanion[BoundQuery] with Serializable

    Permalink
  9. object CommitPreparedRequest extends GeneratedMessageCompanion[CommitPreparedRequest] with Serializable

    Permalink
  10. object CommitPreparedResponse extends GeneratedMessageCompanion[CommitPreparedResponse] with Serializable

    Permalink
  11. object CommitRequest extends GeneratedMessageCompanion[CommitRequest] with Serializable

    Permalink
  12. object CommitResponse extends GeneratedMessageCompanion[CommitResponse] with Serializable

    Permalink
  13. object ConcludeTransactionRequest extends GeneratedMessageCompanion[ConcludeTransactionRequest] with Serializable

    Permalink
  14. object ConcludeTransactionResponse extends GeneratedMessageCompanion[ConcludeTransactionResponse] with Serializable

    Permalink
  15. object CreateTransactionRequest extends GeneratedMessageCompanion[CreateTransactionRequest] with Serializable

    Permalink
  16. object CreateTransactionResponse extends GeneratedMessageCompanion[CreateTransactionResponse] with Serializable

    Permalink
  17. object EventToken extends GeneratedMessageCompanion[EventToken] with Serializable

    Permalink
  18. object ExecuteBatchRequest extends GeneratedMessageCompanion[ExecuteBatchRequest] with Serializable

    Permalink
  19. object ExecuteBatchResponse extends GeneratedMessageCompanion[ExecuteBatchResponse] with Serializable

    Permalink
  20. object ExecuteOptions extends GeneratedMessageCompanion[ExecuteOptions] with Serializable

    Permalink
  21. object ExecuteRequest extends GeneratedMessageCompanion[ExecuteRequest] with Serializable

    Permalink
  22. object ExecuteResponse extends GeneratedMessageCompanion[ExecuteResponse] with Serializable

    Permalink
  23. object Field extends GeneratedMessageCompanion[Field] with Serializable

    Permalink
  24. object Flag extends GeneratedEnumCompanion[Flag] with Serializable

    Permalink
  25. object MessageAckRequest extends GeneratedMessageCompanion[MessageAckRequest] with Serializable

    Permalink
  26. object MessageAckResponse extends GeneratedMessageCompanion[MessageAckResponse] with Serializable

    Permalink
  27. object MessageStreamRequest extends GeneratedMessageCompanion[MessageStreamRequest] with Serializable

    Permalink
  28. object MessageStreamResponse extends GeneratedMessageCompanion[MessageStreamResponse] with Serializable

    Permalink
  29. object MySqlFlag extends GeneratedEnumCompanion[MySqlFlag] with Serializable

    Permalink
  30. object PrepareRequest extends GeneratedMessageCompanion[PrepareRequest] with Serializable

    Permalink
  31. object PrepareResponse extends GeneratedMessageCompanion[PrepareResponse] with Serializable

    Permalink
  32. object QueryProto

    Permalink
  33. object QueryResult extends GeneratedMessageCompanion[QueryResult] with Serializable

    Permalink
  34. object QuerySplit extends GeneratedMessageCompanion[QuerySplit] with Serializable

    Permalink
  35. object ReadTransactionRequest extends GeneratedMessageCompanion[ReadTransactionRequest] with Serializable

    Permalink
  36. object ReadTransactionResponse extends GeneratedMessageCompanion[ReadTransactionResponse] with Serializable

    Permalink
  37. object RealtimeStats extends GeneratedMessageCompanion[RealtimeStats] with Serializable

    Permalink
  38. object ResultExtras extends GeneratedMessageCompanion[ResultExtras] with Serializable

    Permalink
  39. object ResultWithError extends GeneratedMessageCompanion[ResultWithError] with Serializable

    Permalink
  40. object RollbackPreparedRequest extends GeneratedMessageCompanion[RollbackPreparedRequest] with Serializable

    Permalink
  41. object RollbackPreparedResponse extends GeneratedMessageCompanion[RollbackPreparedResponse] with Serializable

    Permalink
  42. object RollbackRequest extends GeneratedMessageCompanion[RollbackRequest] with Serializable

    Permalink
  43. object RollbackResponse extends GeneratedMessageCompanion[RollbackResponse] with Serializable

    Permalink
  44. object Row extends GeneratedMessageCompanion[Row] with Serializable

    Permalink
  45. object SetRollbackRequest extends GeneratedMessageCompanion[SetRollbackRequest] with Serializable

    Permalink
  46. object SetRollbackResponse extends GeneratedMessageCompanion[SetRollbackResponse] with Serializable

    Permalink
  47. object SplitQueryRequest extends GeneratedMessageCompanion[SplitQueryRequest] with Serializable

    Permalink
  48. object SplitQueryResponse extends GeneratedMessageCompanion[SplitQueryResponse] with Serializable

    Permalink
  49. object StartCommitRequest extends GeneratedMessageCompanion[StartCommitRequest] with Serializable

    Permalink
  50. object StartCommitResponse extends GeneratedMessageCompanion[StartCommitResponse] with Serializable

    Permalink
  51. object StreamEvent extends GeneratedMessageCompanion[StreamEvent] with Serializable

    Permalink
  52. object StreamExecuteRequest extends GeneratedMessageCompanion[StreamExecuteRequest] with Serializable

    Permalink
  53. object StreamExecuteResponse extends GeneratedMessageCompanion[StreamExecuteResponse] with Serializable

    Permalink
  54. object StreamHealthRequest extends GeneratedMessageCompanion[StreamHealthRequest] with Serializable

    Permalink
  55. object StreamHealthResponse extends GeneratedMessageCompanion[StreamHealthResponse] with Serializable

    Permalink
  56. object Target extends GeneratedMessageCompanion[Target] with Serializable

    Permalink
  57. object TransactionMetadata extends GeneratedMessageCompanion[TransactionMetadata] with Serializable

    Permalink
  58. object TransactionState extends GeneratedEnumCompanion[TransactionState] with Serializable

    Permalink
  59. object Type extends GeneratedEnumCompanion[Type] with Serializable

    Permalink
  60. object UpdateStreamRequest extends GeneratedMessageCompanion[UpdateStreamRequest] with Serializable

    Permalink
  61. object UpdateStreamResponse extends GeneratedMessageCompanion[UpdateStreamResponse] with Serializable

    Permalink
  62. object VTGateCallerID extends GeneratedMessageCompanion[VTGateCallerID] with Serializable

    Permalink
  63. object Value extends GeneratedMessageCompanion[Value] with Serializable

    Permalink

Ungrouped