Documentation ¶
Index ¶
- Variables
- type AggregateStats
- func (*AggregateStats) Descriptor() ([]byte, []int)deprecated
- func (x *AggregateStats) GetHealthyTabletCount() int32
- func (x *AggregateStats) GetReplicationLagSecondsMax() uint32
- func (x *AggregateStats) GetReplicationLagSecondsMin() uint32
- func (x *AggregateStats) GetUnhealthyTabletCount() int32
- func (m *AggregateStats) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AggregateStats) MarshalToVT(dAtA []byte) (int, error)
- func (m *AggregateStats) MarshalVT() (dAtA []byte, err error)
- func (*AggregateStats) ProtoMessage()
- func (x *AggregateStats) ProtoReflect() protoreflect.Message
- func (x *AggregateStats) Reset()
- func (m *AggregateStats) SizeVT() (n int)
- func (x *AggregateStats) String() string
- func (m *AggregateStats) UnmarshalVT(dAtA []byte) error
- type BeginExecuteRequest
- func (*BeginExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BeginExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *BeginExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *BeginExecuteRequest) GetOptions() *ExecuteOptions
- func (x *BeginExecuteRequest) GetPreQueries() []string
- func (x *BeginExecuteRequest) GetQuery() *BoundQuery
- func (x *BeginExecuteRequest) GetReservedId() int64
- func (x *BeginExecuteRequest) GetTarget() *Target
- func (m *BeginExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*BeginExecuteRequest) ProtoMessage()
- func (x *BeginExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *BeginExecuteRequest) Reset()
- func (m *BeginExecuteRequest) SizeVT() (n int)
- func (x *BeginExecuteRequest) String() string
- func (m *BeginExecuteRequest) UnmarshalVT(dAtA []byte) error
- type BeginExecuteResponse
- func (*BeginExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BeginExecuteResponse) GetError() *vtrpc.RPCError
- func (x *BeginExecuteResponse) GetResult() *QueryResult
- func (x *BeginExecuteResponse) GetSessionStateChanges() string
- func (x *BeginExecuteResponse) GetTabletAlias() *topodata.TabletAlias
- func (x *BeginExecuteResponse) GetTransactionId() int64
- func (m *BeginExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*BeginExecuteResponse) ProtoMessage()
- func (x *BeginExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *BeginExecuteResponse) Reset()
- func (m *BeginExecuteResponse) SizeVT() (n int)
- func (x *BeginExecuteResponse) String() string
- func (m *BeginExecuteResponse) UnmarshalVT(dAtA []byte) error
- type BeginRequest
- func (*BeginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BeginRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *BeginRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *BeginRequest) GetOptions() *ExecuteOptions
- func (x *BeginRequest) GetTarget() *Target
- func (m *BeginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginRequest) MarshalVT() (dAtA []byte, err error)
- func (*BeginRequest) ProtoMessage()
- func (x *BeginRequest) ProtoReflect() protoreflect.Message
- func (x *BeginRequest) Reset()
- func (m *BeginRequest) SizeVT() (n int)
- func (x *BeginRequest) String() string
- func (m *BeginRequest) UnmarshalVT(dAtA []byte) error
- type BeginResponse
- func (*BeginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BeginResponse) GetSessionStateChanges() string
- func (x *BeginResponse) GetTabletAlias() *topodata.TabletAlias
- func (x *BeginResponse) GetTransactionId() int64
- func (m *BeginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginResponse) MarshalVT() (dAtA []byte, err error)
- func (*BeginResponse) ProtoMessage()
- func (x *BeginResponse) ProtoReflect() protoreflect.Message
- func (x *BeginResponse) Reset()
- func (m *BeginResponse) SizeVT() (n int)
- func (x *BeginResponse) String() string
- func (m *BeginResponse) UnmarshalVT(dAtA []byte) error
- type BeginStreamExecuteRequest
- func (*BeginStreamExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BeginStreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *BeginStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *BeginStreamExecuteRequest) GetOptions() *ExecuteOptions
- func (x *BeginStreamExecuteRequest) GetPreQueries() []string
- func (x *BeginStreamExecuteRequest) GetQuery() *BoundQuery
- func (x *BeginStreamExecuteRequest) GetReservedId() int64
- func (x *BeginStreamExecuteRequest) GetTarget() *Target
- func (m *BeginStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginStreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*BeginStreamExecuteRequest) ProtoMessage()
- func (x *BeginStreamExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *BeginStreamExecuteRequest) Reset()
- func (m *BeginStreamExecuteRequest) SizeVT() (n int)
- func (x *BeginStreamExecuteRequest) String() string
- func (m *BeginStreamExecuteRequest) UnmarshalVT(dAtA []byte) error
- type BeginStreamExecuteResponse
- func (*BeginStreamExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BeginStreamExecuteResponse) GetError() *vtrpc.RPCError
- func (x *BeginStreamExecuteResponse) GetResult() *QueryResult
- func (x *BeginStreamExecuteResponse) GetSessionStateChanges() string
- func (x *BeginStreamExecuteResponse) GetTabletAlias() *topodata.TabletAlias
- func (x *BeginStreamExecuteResponse) GetTransactionId() int64
- func (m *BeginStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BeginStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *BeginStreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*BeginStreamExecuteResponse) ProtoMessage()
- func (x *BeginStreamExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *BeginStreamExecuteResponse) Reset()
- func (m *BeginStreamExecuteResponse) SizeVT() (n int)
- func (x *BeginStreamExecuteResponse) String() string
- func (m *BeginStreamExecuteResponse) UnmarshalVT(dAtA []byte) error
- type BindVariable
- func (cached *BindVariable) CachedSize(alloc bool) int64
- func (*BindVariable) Descriptor() ([]byte, []int)deprecated
- func (x *BindVariable) GetType() Type
- func (x *BindVariable) GetValue() []byte
- func (x *BindVariable) GetValues() []*Value
- func (m *BindVariable) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BindVariable) MarshalToVT(dAtA []byte) (int, error)
- func (m *BindVariable) MarshalVT() (dAtA []byte, err error)
- func (*BindVariable) ProtoMessage()
- func (x *BindVariable) ProtoReflect() protoreflect.Message
- func (x *BindVariable) Reset()
- func (m *BindVariable) SizeVT() (n int)
- func (x *BindVariable) String() string
- func (m *BindVariable) UnmarshalVT(dAtA []byte) error
- type BoundQuery
- func (*BoundQuery) Descriptor() ([]byte, []int)deprecated
- func (x *BoundQuery) GetBindVariables() map[string]*BindVariable
- func (x *BoundQuery) GetSql() string
- func (m *BoundQuery) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BoundQuery) MarshalToVT(dAtA []byte) (int, error)
- func (m *BoundQuery) MarshalVT() (dAtA []byte, err error)
- func (*BoundQuery) ProtoMessage()
- func (x *BoundQuery) ProtoReflect() protoreflect.Message
- func (x *BoundQuery) Reset()
- func (m *BoundQuery) SizeVT() (n int)
- func (x *BoundQuery) String() string
- func (m *BoundQuery) UnmarshalVT(dAtA []byte) error
- type CommitPreparedRequest
- func (*CommitPreparedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitPreparedRequest) GetDtid() string
- func (x *CommitPreparedRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *CommitPreparedRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *CommitPreparedRequest) GetTarget() *Target
- func (m *CommitPreparedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommitPreparedRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommitPreparedRequest) MarshalVT() (dAtA []byte, err error)
- func (*CommitPreparedRequest) ProtoMessage()
- func (x *CommitPreparedRequest) ProtoReflect() protoreflect.Message
- func (x *CommitPreparedRequest) Reset()
- func (m *CommitPreparedRequest) SizeVT() (n int)
- func (x *CommitPreparedRequest) String() string
- func (m *CommitPreparedRequest) UnmarshalVT(dAtA []byte) error
- type CommitPreparedResponse
- func (*CommitPreparedResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CommitPreparedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommitPreparedResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommitPreparedResponse) MarshalVT() (dAtA []byte, err error)
- func (*CommitPreparedResponse) ProtoMessage()
- func (x *CommitPreparedResponse) ProtoReflect() protoreflect.Message
- func (x *CommitPreparedResponse) Reset()
- func (m *CommitPreparedResponse) SizeVT() (n int)
- func (x *CommitPreparedResponse) String() string
- func (m *CommitPreparedResponse) UnmarshalVT(dAtA []byte) error
- type CommitRequest
- func (*CommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *CommitRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *CommitRequest) GetTarget() *Target
- func (x *CommitRequest) GetTransactionId() int64
- func (m *CommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommitRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommitRequest) MarshalVT() (dAtA []byte, err error)
- func (*CommitRequest) ProtoMessage()
- func (x *CommitRequest) ProtoReflect() protoreflect.Message
- func (x *CommitRequest) Reset()
- func (m *CommitRequest) SizeVT() (n int)
- func (x *CommitRequest) String() string
- func (m *CommitRequest) UnmarshalVT(dAtA []byte) error
- type CommitResponse
- func (*CommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitResponse) GetReservedId() int64
- func (m *CommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CommitResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CommitResponse) MarshalVT() (dAtA []byte, err error)
- func (*CommitResponse) ProtoMessage()
- func (x *CommitResponse) ProtoReflect() protoreflect.Message
- func (x *CommitResponse) Reset()
- func (m *CommitResponse) SizeVT() (n int)
- func (x *CommitResponse) String() string
- func (m *CommitResponse) UnmarshalVT(dAtA []byte) error
- type ConcludeTransactionRequest
- func (*ConcludeTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConcludeTransactionRequest) GetDtid() string
- func (x *ConcludeTransactionRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ConcludeTransactionRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ConcludeTransactionRequest) GetTarget() *Target
- func (m *ConcludeTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConcludeTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConcludeTransactionRequest) MarshalVT() (dAtA []byte, err error)
- func (*ConcludeTransactionRequest) ProtoMessage()
- func (x *ConcludeTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *ConcludeTransactionRequest) Reset()
- func (m *ConcludeTransactionRequest) SizeVT() (n int)
- func (x *ConcludeTransactionRequest) String() string
- func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error
- type ConcludeTransactionResponse
- func (*ConcludeTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (m *ConcludeTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ConcludeTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ConcludeTransactionResponse) MarshalVT() (dAtA []byte, err error)
- func (*ConcludeTransactionResponse) ProtoMessage()
- func (x *ConcludeTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *ConcludeTransactionResponse) Reset()
- func (m *ConcludeTransactionResponse) SizeVT() (n int)
- func (x *ConcludeTransactionResponse) String() string
- func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error
- type CreateTransactionRequest
- func (*CreateTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTransactionRequest) GetDtid() string
- func (x *CreateTransactionRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *CreateTransactionRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *CreateTransactionRequest) GetParticipants() []*Target
- func (x *CreateTransactionRequest) GetTarget() *Target
- func (m *CreateTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateTransactionRequest) MarshalVT() (dAtA []byte, err error)
- func (*CreateTransactionRequest) ProtoMessage()
- func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTransactionRequest) Reset()
- func (m *CreateTransactionRequest) SizeVT() (n int)
- func (x *CreateTransactionRequest) String() string
- func (m *CreateTransactionRequest) UnmarshalVT(dAtA []byte) error
- type CreateTransactionResponse
- func (*CreateTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (m *CreateTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateTransactionResponse) MarshalVT() (dAtA []byte, err error)
- func (*CreateTransactionResponse) ProtoMessage()
- func (x *CreateTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTransactionResponse) Reset()
- func (m *CreateTransactionResponse) SizeVT() (n int)
- func (x *CreateTransactionResponse) String() string
- func (m *CreateTransactionResponse) UnmarshalVT(dAtA []byte) error
- type EventToken
- func (*EventToken) Descriptor() ([]byte, []int)deprecated
- func (x *EventToken) GetPosition() string
- func (x *EventToken) GetShard() string
- func (x *EventToken) GetTimestamp() int64
- func (m *EventToken) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EventToken) MarshalToVT(dAtA []byte) (int, error)
- func (m *EventToken) MarshalVT() (dAtA []byte, err error)
- func (*EventToken) ProtoMessage()
- func (x *EventToken) ProtoReflect() protoreflect.Message
- func (x *EventToken) Reset()
- func (m *EventToken) SizeVT() (n int)
- func (x *EventToken) String() string
- func (m *EventToken) UnmarshalVT(dAtA []byte) error
- type ExecuteOptions
- func (*ExecuteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteOptions) GetClientFoundRows() bool
- func (x *ExecuteOptions) GetConsolidator() ExecuteOptions_Consolidator
- func (x *ExecuteOptions) GetHasCreatedTempTables() bool
- func (x *ExecuteOptions) GetIncludedFields() ExecuteOptions_IncludedFields
- func (x *ExecuteOptions) GetPlannerVersion() ExecuteOptions_PlannerVersion
- func (x *ExecuteOptions) GetPriority() string
- func (x *ExecuteOptions) GetSkipQueryPlanCache() bool
- func (x *ExecuteOptions) GetSqlSelectLimit() int64
- func (x *ExecuteOptions) GetTransactionAccessMode() []ExecuteOptions_TransactionAccessMode
- func (x *ExecuteOptions) GetTransactionIsolation() ExecuteOptions_TransactionIsolation
- func (x *ExecuteOptions) GetWorkload() ExecuteOptions_Workload
- func (x *ExecuteOptions) GetWorkloadName() string
- func (m *ExecuteOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExecuteOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExecuteOptions) MarshalVT() (dAtA []byte, err error)
- func (*ExecuteOptions) ProtoMessage()
- func (x *ExecuteOptions) ProtoReflect() protoreflect.Message
- func (x *ExecuteOptions) Reset()
- func (m *ExecuteOptions) SizeVT() (n int)
- func (x *ExecuteOptions) String() string
- func (m *ExecuteOptions) UnmarshalVT(dAtA []byte) error
- type ExecuteOptions_Consolidator
- func (ExecuteOptions_Consolidator) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteOptions_Consolidator) Enum() *ExecuteOptions_Consolidator
- func (ExecuteOptions_Consolidator) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteOptions_Consolidator) Number() protoreflect.EnumNumber
- func (x ExecuteOptions_Consolidator) String() string
- func (ExecuteOptions_Consolidator) Type() protoreflect.EnumType
- type ExecuteOptions_IncludedFields
- func (ExecuteOptions_IncludedFields) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteOptions_IncludedFields) Enum() *ExecuteOptions_IncludedFields
- func (ExecuteOptions_IncludedFields) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteOptions_IncludedFields) Number() protoreflect.EnumNumber
- func (x ExecuteOptions_IncludedFields) String() string
- func (ExecuteOptions_IncludedFields) Type() protoreflect.EnumType
- type ExecuteOptions_PlannerVersion
- func (ExecuteOptions_PlannerVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteOptions_PlannerVersion) Enum() *ExecuteOptions_PlannerVersion
- func (ExecuteOptions_PlannerVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteOptions_PlannerVersion) Number() protoreflect.EnumNumber
- func (x ExecuteOptions_PlannerVersion) String() string
- func (ExecuteOptions_PlannerVersion) Type() protoreflect.EnumType
- type ExecuteOptions_TransactionAccessMode
- func (ExecuteOptions_TransactionAccessMode) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteOptions_TransactionAccessMode) Enum() *ExecuteOptions_TransactionAccessMode
- func (ExecuteOptions_TransactionAccessMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteOptions_TransactionAccessMode) Number() protoreflect.EnumNumber
- func (x ExecuteOptions_TransactionAccessMode) String() string
- func (ExecuteOptions_TransactionAccessMode) Type() protoreflect.EnumType
- type ExecuteOptions_TransactionIsolation
- func (ExecuteOptions_TransactionIsolation) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteOptions_TransactionIsolation) Enum() *ExecuteOptions_TransactionIsolation
- func (ExecuteOptions_TransactionIsolation) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteOptions_TransactionIsolation) Number() protoreflect.EnumNumber
- func (x ExecuteOptions_TransactionIsolation) String() string
- func (ExecuteOptions_TransactionIsolation) Type() protoreflect.EnumType
- type ExecuteOptions_Workload
- func (ExecuteOptions_Workload) Descriptor() protoreflect.EnumDescriptor
- func (x ExecuteOptions_Workload) Enum() *ExecuteOptions_Workload
- func (ExecuteOptions_Workload) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecuteOptions_Workload) Number() protoreflect.EnumNumber
- func (x ExecuteOptions_Workload) String() string
- func (ExecuteOptions_Workload) Type() protoreflect.EnumType
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ExecuteRequest) GetOptions() *ExecuteOptions
- func (x *ExecuteRequest) GetQuery() *BoundQuery
- func (x *ExecuteRequest) GetReservedId() int64
- func (x *ExecuteRequest) GetTarget() *Target
- func (x *ExecuteRequest) GetTransactionId() int64
- func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*ExecuteRequest) ProtoMessage()
- func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteRequest) Reset()
- func (m *ExecuteRequest) SizeVT() (n int)
- func (x *ExecuteRequest) String() string
- func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error
- type ExecuteResponse
- func (*ExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteResponse) GetResult() *QueryResult
- func (m *ExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*ExecuteResponse) ProtoMessage()
- func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteResponse) Reset()
- func (m *ExecuteResponse) SizeVT() (n int)
- func (x *ExecuteResponse) String() string
- func (m *ExecuteResponse) UnmarshalVT(dAtA []byte) error
- type Field
- func (cached *Field) CachedSize(alloc bool) int64
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetCharset() uint32
- func (x *Field) GetColumnLength() uint32
- func (x *Field) GetColumnType() string
- func (x *Field) GetDatabase() string
- func (x *Field) GetDecimals() uint32
- func (x *Field) GetFlags() uint32
- func (x *Field) GetName() string
- func (x *Field) GetOrgName() string
- func (x *Field) GetOrgTable() string
- func (x *Field) GetTable() string
- func (x *Field) GetType() Type
- func (m *Field) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Field) MarshalToVT(dAtA []byte) (int, error)
- func (m *Field) MarshalVT() (dAtA []byte, err error)
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (m *Field) SizeVT() (n int)
- func (x *Field) String() string
- func (m *Field) UnmarshalVT(dAtA []byte) error
- type Flag
- type GetSchemaRequest
- func (*GetSchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaRequest) GetTableNames() []string
- func (x *GetSchemaRequest) GetTableType() SchemaTableType
- func (x *GetSchemaRequest) GetTarget() *Target
- func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetSchemaRequest) ProtoMessage()
- func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
- func (x *GetSchemaRequest) Reset()
- func (m *GetSchemaRequest) SizeVT() (n int)
- func (x *GetSchemaRequest) String() string
- func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error
- type GetSchemaResponse
- func (*GetSchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSchemaResponse) GetTableDefinition() map[string]string
- func (m *GetSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSchemaResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSchemaResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetSchemaResponse) ProtoMessage()
- func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message
- func (x *GetSchemaResponse) Reset()
- func (m *GetSchemaResponse) SizeVT() (n int)
- func (x *GetSchemaResponse) String() string
- func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error
- type MessageAckRequest
- func (*MessageAckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAckRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *MessageAckRequest) GetIds() []*Value
- func (x *MessageAckRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *MessageAckRequest) GetName() string
- func (x *MessageAckRequest) GetTarget() *Target
- func (m *MessageAckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MessageAckRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *MessageAckRequest) MarshalVT() (dAtA []byte, err error)
- func (*MessageAckRequest) ProtoMessage()
- func (x *MessageAckRequest) ProtoReflect() protoreflect.Message
- func (x *MessageAckRequest) Reset()
- func (m *MessageAckRequest) SizeVT() (n int)
- func (x *MessageAckRequest) String() string
- func (m *MessageAckRequest) UnmarshalVT(dAtA []byte) error
- type MessageAckResponse
- func (*MessageAckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAckResponse) GetResult() *QueryResult
- func (m *MessageAckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MessageAckResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *MessageAckResponse) MarshalVT() (dAtA []byte, err error)
- func (*MessageAckResponse) ProtoMessage()
- func (x *MessageAckResponse) ProtoReflect() protoreflect.Message
- func (x *MessageAckResponse) Reset()
- func (m *MessageAckResponse) SizeVT() (n int)
- func (x *MessageAckResponse) String() string
- func (m *MessageAckResponse) UnmarshalVT(dAtA []byte) error
- type MessageStreamRequest
- func (*MessageStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MessageStreamRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *MessageStreamRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *MessageStreamRequest) GetName() string
- func (x *MessageStreamRequest) GetTarget() *Target
- func (m *MessageStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MessageStreamRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *MessageStreamRequest) MarshalVT() (dAtA []byte, err error)
- func (*MessageStreamRequest) ProtoMessage()
- func (x *MessageStreamRequest) ProtoReflect() protoreflect.Message
- func (x *MessageStreamRequest) Reset()
- func (m *MessageStreamRequest) SizeVT() (n int)
- func (x *MessageStreamRequest) String() string
- func (m *MessageStreamRequest) UnmarshalVT(dAtA []byte) error
- type MessageStreamResponse
- func (*MessageStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MessageStreamResponse) GetResult() *QueryResult
- func (m *MessageStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MessageStreamResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *MessageStreamResponse) MarshalVT() (dAtA []byte, err error)
- func (*MessageStreamResponse) ProtoMessage()
- func (x *MessageStreamResponse) ProtoReflect() protoreflect.Message
- func (x *MessageStreamResponse) Reset()
- func (m *MessageStreamResponse) SizeVT() (n int)
- func (x *MessageStreamResponse) String() string
- func (m *MessageStreamResponse) UnmarshalVT(dAtA []byte) error
- type MySqlFlag
- type PrepareRequest
- func (*PrepareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareRequest) GetDtid() string
- func (x *PrepareRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *PrepareRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *PrepareRequest) GetTarget() *Target
- func (x *PrepareRequest) GetTransactionId() int64
- func (m *PrepareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PrepareRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *PrepareRequest) MarshalVT() (dAtA []byte, err error)
- func (*PrepareRequest) ProtoMessage()
- func (x *PrepareRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareRequest) Reset()
- func (m *PrepareRequest) SizeVT() (n int)
- func (x *PrepareRequest) String() string
- func (m *PrepareRequest) UnmarshalVT(dAtA []byte) error
- type PrepareResponse
- func (*PrepareResponse) Descriptor() ([]byte, []int)deprecated
- func (m *PrepareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PrepareResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *PrepareResponse) MarshalVT() (dAtA []byte, err error)
- func (*PrepareResponse) ProtoMessage()
- func (x *PrepareResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareResponse) Reset()
- func (m *PrepareResponse) SizeVT() (n int)
- func (x *PrepareResponse) String() string
- func (m *PrepareResponse) UnmarshalVT(dAtA []byte) error
- type QueryResult
- func (*QueryResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResult) GetFields() []*Field
- func (x *QueryResult) GetInfo() string
- func (x *QueryResult) GetInsertId() uint64
- func (x *QueryResult) GetRows() []*Row
- func (x *QueryResult) GetRowsAffected() uint64
- func (x *QueryResult) GetSessionStateChanges() string
- func (m *QueryResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryResult) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryResult) MarshalVT() (dAtA []byte, err error)
- func (*QueryResult) ProtoMessage()
- func (x *QueryResult) ProtoReflect() protoreflect.Message
- func (x *QueryResult) Reset()
- func (m *QueryResult) SizeVT() (n int)
- func (x *QueryResult) String() string
- func (m *QueryResult) UnmarshalVT(dAtA []byte) error
- type QueryWarning
- func (cached *QueryWarning) CachedSize(alloc bool) int64
- func (*QueryWarning) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWarning) GetCode() uint32
- func (x *QueryWarning) GetMessage() string
- func (m *QueryWarning) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *QueryWarning) MarshalToVT(dAtA []byte) (int, error)
- func (m *QueryWarning) MarshalVT() (dAtA []byte, err error)
- func (*QueryWarning) ProtoMessage()
- func (x *QueryWarning) ProtoReflect() protoreflect.Message
- func (x *QueryWarning) Reset()
- func (m *QueryWarning) SizeVT() (n int)
- func (x *QueryWarning) String() string
- func (m *QueryWarning) UnmarshalVT(dAtA []byte) error
- type ReadTransactionRequest
- func (*ReadTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadTransactionRequest) GetDtid() string
- func (x *ReadTransactionRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ReadTransactionRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ReadTransactionRequest) GetTarget() *Target
- func (m *ReadTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadTransactionRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReadTransactionRequest) ProtoMessage()
- func (x *ReadTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *ReadTransactionRequest) Reset()
- func (m *ReadTransactionRequest) SizeVT() (n int)
- func (x *ReadTransactionRequest) String() string
- func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error
- type ReadTransactionResponse
- func (*ReadTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadTransactionResponse) GetMetadata() *TransactionMetadata
- func (m *ReadTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReadTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReadTransactionResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReadTransactionResponse) ProtoMessage()
- func (x *ReadTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *ReadTransactionResponse) Reset()
- func (m *ReadTransactionResponse) SizeVT() (n int)
- func (x *ReadTransactionResponse) String() string
- func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error
- type RealtimeStats
- func (*RealtimeStats) Descriptor() ([]byte, []int)deprecated
- func (x *RealtimeStats) GetBinlogPlayersCount() int32
- func (x *RealtimeStats) GetCpuUsage() float64
- func (x *RealtimeStats) GetFilteredReplicationLagSeconds() int64
- func (x *RealtimeStats) GetHealthError() string
- func (x *RealtimeStats) GetQps() float64
- func (x *RealtimeStats) GetReplicationLagSeconds() uint32
- func (x *RealtimeStats) GetTableSchemaChanged() []string
- func (x *RealtimeStats) GetViewSchemaChanged() []string
- func (m *RealtimeStats) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RealtimeStats) MarshalToVT(dAtA []byte) (int, error)
- func (m *RealtimeStats) MarshalVT() (dAtA []byte, err error)
- func (*RealtimeStats) ProtoMessage()
- func (x *RealtimeStats) ProtoReflect() protoreflect.Message
- func (x *RealtimeStats) Reset()
- func (m *RealtimeStats) SizeVT() (n int)
- func (x *RealtimeStats) String() string
- func (m *RealtimeStats) UnmarshalVT(dAtA []byte) error
- type ReleaseRequest
- func (*ReleaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ReleaseRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ReleaseRequest) GetReservedId() int64
- func (x *ReleaseRequest) GetTarget() *Target
- func (x *ReleaseRequest) GetTransactionId() int64
- func (m *ReleaseRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReleaseRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReleaseRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReleaseRequest) ProtoMessage()
- func (x *ReleaseRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseRequest) Reset()
- func (m *ReleaseRequest) SizeVT() (n int)
- func (x *ReleaseRequest) String() string
- func (m *ReleaseRequest) UnmarshalVT(dAtA []byte) error
- type ReleaseResponse
- func (*ReleaseResponse) Descriptor() ([]byte, []int)deprecated
- func (m *ReleaseResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReleaseResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReleaseResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReleaseResponse) ProtoMessage()
- func (x *ReleaseResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseResponse) Reset()
- func (m *ReleaseResponse) SizeVT() (n int)
- func (x *ReleaseResponse) String() string
- func (m *ReleaseResponse) UnmarshalVT(dAtA []byte) error
- type ReserveBeginExecuteRequest
- func (*ReserveBeginExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveBeginExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ReserveBeginExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ReserveBeginExecuteRequest) GetOptions() *ExecuteOptions
- func (x *ReserveBeginExecuteRequest) GetPostBeginQueries() []string
- func (x *ReserveBeginExecuteRequest) GetPreQueries() []string
- func (x *ReserveBeginExecuteRequest) GetQuery() *BoundQuery
- func (x *ReserveBeginExecuteRequest) GetTarget() *Target
- func (m *ReserveBeginExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveBeginExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveBeginExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReserveBeginExecuteRequest) ProtoMessage()
- func (x *ReserveBeginExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ReserveBeginExecuteRequest) Reset()
- func (m *ReserveBeginExecuteRequest) SizeVT() (n int)
- func (x *ReserveBeginExecuteRequest) String() string
- func (m *ReserveBeginExecuteRequest) UnmarshalVT(dAtA []byte) error
- type ReserveBeginExecuteResponse
- func (*ReserveBeginExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveBeginExecuteResponse) GetError() *vtrpc.RPCError
- func (x *ReserveBeginExecuteResponse) GetReservedId() int64
- func (x *ReserveBeginExecuteResponse) GetResult() *QueryResult
- func (x *ReserveBeginExecuteResponse) GetSessionStateChanges() string
- func (x *ReserveBeginExecuteResponse) GetTabletAlias() *topodata.TabletAlias
- func (x *ReserveBeginExecuteResponse) GetTransactionId() int64
- func (m *ReserveBeginExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveBeginExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveBeginExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReserveBeginExecuteResponse) ProtoMessage()
- func (x *ReserveBeginExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ReserveBeginExecuteResponse) Reset()
- func (m *ReserveBeginExecuteResponse) SizeVT() (n int)
- func (x *ReserveBeginExecuteResponse) String() string
- func (m *ReserveBeginExecuteResponse) UnmarshalVT(dAtA []byte) error
- type ReserveBeginStreamExecuteRequest
- func (*ReserveBeginStreamExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveBeginStreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ReserveBeginStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ReserveBeginStreamExecuteRequest) GetOptions() *ExecuteOptions
- func (x *ReserveBeginStreamExecuteRequest) GetPostBeginQueries() []string
- func (x *ReserveBeginStreamExecuteRequest) GetPreQueries() []string
- func (x *ReserveBeginStreamExecuteRequest) GetQuery() *BoundQuery
- func (x *ReserveBeginStreamExecuteRequest) GetTarget() *Target
- func (m *ReserveBeginStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveBeginStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveBeginStreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReserveBeginStreamExecuteRequest) ProtoMessage()
- func (x *ReserveBeginStreamExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ReserveBeginStreamExecuteRequest) Reset()
- func (m *ReserveBeginStreamExecuteRequest) SizeVT() (n int)
- func (x *ReserveBeginStreamExecuteRequest) String() string
- func (m *ReserveBeginStreamExecuteRequest) UnmarshalVT(dAtA []byte) error
- type ReserveBeginStreamExecuteResponse
- func (*ReserveBeginStreamExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveBeginStreamExecuteResponse) GetError() *vtrpc.RPCError
- func (x *ReserveBeginStreamExecuteResponse) GetReservedId() int64
- func (x *ReserveBeginStreamExecuteResponse) GetResult() *QueryResult
- func (x *ReserveBeginStreamExecuteResponse) GetSessionStateChanges() string
- func (x *ReserveBeginStreamExecuteResponse) GetTabletAlias() *topodata.TabletAlias
- func (x *ReserveBeginStreamExecuteResponse) GetTransactionId() int64
- func (m *ReserveBeginStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveBeginStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveBeginStreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReserveBeginStreamExecuteResponse) ProtoMessage()
- func (x *ReserveBeginStreamExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ReserveBeginStreamExecuteResponse) Reset()
- func (m *ReserveBeginStreamExecuteResponse) SizeVT() (n int)
- func (x *ReserveBeginStreamExecuteResponse) String() string
- func (m *ReserveBeginStreamExecuteResponse) UnmarshalVT(dAtA []byte) error
- type ReserveExecuteRequest
- func (*ReserveExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ReserveExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ReserveExecuteRequest) GetOptions() *ExecuteOptions
- func (x *ReserveExecuteRequest) GetPreQueries() []string
- func (x *ReserveExecuteRequest) GetQuery() *BoundQuery
- func (x *ReserveExecuteRequest) GetTarget() *Target
- func (x *ReserveExecuteRequest) GetTransactionId() int64
- func (m *ReserveExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReserveExecuteRequest) ProtoMessage()
- func (x *ReserveExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ReserveExecuteRequest) Reset()
- func (m *ReserveExecuteRequest) SizeVT() (n int)
- func (x *ReserveExecuteRequest) String() string
- func (m *ReserveExecuteRequest) UnmarshalVT(dAtA []byte) error
- type ReserveExecuteResponse
- func (*ReserveExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveExecuteResponse) GetError() *vtrpc.RPCError
- func (x *ReserveExecuteResponse) GetReservedId() int64
- func (x *ReserveExecuteResponse) GetResult() *QueryResult
- func (x *ReserveExecuteResponse) GetTabletAlias() *topodata.TabletAlias
- func (m *ReserveExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReserveExecuteResponse) ProtoMessage()
- func (x *ReserveExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ReserveExecuteResponse) Reset()
- func (m *ReserveExecuteResponse) SizeVT() (n int)
- func (x *ReserveExecuteResponse) String() string
- func (m *ReserveExecuteResponse) UnmarshalVT(dAtA []byte) error
- type ReserveStreamExecuteRequest
- func (*ReserveStreamExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveStreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *ReserveStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *ReserveStreamExecuteRequest) GetOptions() *ExecuteOptions
- func (x *ReserveStreamExecuteRequest) GetPreQueries() []string
- func (x *ReserveStreamExecuteRequest) GetQuery() *BoundQuery
- func (x *ReserveStreamExecuteRequest) GetTarget() *Target
- func (x *ReserveStreamExecuteRequest) GetTransactionId() int64
- func (m *ReserveStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveStreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*ReserveStreamExecuteRequest) ProtoMessage()
- func (x *ReserveStreamExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ReserveStreamExecuteRequest) Reset()
- func (m *ReserveStreamExecuteRequest) SizeVT() (n int)
- func (x *ReserveStreamExecuteRequest) String() string
- func (m *ReserveStreamExecuteRequest) UnmarshalVT(dAtA []byte) error
- type ReserveStreamExecuteResponse
- func (*ReserveStreamExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReserveStreamExecuteResponse) GetError() *vtrpc.RPCError
- func (x *ReserveStreamExecuteResponse) GetReservedId() int64
- func (x *ReserveStreamExecuteResponse) GetResult() *QueryResult
- func (x *ReserveStreamExecuteResponse) GetTabletAlias() *topodata.TabletAlias
- func (m *ReserveStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReserveStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReserveStreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*ReserveStreamExecuteResponse) ProtoMessage()
- func (x *ReserveStreamExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ReserveStreamExecuteResponse) Reset()
- func (m *ReserveStreamExecuteResponse) SizeVT() (n int)
- func (x *ReserveStreamExecuteResponse) String() string
- func (m *ReserveStreamExecuteResponse) UnmarshalVT(dAtA []byte) error
- type ResultWithError
- func (*ResultWithError) Descriptor() ([]byte, []int)deprecated
- func (x *ResultWithError) GetError() *vtrpc.RPCError
- func (x *ResultWithError) GetResult() *QueryResult
- func (m *ResultWithError) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ResultWithError) MarshalToVT(dAtA []byte) (int, error)
- func (m *ResultWithError) MarshalVT() (dAtA []byte, err error)
- func (*ResultWithError) ProtoMessage()
- func (x *ResultWithError) ProtoReflect() protoreflect.Message
- func (x *ResultWithError) Reset()
- func (m *ResultWithError) SizeVT() (n int)
- func (x *ResultWithError) String() string
- func (m *ResultWithError) UnmarshalVT(dAtA []byte) error
- type RollbackPreparedRequest
- func (*RollbackPreparedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackPreparedRequest) GetDtid() string
- func (x *RollbackPreparedRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *RollbackPreparedRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *RollbackPreparedRequest) GetTarget() *Target
- func (x *RollbackPreparedRequest) GetTransactionId() int64
- func (m *RollbackPreparedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RollbackPreparedRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RollbackPreparedRequest) MarshalVT() (dAtA []byte, err error)
- func (*RollbackPreparedRequest) ProtoMessage()
- func (x *RollbackPreparedRequest) ProtoReflect() protoreflect.Message
- func (x *RollbackPreparedRequest) Reset()
- func (m *RollbackPreparedRequest) SizeVT() (n int)
- func (x *RollbackPreparedRequest) String() string
- func (m *RollbackPreparedRequest) UnmarshalVT(dAtA []byte) error
- type RollbackPreparedResponse
- func (*RollbackPreparedResponse) Descriptor() ([]byte, []int)deprecated
- func (m *RollbackPreparedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RollbackPreparedResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RollbackPreparedResponse) MarshalVT() (dAtA []byte, err error)
- func (*RollbackPreparedResponse) ProtoMessage()
- func (x *RollbackPreparedResponse) ProtoReflect() protoreflect.Message
- func (x *RollbackPreparedResponse) Reset()
- func (m *RollbackPreparedResponse) SizeVT() (n int)
- func (x *RollbackPreparedResponse) String() string
- func (m *RollbackPreparedResponse) UnmarshalVT(dAtA []byte) error
- type RollbackRequest
- func (*RollbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *RollbackRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *RollbackRequest) GetTarget() *Target
- func (x *RollbackRequest) GetTransactionId() int64
- func (m *RollbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RollbackRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *RollbackRequest) MarshalVT() (dAtA []byte, err error)
- func (*RollbackRequest) ProtoMessage()
- func (x *RollbackRequest) ProtoReflect() protoreflect.Message
- func (x *RollbackRequest) Reset()
- func (m *RollbackRequest) SizeVT() (n int)
- func (x *RollbackRequest) String() string
- func (m *RollbackRequest) UnmarshalVT(dAtA []byte) error
- type RollbackResponse
- func (*RollbackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackResponse) GetReservedId() int64
- func (m *RollbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RollbackResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *RollbackResponse) MarshalVT() (dAtA []byte, err error)
- func (*RollbackResponse) ProtoMessage()
- func (x *RollbackResponse) ProtoReflect() protoreflect.Message
- func (x *RollbackResponse) Reset()
- func (m *RollbackResponse) SizeVT() (n int)
- func (x *RollbackResponse) String() string
- func (m *RollbackResponse) UnmarshalVT(dAtA []byte) error
- type Row
- func (*Row) Descriptor() ([]byte, []int)deprecated
- func (x *Row) GetLengths() []int64
- func (x *Row) GetValues() []byte
- func (m *Row) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Row) MarshalToVT(dAtA []byte) (int, error)
- func (m *Row) MarshalVT() (dAtA []byte, err error)
- func (*Row) ProtoMessage()
- func (x *Row) ProtoReflect() protoreflect.Message
- func (x *Row) Reset()
- func (m *Row) ResetVT()
- func (m *Row) ReturnToVTPool()
- func (m *Row) SizeVT() (n int)
- func (x *Row) String() string
- func (m *Row) UnmarshalVT(dAtA []byte) error
- type SchemaTableType
- func (SchemaTableType) Descriptor() protoreflect.EnumDescriptor
- func (x SchemaTableType) Enum() *SchemaTableType
- func (SchemaTableType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SchemaTableType) Number() protoreflect.EnumNumber
- func (x SchemaTableType) String() string
- func (SchemaTableType) Type() protoreflect.EnumType
- type SetRollbackRequest
- func (*SetRollbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRollbackRequest) GetDtid() string
- func (x *SetRollbackRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *SetRollbackRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *SetRollbackRequest) GetTarget() *Target
- func (x *SetRollbackRequest) GetTransactionId() int64
- func (m *SetRollbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetRollbackRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetRollbackRequest) MarshalVT() (dAtA []byte, err error)
- func (*SetRollbackRequest) ProtoMessage()
- func (x *SetRollbackRequest) ProtoReflect() protoreflect.Message
- func (x *SetRollbackRequest) Reset()
- func (m *SetRollbackRequest) SizeVT() (n int)
- func (x *SetRollbackRequest) String() string
- func (m *SetRollbackRequest) UnmarshalVT(dAtA []byte) error
- type SetRollbackResponse
- func (*SetRollbackResponse) Descriptor() ([]byte, []int)deprecated
- func (m *SetRollbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SetRollbackResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *SetRollbackResponse) MarshalVT() (dAtA []byte, err error)
- func (*SetRollbackResponse) ProtoMessage()
- func (x *SetRollbackResponse) ProtoReflect() protoreflect.Message
- func (x *SetRollbackResponse) Reset()
- func (m *SetRollbackResponse) SizeVT() (n int)
- func (x *SetRollbackResponse) String() string
- func (m *SetRollbackResponse) UnmarshalVT(dAtA []byte) error
- type StartCommitRequest
- func (*StartCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartCommitRequest) GetDtid() string
- func (x *StartCommitRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *StartCommitRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *StartCommitRequest) GetTarget() *Target
- func (x *StartCommitRequest) GetTransactionId() int64
- func (m *StartCommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartCommitRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartCommitRequest) MarshalVT() (dAtA []byte, err error)
- func (*StartCommitRequest) ProtoMessage()
- func (x *StartCommitRequest) ProtoReflect() protoreflect.Message
- func (x *StartCommitRequest) Reset()
- func (m *StartCommitRequest) SizeVT() (n int)
- func (x *StartCommitRequest) String() string
- func (m *StartCommitRequest) UnmarshalVT(dAtA []byte) error
- type StartCommitResponse
- func (*StartCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (m *StartCommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartCommitResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartCommitResponse) MarshalVT() (dAtA []byte, err error)
- func (*StartCommitResponse) ProtoMessage()
- func (x *StartCommitResponse) ProtoReflect() protoreflect.Message
- func (x *StartCommitResponse) Reset()
- func (m *StartCommitResponse) SizeVT() (n int)
- func (x *StartCommitResponse) String() string
- func (m *StartCommitResponse) UnmarshalVT(dAtA []byte) error
- type StreamEvent
- func (*StreamEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEvent) GetEventToken() *EventToken
- func (x *StreamEvent) GetStatements() []*StreamEvent_Statement
- func (m *StreamEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamEvent) MarshalVT() (dAtA []byte, err error)
- func (*StreamEvent) ProtoMessage()
- func (x *StreamEvent) ProtoReflect() protoreflect.Message
- func (x *StreamEvent) Reset()
- func (m *StreamEvent) SizeVT() (n int)
- func (x *StreamEvent) String() string
- func (m *StreamEvent) UnmarshalVT(dAtA []byte) error
- type StreamEvent_Statement
- func (*StreamEvent_Statement) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEvent_Statement) GetCategory() StreamEvent_Statement_Category
- func (x *StreamEvent_Statement) GetPrimaryKeyFields() []*Field
- func (x *StreamEvent_Statement) GetPrimaryKeyValues() []*Row
- func (x *StreamEvent_Statement) GetSql() []byte
- func (x *StreamEvent_Statement) GetTableName() string
- func (m *StreamEvent_Statement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamEvent_Statement) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamEvent_Statement) MarshalVT() (dAtA []byte, err error)
- func (*StreamEvent_Statement) ProtoMessage()
- func (x *StreamEvent_Statement) ProtoReflect() protoreflect.Message
- func (x *StreamEvent_Statement) Reset()
- func (m *StreamEvent_Statement) SizeVT() (n int)
- func (x *StreamEvent_Statement) String() string
- func (m *StreamEvent_Statement) UnmarshalVT(dAtA []byte) error
- type StreamEvent_Statement_Category
- func (StreamEvent_Statement_Category) Descriptor() protoreflect.EnumDescriptor
- func (x StreamEvent_Statement_Category) Enum() *StreamEvent_Statement_Category
- func (StreamEvent_Statement_Category) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamEvent_Statement_Category) Number() protoreflect.EnumNumber
- func (x StreamEvent_Statement_Category) String() string
- func (StreamEvent_Statement_Category) Type() protoreflect.EnumType
- type StreamExecuteRequest
- func (*StreamExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *StreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
- func (x *StreamExecuteRequest) GetOptions() *ExecuteOptions
- func (x *StreamExecuteRequest) GetQuery() *BoundQuery
- func (x *StreamExecuteRequest) GetReservedId() int64
- func (x *StreamExecuteRequest) GetTarget() *Target
- func (x *StreamExecuteRequest) GetTransactionId() int64
- func (m *StreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*StreamExecuteRequest) ProtoMessage()
- func (x *StreamExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *StreamExecuteRequest) Reset()
- func (m *StreamExecuteRequest) SizeVT() (n int)
- func (x *StreamExecuteRequest) String() string
- func (m *StreamExecuteRequest) UnmarshalVT(dAtA []byte) error
- type StreamExecuteResponse
- func (*StreamExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamExecuteResponse) GetResult() *QueryResult
- func (m *StreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*StreamExecuteResponse) ProtoMessage()
- func (x *StreamExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *StreamExecuteResponse) Reset()
- func (m *StreamExecuteResponse) SizeVT() (n int)
- func (x *StreamExecuteResponse) String() string
- func (m *StreamExecuteResponse) UnmarshalVT(dAtA []byte) error
- type StreamHealthRequest
- func (*StreamHealthRequest) Descriptor() ([]byte, []int)deprecated
- func (m *StreamHealthRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamHealthRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamHealthRequest) MarshalVT() (dAtA []byte, err error)
- func (*StreamHealthRequest) ProtoMessage()
- func (x *StreamHealthRequest) ProtoReflect() protoreflect.Message
- func (x *StreamHealthRequest) Reset()
- func (m *StreamHealthRequest) SizeVT() (n int)
- func (x *StreamHealthRequest) String() string
- func (m *StreamHealthRequest) UnmarshalVT(dAtA []byte) error
- type StreamHealthResponse
- func (*StreamHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamHealthResponse) GetRealtimeStats() *RealtimeStats
- func (x *StreamHealthResponse) GetServing() bool
- func (x *StreamHealthResponse) GetTabletAlias() *topodata.TabletAlias
- func (x *StreamHealthResponse) GetTabletExternallyReparentedTimestamp() int64
- func (x *StreamHealthResponse) GetTarget() *Target
- func (m *StreamHealthResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamHealthResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamHealthResponse) MarshalVT() (dAtA []byte, err error)
- func (*StreamHealthResponse) ProtoMessage()
- func (x *StreamHealthResponse) ProtoReflect() protoreflect.Message
- func (x *StreamHealthResponse) Reset()
- func (m *StreamHealthResponse) SizeVT() (n int)
- func (x *StreamHealthResponse) String() string
- func (m *StreamHealthResponse) UnmarshalVT(dAtA []byte) error
- type Target
- func (cached *Target) CachedSize(alloc bool) int64
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetCell() string
- func (x *Target) GetKeyspace() string
- func (x *Target) GetShard() string
- func (x *Target) GetTabletType() topodata.TabletType
- func (m *Target) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Target) MarshalToVT(dAtA []byte) (int, error)
- func (m *Target) MarshalVT() (dAtA []byte, err error)
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (m *Target) SizeVT() (n int)
- func (x *Target) String() string
- func (m *Target) UnmarshalVT(dAtA []byte) error
- type TransactionMetadata
- func (*TransactionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionMetadata) GetDtid() string
- func (x *TransactionMetadata) GetParticipants() []*Target
- func (x *TransactionMetadata) GetState() TransactionState
- func (x *TransactionMetadata) GetTimeCreated() int64
- func (m *TransactionMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TransactionMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *TransactionMetadata) MarshalVT() (dAtA []byte, err error)
- func (*TransactionMetadata) ProtoMessage()
- func (x *TransactionMetadata) ProtoReflect() protoreflect.Message
- func (x *TransactionMetadata) Reset()
- func (m *TransactionMetadata) SizeVT() (n int)
- func (x *TransactionMetadata) String() string
- func (m *TransactionMetadata) UnmarshalVT(dAtA []byte) error
- type TransactionState
- func (TransactionState) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionState) Enum() *TransactionState
- func (TransactionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionState) Number() protoreflect.EnumNumber
- func (x TransactionState) String() string
- func (TransactionState) Type() protoreflect.EnumType
- type Type
- type VTGateCallerID
- func (*VTGateCallerID) Descriptor() ([]byte, []int)deprecated
- func (x *VTGateCallerID) GetGroups() []string
- func (x *VTGateCallerID) GetUsername() string
- func (m *VTGateCallerID) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VTGateCallerID) MarshalToVT(dAtA []byte) (int, error)
- func (m *VTGateCallerID) MarshalVT() (dAtA []byte, err error)
- func (*VTGateCallerID) ProtoMessage()
- func (x *VTGateCallerID) ProtoReflect() protoreflect.Message
- func (x *VTGateCallerID) Reset()
- func (m *VTGateCallerID) SizeVT() (n int)
- func (x *VTGateCallerID) String() string
- func (m *VTGateCallerID) UnmarshalVT(dAtA []byte) error
- type Value
- func (cached *Value) CachedSize(alloc bool) int64
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetType() Type
- func (x *Value) GetValue() []byte
- func (m *Value) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Value) MarshalToVT(dAtA []byte) (int, error)
- func (m *Value) MarshalVT() (dAtA []byte, err error)
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (m *Value) SizeVT() (n int)
- func (x *Value) String() string
- func (m *Value) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( MySqlFlag_name = map[int32]string{ 0: "EMPTY", 1: "NOT_NULL_FLAG", 2: "PRI_KEY_FLAG", 4: "UNIQUE_KEY_FLAG", 8: "MULTIPLE_KEY_FLAG", 16: "BLOB_FLAG", 32: "UNSIGNED_FLAG", 64: "ZEROFILL_FLAG", 128: "BINARY_FLAG", 256: "ENUM_FLAG", 512: "AUTO_INCREMENT_FLAG", 1024: "TIMESTAMP_FLAG", 2048: "SET_FLAG", 4096: "NO_DEFAULT_VALUE_FLAG", 8192: "ON_UPDATE_NOW_FLAG", 32768: "NUM_FLAG", 16384: "PART_KEY_FLAG", 65536: "UNIQUE_FLAG", 131072: "BINCMP_FLAG", } MySqlFlag_value = map[string]int32{ "EMPTY": 0, "NOT_NULL_FLAG": 1, "PRI_KEY_FLAG": 2, "UNIQUE_KEY_FLAG": 4, "MULTIPLE_KEY_FLAG": 8, "BLOB_FLAG": 16, "UNSIGNED_FLAG": 32, "ZEROFILL_FLAG": 64, "BINARY_FLAG": 128, "ENUM_FLAG": 256, "AUTO_INCREMENT_FLAG": 512, "TIMESTAMP_FLAG": 1024, "SET_FLAG": 2048, "NO_DEFAULT_VALUE_FLAG": 4096, "ON_UPDATE_NOW_FLAG": 8192, "NUM_FLAG": 32768, "PART_KEY_FLAG": 16384, "GROUP_FLAG": 32768, "UNIQUE_FLAG": 65536, "BINCMP_FLAG": 131072, } )
Enum value maps for MySqlFlag.
var ( Flag_name = map[int32]string{ 0: "NONE", 256: "ISINTEGRAL", 512: "ISUNSIGNED", 1024: "ISFLOAT", 2048: "ISQUOTED", 4096: "ISTEXT", 8192: "ISBINARY", } Flag_value = map[string]int32{ "NONE": 0, "ISINTEGRAL": 256, "ISUNSIGNED": 512, "ISFLOAT": 1024, "ISQUOTED": 2048, "ISTEXT": 4096, "ISBINARY": 8192, } )
Enum value maps for Flag.
var ( Type_name = map[int32]string{ 0: "NULL_TYPE", 257: "INT8", 770: "UINT8", 259: "INT16", 772: "UINT16", 261: "INT24", 774: "UINT24", 263: "INT32", 776: "UINT32", 265: "INT64", 778: "UINT64", 1035: "FLOAT32", 1036: "FLOAT64", 2061: "TIMESTAMP", 2062: "DATE", 2063: "TIME", 2064: "DATETIME", 785: "YEAR", 18: "DECIMAL", 6163: "TEXT", 10260: "BLOB", 6165: "VARCHAR", 10262: "VARBINARY", 6167: "CHAR", 10264: "BINARY", 2073: "BIT", 2074: "ENUM", 2075: "SET", 28: "TUPLE", 2077: "GEOMETRY", 2078: "JSON", 31: "EXPRESSION", 4128: "HEXNUM", 4129: "HEXVAL", 4130: "BITNUM", } Type_value = map[string]int32{ "NULL_TYPE": 0, "INT8": 257, "UINT8": 770, "INT16": 259, "UINT16": 772, "INT24": 261, "UINT24": 774, "INT32": 263, "UINT32": 776, "INT64": 265, "UINT64": 778, "FLOAT32": 1035, "FLOAT64": 1036, "TIMESTAMP": 2061, "DATE": 2062, "TIME": 2063, "DATETIME": 2064, "YEAR": 785, "DECIMAL": 18, "TEXT": 6163, "BLOB": 10260, "VARCHAR": 6165, "VARBINARY": 10262, "CHAR": 6167, "BINARY": 10264, "BIT": 2073, "ENUM": 2074, "SET": 2075, "TUPLE": 28, "GEOMETRY": 2077, "JSON": 2078, "EXPRESSION": 31, "HEXNUM": 4128, "HEXVAL": 4129, "BITNUM": 4130, } )
Enum value maps for Type.
var ( TransactionState_name = map[int32]string{ 0: "UNKNOWN", 1: "PREPARE", 2: "COMMIT", 3: "ROLLBACK", } TransactionState_value = map[string]int32{ "UNKNOWN": 0, "PREPARE": 1, "COMMIT": 2, "ROLLBACK": 3, } )
Enum value maps for TransactionState.
var ( SchemaTableType_name = map[int32]string{ 0: "VIEWS", 1: "TABLES", 2: "ALL", } SchemaTableType_value = map[string]int32{ "VIEWS": 0, "TABLES": 1, "ALL": 2, } )
Enum value maps for SchemaTableType.
var ( ExecuteOptions_IncludedFields_name = map[int32]string{ 0: "TYPE_AND_NAME", 1: "TYPE_ONLY", 2: "ALL", } ExecuteOptions_IncludedFields_value = map[string]int32{ "TYPE_AND_NAME": 0, "TYPE_ONLY": 1, "ALL": 2, } )
Enum value maps for ExecuteOptions_IncludedFields.
var ( ExecuteOptions_Workload_name = map[int32]string{ 0: "UNSPECIFIED", 1: "OLTP", 2: "OLAP", 3: "DBA", } ExecuteOptions_Workload_value = map[string]int32{ "UNSPECIFIED": 0, "OLTP": 1, "OLAP": 2, "DBA": 3, } )
Enum value maps for ExecuteOptions_Workload.
var ( ExecuteOptions_TransactionIsolation_name = map[int32]string{ 0: "DEFAULT", 1: "REPEATABLE_READ", 2: "READ_COMMITTED", 3: "READ_UNCOMMITTED", 4: "SERIALIZABLE", 5: "CONSISTENT_SNAPSHOT_READ_ONLY", 6: "AUTOCOMMIT", } ExecuteOptions_TransactionIsolation_value = map[string]int32{ "DEFAULT": 0, "REPEATABLE_READ": 1, "READ_COMMITTED": 2, "READ_UNCOMMITTED": 3, "SERIALIZABLE": 4, "CONSISTENT_SNAPSHOT_READ_ONLY": 5, "AUTOCOMMIT": 6, } )
Enum value maps for ExecuteOptions_TransactionIsolation.
var ( ExecuteOptions_PlannerVersion_name = map[int32]string{ 0: "DEFAULT_PLANNER", 1: "V3", 2: "Gen4", 3: "Gen4Greedy", 4: "Gen4Left2Right", 5: "Gen4WithFallback", 6: "Gen4CompareV3", 7: "V3Insert", } ExecuteOptions_PlannerVersion_value = map[string]int32{ "DEFAULT_PLANNER": 0, "V3": 1, "Gen4": 2, "Gen4Greedy": 3, "Gen4Left2Right": 4, "Gen4WithFallback": 5, "Gen4CompareV3": 6, "V3Insert": 7, } )
Enum value maps for ExecuteOptions_PlannerVersion.
var ( ExecuteOptions_Consolidator_name = map[int32]string{ 0: "CONSOLIDATOR_UNSPECIFIED", 1: "CONSOLIDATOR_DISABLED", 2: "CONSOLIDATOR_ENABLED", 3: "CONSOLIDATOR_ENABLED_REPLICAS", } ExecuteOptions_Consolidator_value = map[string]int32{ "CONSOLIDATOR_UNSPECIFIED": 0, "CONSOLIDATOR_DISABLED": 1, "CONSOLIDATOR_ENABLED": 2, "CONSOLIDATOR_ENABLED_REPLICAS": 3, } )
Enum value maps for ExecuteOptions_Consolidator.
var ( ExecuteOptions_TransactionAccessMode_name = map[int32]string{ 0: "CONSISTENT_SNAPSHOT", 1: "READ_WRITE", 2: "READ_ONLY", } ExecuteOptions_TransactionAccessMode_value = map[string]int32{ "CONSISTENT_SNAPSHOT": 0, "READ_WRITE": 1, "READ_ONLY": 2, } )
Enum value maps for ExecuteOptions_TransactionAccessMode.
var ( StreamEvent_Statement_Category_name = map[int32]string{ 0: "Error", 1: "DML", 2: "DDL", } StreamEvent_Statement_Category_value = map[string]int32{ "Error": 0, "DML": 1, "DDL": 2, } )
Enum value maps for StreamEvent_Statement_Category.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_query_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AggregateStats ¶
type AggregateStats struct { // healthy_tablet_count is the number of healthy tablets in the group. HealthyTabletCount int32 `protobuf:"varint,1,opt,name=healthy_tablet_count,json=healthyTabletCount,proto3" json:"healthy_tablet_count,omitempty"` // unhealthy_tablet_count is the number of unhealthy tablets in the group. UnhealthyTabletCount int32 `protobuf:"varint,2,opt,name=unhealthy_tablet_count,json=unhealthyTabletCount,proto3" json:"unhealthy_tablet_count,omitempty"` // replication_lag_seconds_min is the minimum of the // replication_lag_seconds values of the healthy tablets. It is unset // if the tablet type is primary. ReplicationLagSecondsMin uint32 `` /* 138-byte string literal not displayed */ // replication_lag_seconds_max is the maximum of the // replication_lag_seconds values of the healthy tablets. It is unset // if the tablet type is primary. ReplicationLagSecondsMax uint32 `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
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.
func (*AggregateStats) Descriptor
deprecated
func (*AggregateStats) Descriptor() ([]byte, []int)
Deprecated: Use AggregateStats.ProtoReflect.Descriptor instead.
func (*AggregateStats) GetHealthyTabletCount ¶
func (x *AggregateStats) GetHealthyTabletCount() int32
func (*AggregateStats) GetReplicationLagSecondsMax ¶ added in v0.12.0
func (x *AggregateStats) GetReplicationLagSecondsMax() uint32
func (*AggregateStats) GetReplicationLagSecondsMin ¶ added in v0.12.0
func (x *AggregateStats) GetReplicationLagSecondsMin() uint32
func (*AggregateStats) GetUnhealthyTabletCount ¶
func (x *AggregateStats) GetUnhealthyTabletCount() int32
func (*AggregateStats) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *AggregateStats) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AggregateStats) MarshalToVT ¶ added in v0.11.0
func (m *AggregateStats) MarshalToVT(dAtA []byte) (int, error)
func (*AggregateStats) MarshalVT ¶ added in v0.11.0
func (m *AggregateStats) MarshalVT() (dAtA []byte, err error)
func (*AggregateStats) ProtoMessage ¶
func (*AggregateStats) ProtoMessage()
func (*AggregateStats) ProtoReflect ¶ added in v0.11.0
func (x *AggregateStats) ProtoReflect() protoreflect.Message
func (*AggregateStats) Reset ¶
func (x *AggregateStats) Reset()
func (*AggregateStats) SizeVT ¶ added in v0.11.0
func (m *AggregateStats) SizeVT() (n int)
func (*AggregateStats) String ¶
func (x *AggregateStats) String() string
func (*AggregateStats) UnmarshalVT ¶ added in v0.11.0
func (m *AggregateStats) UnmarshalVT(dAtA []byte) error
type BeginExecuteRequest ¶
type BeginExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` ReservedId int64 `protobuf:"varint,6,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` PreQueries []string `protobuf:"bytes,7,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` // contains filtered or unexported fields }
BeginExecuteRequest is the payload to BeginExecute
func (*BeginExecuteRequest) Descriptor
deprecated
func (*BeginExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use BeginExecuteRequest.ProtoReflect.Descriptor instead.
func (*BeginExecuteRequest) GetEffectiveCallerId ¶
func (x *BeginExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*BeginExecuteRequest) GetImmediateCallerId ¶
func (x *BeginExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*BeginExecuteRequest) GetOptions ¶
func (x *BeginExecuteRequest) GetOptions() *ExecuteOptions
func (*BeginExecuteRequest) GetPreQueries ¶
func (x *BeginExecuteRequest) GetPreQueries() []string
func (*BeginExecuteRequest) GetQuery ¶
func (x *BeginExecuteRequest) GetQuery() *BoundQuery
func (*BeginExecuteRequest) GetReservedId ¶
func (x *BeginExecuteRequest) GetReservedId() int64
func (*BeginExecuteRequest) GetTarget ¶
func (x *BeginExecuteRequest) GetTarget() *Target
func (*BeginExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BeginExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginExecuteRequest) MarshalToVT ¶ added in v0.11.0
func (m *BeginExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BeginExecuteRequest) MarshalVT ¶ added in v0.11.0
func (m *BeginExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*BeginExecuteRequest) ProtoMessage ¶
func (*BeginExecuteRequest) ProtoMessage()
func (*BeginExecuteRequest) ProtoReflect ¶ added in v0.11.0
func (x *BeginExecuteRequest) ProtoReflect() protoreflect.Message
func (*BeginExecuteRequest) Reset ¶
func (x *BeginExecuteRequest) Reset()
func (*BeginExecuteRequest) SizeVT ¶ added in v0.11.0
func (m *BeginExecuteRequest) SizeVT() (n int)
func (*BeginExecuteRequest) String ¶
func (x *BeginExecuteRequest) String() string
func (*BeginExecuteRequest) UnmarshalVT ¶ added in v0.11.0
func (m *BeginExecuteRequest) UnmarshalVT(dAtA []byte) error
type BeginExecuteResponse ¶
type BeginExecuteResponse struct { // 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. Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // transaction_id might be non-zero even if an error is present. TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` TabletAlias *topodata.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // The session_state_changes might be set if the transaction is a snapshot transaction // and the MySQL implementation supports getting a start gtid on snapshot SessionStateChanges string `protobuf:"bytes,5,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` // contains filtered or unexported fields }
BeginExecuteResponse is the returned value from BeginExecute
func (*BeginExecuteResponse) Descriptor
deprecated
func (*BeginExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use BeginExecuteResponse.ProtoReflect.Descriptor instead.
func (*BeginExecuteResponse) GetError ¶
func (x *BeginExecuteResponse) GetError() *vtrpc.RPCError
func (*BeginExecuteResponse) GetResult ¶
func (x *BeginExecuteResponse) GetResult() *QueryResult
func (*BeginExecuteResponse) GetSessionStateChanges ¶ added in v0.15.0
func (x *BeginExecuteResponse) GetSessionStateChanges() string
func (*BeginExecuteResponse) GetTabletAlias ¶
func (x *BeginExecuteResponse) GetTabletAlias() *topodata.TabletAlias
func (*BeginExecuteResponse) GetTransactionId ¶
func (x *BeginExecuteResponse) GetTransactionId() int64
func (*BeginExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BeginExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginExecuteResponse) MarshalToVT ¶ added in v0.11.0
func (m *BeginExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BeginExecuteResponse) MarshalVT ¶ added in v0.11.0
func (m *BeginExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*BeginExecuteResponse) ProtoMessage ¶
func (*BeginExecuteResponse) ProtoMessage()
func (*BeginExecuteResponse) ProtoReflect ¶ added in v0.11.0
func (x *BeginExecuteResponse) ProtoReflect() protoreflect.Message
func (*BeginExecuteResponse) Reset ¶
func (x *BeginExecuteResponse) Reset()
func (*BeginExecuteResponse) SizeVT ¶ added in v0.11.0
func (m *BeginExecuteResponse) SizeVT() (n int)
func (*BeginExecuteResponse) String ¶
func (x *BeginExecuteResponse) String() string
func (*BeginExecuteResponse) UnmarshalVT ¶ added in v0.11.0
func (m *BeginExecuteResponse) UnmarshalVT(dAtA []byte) error
type BeginRequest ¶
type BeginRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Options *ExecuteOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
BeginRequest is the payload to Begin
func (*BeginRequest) Descriptor
deprecated
func (*BeginRequest) Descriptor() ([]byte, []int)
Deprecated: Use BeginRequest.ProtoReflect.Descriptor instead.
func (*BeginRequest) GetEffectiveCallerId ¶
func (x *BeginRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*BeginRequest) GetImmediateCallerId ¶
func (x *BeginRequest) GetImmediateCallerId() *VTGateCallerID
func (*BeginRequest) GetOptions ¶
func (x *BeginRequest) GetOptions() *ExecuteOptions
func (*BeginRequest) GetTarget ¶
func (x *BeginRequest) GetTarget() *Target
func (*BeginRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BeginRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginRequest) MarshalToVT ¶ added in v0.11.0
func (m *BeginRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BeginRequest) MarshalVT ¶ added in v0.11.0
func (m *BeginRequest) MarshalVT() (dAtA []byte, err error)
func (*BeginRequest) ProtoMessage ¶
func (*BeginRequest) ProtoMessage()
func (*BeginRequest) ProtoReflect ¶ added in v0.11.0
func (x *BeginRequest) ProtoReflect() protoreflect.Message
func (*BeginRequest) Reset ¶
func (x *BeginRequest) Reset()
func (*BeginRequest) SizeVT ¶ added in v0.11.0
func (m *BeginRequest) SizeVT() (n int)
func (*BeginRequest) String ¶
func (x *BeginRequest) String() string
func (*BeginRequest) UnmarshalVT ¶ added in v0.11.0
func (m *BeginRequest) UnmarshalVT(dAtA []byte) error
type BeginResponse ¶
type BeginResponse struct { TransactionId int64 `protobuf:"varint,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` TabletAlias *topodata.TabletAlias `protobuf:"bytes,2,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // The session_state_changes might be set if the transaction is a snapshot transaction // and the MySQL implementation supports getting a start gtid on snapshot SessionStateChanges string `protobuf:"bytes,3,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` // contains filtered or unexported fields }
BeginResponse is the returned value from Begin
func (*BeginResponse) Descriptor
deprecated
func (*BeginResponse) Descriptor() ([]byte, []int)
Deprecated: Use BeginResponse.ProtoReflect.Descriptor instead.
func (*BeginResponse) GetSessionStateChanges ¶ added in v0.15.0
func (x *BeginResponse) GetSessionStateChanges() string
func (*BeginResponse) GetTabletAlias ¶
func (x *BeginResponse) GetTabletAlias() *topodata.TabletAlias
func (*BeginResponse) GetTransactionId ¶
func (x *BeginResponse) GetTransactionId() int64
func (*BeginResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BeginResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginResponse) MarshalToVT ¶ added in v0.11.0
func (m *BeginResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BeginResponse) MarshalVT ¶ added in v0.11.0
func (m *BeginResponse) MarshalVT() (dAtA []byte, err error)
func (*BeginResponse) ProtoMessage ¶
func (*BeginResponse) ProtoMessage()
func (*BeginResponse) ProtoReflect ¶ added in v0.11.0
func (x *BeginResponse) ProtoReflect() protoreflect.Message
func (*BeginResponse) Reset ¶
func (x *BeginResponse) Reset()
func (*BeginResponse) SizeVT ¶ added in v0.11.0
func (m *BeginResponse) SizeVT() (n int)
func (*BeginResponse) String ¶
func (x *BeginResponse) String() string
func (*BeginResponse) UnmarshalVT ¶ added in v0.11.0
func (m *BeginResponse) UnmarshalVT(dAtA []byte) error
type BeginStreamExecuteRequest ¶ added in v0.13.0
type BeginStreamExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` PreQueries []string `protobuf:"bytes,6,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` ReservedId int64 `protobuf:"varint,7,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` // contains filtered or unexported fields }
BeginStreamExecuteRequest is the payload to BeginStreamExecute
func (*BeginStreamExecuteRequest) Descriptor
deprecated
added in
v0.13.0
func (*BeginStreamExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use BeginStreamExecuteRequest.ProtoReflect.Descriptor instead.
func (*BeginStreamExecuteRequest) GetEffectiveCallerId ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*BeginStreamExecuteRequest) GetImmediateCallerId ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*BeginStreamExecuteRequest) GetOptions ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) GetOptions() *ExecuteOptions
func (*BeginStreamExecuteRequest) GetPreQueries ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) GetPreQueries() []string
func (*BeginStreamExecuteRequest) GetQuery ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) GetQuery() *BoundQuery
func (*BeginStreamExecuteRequest) GetReservedId ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) GetReservedId() int64
func (*BeginStreamExecuteRequest) GetTarget ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) GetTarget() *Target
func (*BeginStreamExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *BeginStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginStreamExecuteRequest) MarshalToVT ¶ added in v0.13.0
func (m *BeginStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*BeginStreamExecuteRequest) MarshalVT ¶ added in v0.13.0
func (m *BeginStreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*BeginStreamExecuteRequest) ProtoMessage ¶ added in v0.13.0
func (*BeginStreamExecuteRequest) ProtoMessage()
func (*BeginStreamExecuteRequest) ProtoReflect ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) ProtoReflect() protoreflect.Message
func (*BeginStreamExecuteRequest) Reset ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) Reset()
func (*BeginStreamExecuteRequest) SizeVT ¶ added in v0.13.0
func (m *BeginStreamExecuteRequest) SizeVT() (n int)
func (*BeginStreamExecuteRequest) String ¶ added in v0.13.0
func (x *BeginStreamExecuteRequest) String() string
func (*BeginStreamExecuteRequest) UnmarshalVT ¶ added in v0.13.0
func (m *BeginStreamExecuteRequest) UnmarshalVT(dAtA []byte) error
type BeginStreamExecuteResponse ¶ added in v0.13.0
type BeginStreamExecuteResponse struct { // 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 stream execute failed. Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // transaction_id might be non-zero even if an error is present. TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` TabletAlias *topodata.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // The session_state_changes might be set if the transaction is a snapshot transaction // and the MySQL implementation supports getting a start gtid on snapshot SessionStateChanges string `protobuf:"bytes,5,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` // contains filtered or unexported fields }
BeginStreamExecuteResponse is the returned value from BeginStreamExecute
func (*BeginStreamExecuteResponse) Descriptor
deprecated
added in
v0.13.0
func (*BeginStreamExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use BeginStreamExecuteResponse.ProtoReflect.Descriptor instead.
func (*BeginStreamExecuteResponse) GetError ¶ added in v0.13.0
func (x *BeginStreamExecuteResponse) GetError() *vtrpc.RPCError
func (*BeginStreamExecuteResponse) GetResult ¶ added in v0.13.0
func (x *BeginStreamExecuteResponse) GetResult() *QueryResult
func (*BeginStreamExecuteResponse) GetSessionStateChanges ¶ added in v0.15.0
func (x *BeginStreamExecuteResponse) GetSessionStateChanges() string
func (*BeginStreamExecuteResponse) GetTabletAlias ¶ added in v0.13.0
func (x *BeginStreamExecuteResponse) GetTabletAlias() *topodata.TabletAlias
func (*BeginStreamExecuteResponse) GetTransactionId ¶ added in v0.13.0
func (x *BeginStreamExecuteResponse) GetTransactionId() int64
func (*BeginStreamExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *BeginStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BeginStreamExecuteResponse) MarshalToVT ¶ added in v0.13.0
func (m *BeginStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*BeginStreamExecuteResponse) MarshalVT ¶ added in v0.13.0
func (m *BeginStreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*BeginStreamExecuteResponse) ProtoMessage ¶ added in v0.13.0
func (*BeginStreamExecuteResponse) ProtoMessage()
func (*BeginStreamExecuteResponse) ProtoReflect ¶ added in v0.13.0
func (x *BeginStreamExecuteResponse) ProtoReflect() protoreflect.Message
func (*BeginStreamExecuteResponse) Reset ¶ added in v0.13.0
func (x *BeginStreamExecuteResponse) Reset()
func (*BeginStreamExecuteResponse) SizeVT ¶ added in v0.13.0
func (m *BeginStreamExecuteResponse) SizeVT() (n int)
func (*BeginStreamExecuteResponse) String ¶ added in v0.13.0
func (x *BeginStreamExecuteResponse) String() string
func (*BeginStreamExecuteResponse) UnmarshalVT ¶ added in v0.13.0
func (m *BeginStreamExecuteResponse) UnmarshalVT(dAtA []byte) error
type BindVariable ¶
type BindVariable struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=query.Type" json:"type,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // values are set if type is TUPLE. Values []*Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
BindVariable represents a single bind variable in a Query.
func (*BindVariable) CachedSize ¶ added in v0.10.0
func (cached *BindVariable) CachedSize(alloc bool) int64
func (*BindVariable) Descriptor
deprecated
func (*BindVariable) Descriptor() ([]byte, []int)
Deprecated: Use BindVariable.ProtoReflect.Descriptor instead.
func (*BindVariable) GetType ¶
func (x *BindVariable) GetType() Type
func (*BindVariable) GetValue ¶
func (x *BindVariable) GetValue() []byte
func (*BindVariable) GetValues ¶
func (x *BindVariable) GetValues() []*Value
func (*BindVariable) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BindVariable) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BindVariable) MarshalToVT ¶ added in v0.11.0
func (m *BindVariable) MarshalToVT(dAtA []byte) (int, error)
func (*BindVariable) MarshalVT ¶ added in v0.11.0
func (m *BindVariable) MarshalVT() (dAtA []byte, err error)
func (*BindVariable) ProtoMessage ¶
func (*BindVariable) ProtoMessage()
func (*BindVariable) ProtoReflect ¶ added in v0.11.0
func (x *BindVariable) ProtoReflect() protoreflect.Message
func (*BindVariable) Reset ¶
func (x *BindVariable) Reset()
func (*BindVariable) SizeVT ¶ added in v0.11.0
func (m *BindVariable) SizeVT() (n int)
func (*BindVariable) String ¶
func (x *BindVariable) String() string
func (*BindVariable) UnmarshalVT ¶ added in v0.11.0
func (m *BindVariable) UnmarshalVT(dAtA []byte) error
type BoundQuery ¶
type BoundQuery struct { // sql is the SQL query to execute Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"` // bind_variables is a map of all bind variables to expand in the query. // nil values are not allowed. Use NULL_TYPE to express a NULL value. BindVariables map[string]*BindVariable `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
BoundQuery is a query with its bind variables
func (*BoundQuery) Descriptor
deprecated
func (*BoundQuery) Descriptor() ([]byte, []int)
Deprecated: Use BoundQuery.ProtoReflect.Descriptor instead.
func (*BoundQuery) GetBindVariables ¶
func (x *BoundQuery) GetBindVariables() map[string]*BindVariable
func (*BoundQuery) GetSql ¶
func (x *BoundQuery) GetSql() string
func (*BoundQuery) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BoundQuery) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BoundQuery) MarshalToVT ¶ added in v0.11.0
func (m *BoundQuery) MarshalToVT(dAtA []byte) (int, error)
func (*BoundQuery) MarshalVT ¶ added in v0.11.0
func (m *BoundQuery) MarshalVT() (dAtA []byte, err error)
func (*BoundQuery) ProtoMessage ¶
func (*BoundQuery) ProtoMessage()
func (*BoundQuery) ProtoReflect ¶ added in v0.11.0
func (x *BoundQuery) ProtoReflect() protoreflect.Message
func (*BoundQuery) Reset ¶
func (x *BoundQuery) Reset()
func (*BoundQuery) SizeVT ¶ added in v0.11.0
func (m *BoundQuery) SizeVT() (n int)
func (*BoundQuery) String ¶
func (x *BoundQuery) String() string
func (*BoundQuery) UnmarshalVT ¶ added in v0.11.0
func (m *BoundQuery) UnmarshalVT(dAtA []byte) error
type CommitPreparedRequest ¶
type CommitPreparedRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` // contains filtered or unexported fields }
CommitPreparedRequest is the payload to CommitPrepared
func (*CommitPreparedRequest) Descriptor
deprecated
func (*CommitPreparedRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitPreparedRequest.ProtoReflect.Descriptor instead.
func (*CommitPreparedRequest) GetDtid ¶
func (x *CommitPreparedRequest) GetDtid() string
func (*CommitPreparedRequest) GetEffectiveCallerId ¶
func (x *CommitPreparedRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*CommitPreparedRequest) GetImmediateCallerId ¶
func (x *CommitPreparedRequest) GetImmediateCallerId() *VTGateCallerID
func (*CommitPreparedRequest) GetTarget ¶
func (x *CommitPreparedRequest) GetTarget() *Target
func (*CommitPreparedRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CommitPreparedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommitPreparedRequest) MarshalToVT ¶ added in v0.11.0
func (m *CommitPreparedRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CommitPreparedRequest) MarshalVT ¶ added in v0.11.0
func (m *CommitPreparedRequest) MarshalVT() (dAtA []byte, err error)
func (*CommitPreparedRequest) ProtoMessage ¶
func (*CommitPreparedRequest) ProtoMessage()
func (*CommitPreparedRequest) ProtoReflect ¶ added in v0.11.0
func (x *CommitPreparedRequest) ProtoReflect() protoreflect.Message
func (*CommitPreparedRequest) Reset ¶
func (x *CommitPreparedRequest) Reset()
func (*CommitPreparedRequest) SizeVT ¶ added in v0.11.0
func (m *CommitPreparedRequest) SizeVT() (n int)
func (*CommitPreparedRequest) String ¶
func (x *CommitPreparedRequest) String() string
func (*CommitPreparedRequest) UnmarshalVT ¶ added in v0.11.0
func (m *CommitPreparedRequest) UnmarshalVT(dAtA []byte) error
type CommitPreparedResponse ¶
type CommitPreparedResponse struct {
// contains filtered or unexported fields
}
CommitPreparedResponse is the returned value from CommitPrepared
func (*CommitPreparedResponse) Descriptor
deprecated
func (*CommitPreparedResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitPreparedResponse.ProtoReflect.Descriptor instead.
func (*CommitPreparedResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CommitPreparedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommitPreparedResponse) MarshalToVT ¶ added in v0.11.0
func (m *CommitPreparedResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CommitPreparedResponse) MarshalVT ¶ added in v0.11.0
func (m *CommitPreparedResponse) MarshalVT() (dAtA []byte, err error)
func (*CommitPreparedResponse) ProtoMessage ¶
func (*CommitPreparedResponse) ProtoMessage()
func (*CommitPreparedResponse) ProtoReflect ¶ added in v0.11.0
func (x *CommitPreparedResponse) ProtoReflect() protoreflect.Message
func (*CommitPreparedResponse) Reset ¶
func (x *CommitPreparedResponse) Reset()
func (*CommitPreparedResponse) SizeVT ¶ added in v0.11.0
func (m *CommitPreparedResponse) SizeVT() (n int)
func (*CommitPreparedResponse) String ¶
func (x *CommitPreparedResponse) String() string
func (*CommitPreparedResponse) UnmarshalVT ¶ added in v0.11.0
func (m *CommitPreparedResponse) UnmarshalVT(dAtA []byte) error
type CommitRequest ¶
type CommitRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
CommitRequest is the payload to Commit
func (*CommitRequest) Descriptor
deprecated
func (*CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.
func (*CommitRequest) GetEffectiveCallerId ¶
func (x *CommitRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*CommitRequest) GetImmediateCallerId ¶
func (x *CommitRequest) GetImmediateCallerId() *VTGateCallerID
func (*CommitRequest) GetTarget ¶
func (x *CommitRequest) GetTarget() *Target
func (*CommitRequest) GetTransactionId ¶
func (x *CommitRequest) GetTransactionId() int64
func (*CommitRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommitRequest) MarshalToVT ¶ added in v0.11.0
func (m *CommitRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CommitRequest) MarshalVT ¶ added in v0.11.0
func (m *CommitRequest) MarshalVT() (dAtA []byte, err error)
func (*CommitRequest) ProtoMessage ¶
func (*CommitRequest) ProtoMessage()
func (*CommitRequest) ProtoReflect ¶ added in v0.11.0
func (x *CommitRequest) ProtoReflect() protoreflect.Message
func (*CommitRequest) Reset ¶
func (x *CommitRequest) Reset()
func (*CommitRequest) SizeVT ¶ added in v0.11.0
func (m *CommitRequest) SizeVT() (n int)
func (*CommitRequest) String ¶
func (x *CommitRequest) String() string
func (*CommitRequest) UnmarshalVT ¶ added in v0.11.0
func (m *CommitRequest) UnmarshalVT(dAtA []byte) error
type CommitResponse ¶
type CommitResponse struct { ReservedId int64 `protobuf:"varint,1,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` // contains filtered or unexported fields }
CommitResponse is the returned value from Commit
func (*CommitResponse) Descriptor
deprecated
func (*CommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.
func (*CommitResponse) GetReservedId ¶
func (x *CommitResponse) GetReservedId() int64
func (*CommitResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CommitResponse) MarshalToVT ¶ added in v0.11.0
func (m *CommitResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CommitResponse) MarshalVT ¶ added in v0.11.0
func (m *CommitResponse) MarshalVT() (dAtA []byte, err error)
func (*CommitResponse) ProtoMessage ¶
func (*CommitResponse) ProtoMessage()
func (*CommitResponse) ProtoReflect ¶ added in v0.11.0
func (x *CommitResponse) ProtoReflect() protoreflect.Message
func (*CommitResponse) Reset ¶
func (x *CommitResponse) Reset()
func (*CommitResponse) SizeVT ¶ added in v0.11.0
func (m *CommitResponse) SizeVT() (n int)
func (*CommitResponse) String ¶
func (x *CommitResponse) String() string
func (*CommitResponse) UnmarshalVT ¶ added in v0.11.0
func (m *CommitResponse) UnmarshalVT(dAtA []byte) error
type ConcludeTransactionRequest ¶
type ConcludeTransactionRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` // contains filtered or unexported fields }
ConcludeTransactionRequest is the payload to ConcludeTransaction
func (*ConcludeTransactionRequest) Descriptor
deprecated
func (*ConcludeTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConcludeTransactionRequest.ProtoReflect.Descriptor instead.
func (*ConcludeTransactionRequest) GetDtid ¶
func (x *ConcludeTransactionRequest) GetDtid() string
func (*ConcludeTransactionRequest) GetEffectiveCallerId ¶
func (x *ConcludeTransactionRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ConcludeTransactionRequest) GetImmediateCallerId ¶
func (x *ConcludeTransactionRequest) GetImmediateCallerId() *VTGateCallerID
func (*ConcludeTransactionRequest) GetTarget ¶
func (x *ConcludeTransactionRequest) GetTarget() *Target
func (*ConcludeTransactionRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ConcludeTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConcludeTransactionRequest) MarshalToVT ¶ added in v0.11.0
func (m *ConcludeTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ConcludeTransactionRequest) MarshalVT ¶ added in v0.11.0
func (m *ConcludeTransactionRequest) MarshalVT() (dAtA []byte, err error)
func (*ConcludeTransactionRequest) ProtoMessage ¶
func (*ConcludeTransactionRequest) ProtoMessage()
func (*ConcludeTransactionRequest) ProtoReflect ¶ added in v0.11.0
func (x *ConcludeTransactionRequest) ProtoReflect() protoreflect.Message
func (*ConcludeTransactionRequest) Reset ¶
func (x *ConcludeTransactionRequest) Reset()
func (*ConcludeTransactionRequest) SizeVT ¶ added in v0.11.0
func (m *ConcludeTransactionRequest) SizeVT() (n int)
func (*ConcludeTransactionRequest) String ¶
func (x *ConcludeTransactionRequest) String() string
func (*ConcludeTransactionRequest) UnmarshalVT ¶ added in v0.11.0
func (m *ConcludeTransactionRequest) UnmarshalVT(dAtA []byte) error
type ConcludeTransactionResponse ¶
type ConcludeTransactionResponse struct {
// contains filtered or unexported fields
}
ConcludeTransactionResponse is the returned value from ConcludeTransaction
func (*ConcludeTransactionResponse) Descriptor
deprecated
func (*ConcludeTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConcludeTransactionResponse.ProtoReflect.Descriptor instead.
func (*ConcludeTransactionResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ConcludeTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ConcludeTransactionResponse) MarshalToVT ¶ added in v0.11.0
func (m *ConcludeTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ConcludeTransactionResponse) MarshalVT ¶ added in v0.11.0
func (m *ConcludeTransactionResponse) MarshalVT() (dAtA []byte, err error)
func (*ConcludeTransactionResponse) ProtoMessage ¶
func (*ConcludeTransactionResponse) ProtoMessage()
func (*ConcludeTransactionResponse) ProtoReflect ¶ added in v0.11.0
func (x *ConcludeTransactionResponse) ProtoReflect() protoreflect.Message
func (*ConcludeTransactionResponse) Reset ¶
func (x *ConcludeTransactionResponse) Reset()
func (*ConcludeTransactionResponse) SizeVT ¶ added in v0.11.0
func (m *ConcludeTransactionResponse) SizeVT() (n int)
func (*ConcludeTransactionResponse) String ¶
func (x *ConcludeTransactionResponse) String() string
func (*ConcludeTransactionResponse) UnmarshalVT ¶ added in v0.11.0
func (m *ConcludeTransactionResponse) UnmarshalVT(dAtA []byte) error
type CreateTransactionRequest ¶
type CreateTransactionRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` Participants []*Target `protobuf:"bytes,5,rep,name=participants,proto3" json:"participants,omitempty"` // contains filtered or unexported fields }
CreateTransactionRequest is the payload to CreateTransaction
func (*CreateTransactionRequest) Descriptor
deprecated
func (*CreateTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTransactionRequest.ProtoReflect.Descriptor instead.
func (*CreateTransactionRequest) GetDtid ¶
func (x *CreateTransactionRequest) GetDtid() string
func (*CreateTransactionRequest) GetEffectiveCallerId ¶
func (x *CreateTransactionRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*CreateTransactionRequest) GetImmediateCallerId ¶
func (x *CreateTransactionRequest) GetImmediateCallerId() *VTGateCallerID
func (*CreateTransactionRequest) GetParticipants ¶
func (x *CreateTransactionRequest) GetParticipants() []*Target
func (*CreateTransactionRequest) GetTarget ¶
func (x *CreateTransactionRequest) GetTarget() *Target
func (*CreateTransactionRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CreateTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateTransactionRequest) MarshalToVT ¶ added in v0.11.0
func (m *CreateTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CreateTransactionRequest) MarshalVT ¶ added in v0.11.0
func (m *CreateTransactionRequest) MarshalVT() (dAtA []byte, err error)
func (*CreateTransactionRequest) ProtoMessage ¶
func (*CreateTransactionRequest) ProtoMessage()
func (*CreateTransactionRequest) ProtoReflect ¶ added in v0.11.0
func (x *CreateTransactionRequest) ProtoReflect() protoreflect.Message
func (*CreateTransactionRequest) Reset ¶
func (x *CreateTransactionRequest) Reset()
func (*CreateTransactionRequest) SizeVT ¶ added in v0.11.0
func (m *CreateTransactionRequest) SizeVT() (n int)
func (*CreateTransactionRequest) String ¶
func (x *CreateTransactionRequest) String() string
func (*CreateTransactionRequest) UnmarshalVT ¶ added in v0.11.0
func (m *CreateTransactionRequest) UnmarshalVT(dAtA []byte) error
type CreateTransactionResponse ¶
type CreateTransactionResponse struct {
// contains filtered or unexported fields
}
CreateTransactionResponse is the returned value from CreateTransaction
func (*CreateTransactionResponse) Descriptor
deprecated
func (*CreateTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTransactionResponse.ProtoReflect.Descriptor instead.
func (*CreateTransactionResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CreateTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateTransactionResponse) MarshalToVT ¶ added in v0.11.0
func (m *CreateTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CreateTransactionResponse) MarshalVT ¶ added in v0.11.0
func (m *CreateTransactionResponse) MarshalVT() (dAtA []byte, err error)
func (*CreateTransactionResponse) ProtoMessage ¶
func (*CreateTransactionResponse) ProtoMessage()
func (*CreateTransactionResponse) ProtoReflect ¶ added in v0.11.0
func (x *CreateTransactionResponse) ProtoReflect() protoreflect.Message
func (*CreateTransactionResponse) Reset ¶
func (x *CreateTransactionResponse) Reset()
func (*CreateTransactionResponse) SizeVT ¶ added in v0.11.0
func (m *CreateTransactionResponse) SizeVT() (n int)
func (*CreateTransactionResponse) String ¶
func (x *CreateTransactionResponse) String() string
func (*CreateTransactionResponse) UnmarshalVT ¶ added in v0.11.0
func (m *CreateTransactionResponse) UnmarshalVT(dAtA []byte) error
type EventToken ¶
type EventToken struct { // timestamp is the MySQL timestamp of the statements. Seconds since Epoch. Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // 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. Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` // The position on the replication stream after this statement was applied. // It is not the transaction ID / GTID, but the position / GTIDSet. Position string `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
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.
func (*EventToken) Descriptor
deprecated
func (*EventToken) Descriptor() ([]byte, []int)
Deprecated: Use EventToken.ProtoReflect.Descriptor instead.
func (*EventToken) GetPosition ¶
func (x *EventToken) GetPosition() string
func (*EventToken) GetShard ¶
func (x *EventToken) GetShard() string
func (*EventToken) GetTimestamp ¶
func (x *EventToken) GetTimestamp() int64
func (*EventToken) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *EventToken) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EventToken) MarshalToVT ¶ added in v0.11.0
func (m *EventToken) MarshalToVT(dAtA []byte) (int, error)
func (*EventToken) MarshalVT ¶ added in v0.11.0
func (m *EventToken) MarshalVT() (dAtA []byte, err error)
func (*EventToken) ProtoMessage ¶
func (*EventToken) ProtoMessage()
func (*EventToken) ProtoReflect ¶ added in v0.11.0
func (x *EventToken) ProtoReflect() protoreflect.Message
func (*EventToken) Reset ¶
func (x *EventToken) Reset()
func (*EventToken) SizeVT ¶ added in v0.11.0
func (m *EventToken) SizeVT() (n int)
func (*EventToken) String ¶
func (x *EventToken) String() string
func (*EventToken) UnmarshalVT ¶ added in v0.11.0
func (m *EventToken) UnmarshalVT(dAtA []byte) error
type ExecuteOptions ¶
type ExecuteOptions struct { // 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 IncludedFields ExecuteOptions_IncludedFields `` /* 145-byte string literal not displayed */ // client_rows_found specifies if rows_affected should return // rows found instead of rows affected. Behavior is defined // by MySQL's CLIENT_FOUND_ROWS flag. ClientFoundRows bool `protobuf:"varint,5,opt,name=client_found_rows,json=clientFoundRows,proto3" json:"client_found_rows,omitempty"` // workload specifies the type of workload: // OLTP: DMLs allowed, results have row count limit, and // query timeouts are shorter. // OLAP: DMLS not allowed, no limit on row count, timeouts // can be as high as desired. // DBA: no limit on rowcount or timeout, all queries allowed // but intended for long DMLs and DDLs. Workload ExecuteOptions_Workload `protobuf:"varint,6,opt,name=workload,proto3,enum=query.ExecuteOptions_Workload" json:"workload,omitempty"` // sql_select_limit sets an implicit limit on all select statements. Since // vitess also sets a rowcount limit on queries, the smallest value wins. SqlSelectLimit int64 `protobuf:"varint,8,opt,name=sql_select_limit,json=sqlSelectLimit,proto3" json:"sql_select_limit,omitempty"` TransactionIsolation ExecuteOptions_TransactionIsolation `` /* 169-byte string literal not displayed */ // skip_query_plan_cache specifies if the query plan should be cached by vitess. // By default all query plans are cached. SkipQueryPlanCache bool `protobuf:"varint,10,opt,name=skip_query_plan_cache,json=skipQueryPlanCache,proto3" json:"skip_query_plan_cache,omitempty"` // PlannerVersion specifies which planner to use. // If DEFAULT is chosen, whatever vtgate was started with will be used PlannerVersion ExecuteOptions_PlannerVersion `` /* 146-byte string literal not displayed */ // has_created_temp_tables signals whether plans created in this session should be cached or not // if the user has created temp tables, Vitess will not reuse plans created for this session in other sessions. // The current session can still use other sessions cached plans. HasCreatedTempTables bool `` /* 127-byte string literal not displayed */ Consolidator ExecuteOptions_Consolidator `protobuf:"varint,13,opt,name=consolidator,proto3,enum=query.ExecuteOptions_Consolidator" json:"consolidator,omitempty"` // TransactionAccessMode specifies the access modes to be used while starting the transaction i.e. READ WRITE/READ ONLY/WITH CONSISTENT SNAPSHOT // If not specified, the transaction will be started with the default access mode on the connection. TransactionAccessMode []ExecuteOptions_TransactionAccessMode `` /* 183-byte string literal not displayed */ // WorkloadName specifies the name of the workload as indicated in query directives. This is used for instrumentation // in metrics and tracing spans. WorkloadName string `protobuf:"bytes,15,opt,name=WorkloadName,proto3" json:"WorkloadName,omitempty"` // priority specifies the priority of the query, between 0 and 100. This is leveraged by the transaction // throttler to determine whether, under resource contention, a query should or should not be throttled. Priority string `protobuf:"bytes,16,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
ExecuteOptions is passed around for all Execute calls.
func (*ExecuteOptions) Descriptor
deprecated
func (*ExecuteOptions) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteOptions.ProtoReflect.Descriptor instead.
func (*ExecuteOptions) GetClientFoundRows ¶
func (x *ExecuteOptions) GetClientFoundRows() bool
func (*ExecuteOptions) GetConsolidator ¶ added in v0.16.0
func (x *ExecuteOptions) GetConsolidator() ExecuteOptions_Consolidator
func (*ExecuteOptions) GetHasCreatedTempTables ¶ added in v0.10.0
func (x *ExecuteOptions) GetHasCreatedTempTables() bool
func (*ExecuteOptions) GetIncludedFields ¶
func (x *ExecuteOptions) GetIncludedFields() ExecuteOptions_IncludedFields
func (*ExecuteOptions) GetPlannerVersion ¶ added in v0.10.0
func (x *ExecuteOptions) GetPlannerVersion() ExecuteOptions_PlannerVersion
func (*ExecuteOptions) GetPriority ¶ added in v0.17.0
func (x *ExecuteOptions) GetPriority() string
func (*ExecuteOptions) GetSkipQueryPlanCache ¶
func (x *ExecuteOptions) GetSkipQueryPlanCache() bool
func (*ExecuteOptions) GetSqlSelectLimit ¶
func (x *ExecuteOptions) GetSqlSelectLimit() int64
func (*ExecuteOptions) GetTransactionAccessMode ¶ added in v0.16.0
func (x *ExecuteOptions) GetTransactionAccessMode() []ExecuteOptions_TransactionAccessMode
func (*ExecuteOptions) GetTransactionIsolation ¶
func (x *ExecuteOptions) GetTransactionIsolation() ExecuteOptions_TransactionIsolation
func (*ExecuteOptions) GetWorkload ¶
func (x *ExecuteOptions) GetWorkload() ExecuteOptions_Workload
func (*ExecuteOptions) GetWorkloadName ¶ added in v0.17.0
func (x *ExecuteOptions) GetWorkloadName() string
func (*ExecuteOptions) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ExecuteOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExecuteOptions) MarshalToVT ¶ added in v0.11.0
func (m *ExecuteOptions) MarshalToVT(dAtA []byte) (int, error)
func (*ExecuteOptions) MarshalVT ¶ added in v0.11.0
func (m *ExecuteOptions) MarshalVT() (dAtA []byte, err error)
func (*ExecuteOptions) ProtoMessage ¶
func (*ExecuteOptions) ProtoMessage()
func (*ExecuteOptions) ProtoReflect ¶ added in v0.11.0
func (x *ExecuteOptions) ProtoReflect() protoreflect.Message
func (*ExecuteOptions) Reset ¶
func (x *ExecuteOptions) Reset()
func (*ExecuteOptions) SizeVT ¶ added in v0.11.0
func (m *ExecuteOptions) SizeVT() (n int)
func (*ExecuteOptions) String ¶
func (x *ExecuteOptions) String() string
func (*ExecuteOptions) UnmarshalVT ¶ added in v0.11.0
func (m *ExecuteOptions) UnmarshalVT(dAtA []byte) error
type ExecuteOptions_Consolidator ¶ added in v0.16.0
type ExecuteOptions_Consolidator int32
const ( ExecuteOptions_CONSOLIDATOR_UNSPECIFIED ExecuteOptions_Consolidator = 0 ExecuteOptions_CONSOLIDATOR_DISABLED ExecuteOptions_Consolidator = 1 ExecuteOptions_CONSOLIDATOR_ENABLED ExecuteOptions_Consolidator = 2 ExecuteOptions_CONSOLIDATOR_ENABLED_REPLICAS ExecuteOptions_Consolidator = 3 )
func (ExecuteOptions_Consolidator) Descriptor ¶ added in v0.16.0
func (ExecuteOptions_Consolidator) Descriptor() protoreflect.EnumDescriptor
func (ExecuteOptions_Consolidator) Enum ¶ added in v0.16.0
func (x ExecuteOptions_Consolidator) Enum() *ExecuteOptions_Consolidator
func (ExecuteOptions_Consolidator) EnumDescriptor
deprecated
added in
v0.16.0
func (ExecuteOptions_Consolidator) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteOptions_Consolidator.Descriptor instead.
func (ExecuteOptions_Consolidator) Number ¶ added in v0.16.0
func (x ExecuteOptions_Consolidator) Number() protoreflect.EnumNumber
func (ExecuteOptions_Consolidator) String ¶ added in v0.16.0
func (x ExecuteOptions_Consolidator) String() string
func (ExecuteOptions_Consolidator) Type ¶ added in v0.16.0
func (ExecuteOptions_Consolidator) Type() protoreflect.EnumType
type ExecuteOptions_IncludedFields ¶
type ExecuteOptions_IncludedFields int32
const ( ExecuteOptions_TYPE_AND_NAME ExecuteOptions_IncludedFields = 0 ExecuteOptions_TYPE_ONLY ExecuteOptions_IncludedFields = 1 ExecuteOptions_ALL ExecuteOptions_IncludedFields = 2 )
func (ExecuteOptions_IncludedFields) Descriptor ¶ added in v0.11.0
func (ExecuteOptions_IncludedFields) Descriptor() protoreflect.EnumDescriptor
func (ExecuteOptions_IncludedFields) Enum ¶ added in v0.11.0
func (x ExecuteOptions_IncludedFields) Enum() *ExecuteOptions_IncludedFields
func (ExecuteOptions_IncludedFields) EnumDescriptor
deprecated
func (ExecuteOptions_IncludedFields) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteOptions_IncludedFields.Descriptor instead.
func (ExecuteOptions_IncludedFields) Number ¶ added in v0.11.0
func (x ExecuteOptions_IncludedFields) Number() protoreflect.EnumNumber
func (ExecuteOptions_IncludedFields) String ¶
func (x ExecuteOptions_IncludedFields) String() string
func (ExecuteOptions_IncludedFields) Type ¶ added in v0.11.0
func (ExecuteOptions_IncludedFields) Type() protoreflect.EnumType
type ExecuteOptions_PlannerVersion ¶ added in v0.10.0
type ExecuteOptions_PlannerVersion int32
const ( ExecuteOptions_DEFAULT_PLANNER ExecuteOptions_PlannerVersion = 0 ExecuteOptions_V3 ExecuteOptions_PlannerVersion = 1 ExecuteOptions_Gen4 ExecuteOptions_PlannerVersion = 2 ExecuteOptions_Gen4Greedy ExecuteOptions_PlannerVersion = 3 ExecuteOptions_Gen4Left2Right ExecuteOptions_PlannerVersion = 4 ExecuteOptions_Gen4WithFallback ExecuteOptions_PlannerVersion = 5 ExecuteOptions_Gen4CompareV3 ExecuteOptions_PlannerVersion = 6 ExecuteOptions_V3Insert ExecuteOptions_PlannerVersion = 7 )
func (ExecuteOptions_PlannerVersion) Descriptor ¶ added in v0.11.0
func (ExecuteOptions_PlannerVersion) Descriptor() protoreflect.EnumDescriptor
func (ExecuteOptions_PlannerVersion) Enum ¶ added in v0.11.0
func (x ExecuteOptions_PlannerVersion) Enum() *ExecuteOptions_PlannerVersion
func (ExecuteOptions_PlannerVersion) EnumDescriptor
deprecated
added in
v0.10.0
func (ExecuteOptions_PlannerVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteOptions_PlannerVersion.Descriptor instead.
func (ExecuteOptions_PlannerVersion) Number ¶ added in v0.11.0
func (x ExecuteOptions_PlannerVersion) Number() protoreflect.EnumNumber
func (ExecuteOptions_PlannerVersion) String ¶ added in v0.10.0
func (x ExecuteOptions_PlannerVersion) String() string
func (ExecuteOptions_PlannerVersion) Type ¶ added in v0.11.0
func (ExecuteOptions_PlannerVersion) Type() protoreflect.EnumType
type ExecuteOptions_TransactionAccessMode ¶ added in v0.16.0
type ExecuteOptions_TransactionAccessMode int32
const ( ExecuteOptions_CONSISTENT_SNAPSHOT ExecuteOptions_TransactionAccessMode = 0 ExecuteOptions_READ_WRITE ExecuteOptions_TransactionAccessMode = 1 ExecuteOptions_READ_ONLY ExecuteOptions_TransactionAccessMode = 2 )
func (ExecuteOptions_TransactionAccessMode) Descriptor ¶ added in v0.16.0
func (ExecuteOptions_TransactionAccessMode) Descriptor() protoreflect.EnumDescriptor
func (ExecuteOptions_TransactionAccessMode) Enum ¶ added in v0.16.0
func (x ExecuteOptions_TransactionAccessMode) Enum() *ExecuteOptions_TransactionAccessMode
func (ExecuteOptions_TransactionAccessMode) EnumDescriptor
deprecated
added in
v0.16.0
func (ExecuteOptions_TransactionAccessMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteOptions_TransactionAccessMode.Descriptor instead.
func (ExecuteOptions_TransactionAccessMode) Number ¶ added in v0.16.0
func (x ExecuteOptions_TransactionAccessMode) Number() protoreflect.EnumNumber
func (ExecuteOptions_TransactionAccessMode) String ¶ added in v0.16.0
func (x ExecuteOptions_TransactionAccessMode) String() string
func (ExecuteOptions_TransactionAccessMode) Type ¶ added in v0.16.0
func (ExecuteOptions_TransactionAccessMode) Type() protoreflect.EnumType
type ExecuteOptions_TransactionIsolation ¶
type ExecuteOptions_TransactionIsolation int32
const ( ExecuteOptions_DEFAULT ExecuteOptions_TransactionIsolation = 0 ExecuteOptions_REPEATABLE_READ ExecuteOptions_TransactionIsolation = 1 ExecuteOptions_READ_COMMITTED ExecuteOptions_TransactionIsolation = 2 ExecuteOptions_READ_UNCOMMITTED ExecuteOptions_TransactionIsolation = 3 ExecuteOptions_SERIALIZABLE ExecuteOptions_TransactionIsolation = 4 // This is not an "official" transaction level but it will do a // START TRANSACTION WITH CONSISTENT SNAPSHOT, READ ONLY ExecuteOptions_CONSISTENT_SNAPSHOT_READ_ONLY ExecuteOptions_TransactionIsolation = 5 // This not an "official" transaction level, it will send queries to mysql // without wrapping them in a transaction ExecuteOptions_AUTOCOMMIT ExecuteOptions_TransactionIsolation = 6 )
func (ExecuteOptions_TransactionIsolation) Descriptor ¶ added in v0.11.0
func (ExecuteOptions_TransactionIsolation) Descriptor() protoreflect.EnumDescriptor
func (ExecuteOptions_TransactionIsolation) Enum ¶ added in v0.11.0
func (x ExecuteOptions_TransactionIsolation) Enum() *ExecuteOptions_TransactionIsolation
func (ExecuteOptions_TransactionIsolation) EnumDescriptor
deprecated
func (ExecuteOptions_TransactionIsolation) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteOptions_TransactionIsolation.Descriptor instead.
func (ExecuteOptions_TransactionIsolation) Number ¶ added in v0.11.0
func (x ExecuteOptions_TransactionIsolation) Number() protoreflect.EnumNumber
func (ExecuteOptions_TransactionIsolation) String ¶
func (x ExecuteOptions_TransactionIsolation) String() string
func (ExecuteOptions_TransactionIsolation) Type ¶ added in v0.11.0
func (ExecuteOptions_TransactionIsolation) Type() protoreflect.EnumType
type ExecuteOptions_Workload ¶
type ExecuteOptions_Workload int32
const ( ExecuteOptions_UNSPECIFIED ExecuteOptions_Workload = 0 ExecuteOptions_OLTP ExecuteOptions_Workload = 1 ExecuteOptions_OLAP ExecuteOptions_Workload = 2 ExecuteOptions_DBA ExecuteOptions_Workload = 3 )
func (ExecuteOptions_Workload) Descriptor ¶ added in v0.11.0
func (ExecuteOptions_Workload) Descriptor() protoreflect.EnumDescriptor
func (ExecuteOptions_Workload) Enum ¶ added in v0.11.0
func (x ExecuteOptions_Workload) Enum() *ExecuteOptions_Workload
func (ExecuteOptions_Workload) EnumDescriptor
deprecated
func (ExecuteOptions_Workload) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecuteOptions_Workload.Descriptor instead.
func (ExecuteOptions_Workload) Number ¶ added in v0.11.0
func (x ExecuteOptions_Workload) Number() protoreflect.EnumNumber
func (ExecuteOptions_Workload) String ¶
func (x ExecuteOptions_Workload) String() string
func (ExecuteOptions_Workload) Type ¶ added in v0.11.0
func (ExecuteOptions_Workload) Type() protoreflect.EnumType
type ExecuteRequest ¶
type ExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` TransactionId int64 `protobuf:"varint,5,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Options *ExecuteOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` ReservedId int64 `protobuf:"varint,7,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` // contains filtered or unexported fields }
ExecuteRequest is the payload to Execute
func (*ExecuteRequest) Descriptor
deprecated
func (*ExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) GetEffectiveCallerId ¶
func (x *ExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ExecuteRequest) GetImmediateCallerId ¶
func (x *ExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*ExecuteRequest) GetOptions ¶
func (x *ExecuteRequest) GetOptions() *ExecuteOptions
func (*ExecuteRequest) GetQuery ¶
func (x *ExecuteRequest) GetQuery() *BoundQuery
func (*ExecuteRequest) GetReservedId ¶
func (x *ExecuteRequest) GetReservedId() int64
func (*ExecuteRequest) GetTarget ¶
func (x *ExecuteRequest) GetTarget() *Target
func (*ExecuteRequest) GetTransactionId ¶
func (x *ExecuteRequest) GetTransactionId() int64
func (*ExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExecuteRequest) MarshalToVT ¶ added in v0.11.0
func (m *ExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ExecuteRequest) MarshalVT ¶ added in v0.11.0
func (m *ExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) ProtoReflect ¶ added in v0.11.0
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
func (*ExecuteRequest) Reset ¶
func (x *ExecuteRequest) Reset()
func (*ExecuteRequest) SizeVT ¶ added in v0.11.0
func (m *ExecuteRequest) SizeVT() (n int)
func (*ExecuteRequest) String ¶
func (x *ExecuteRequest) String() string
func (*ExecuteRequest) UnmarshalVT ¶ added in v0.11.0
func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error
type ExecuteResponse ¶
type ExecuteResponse struct { Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
ExecuteResponse is the returned value from Execute
func (*ExecuteResponse) Descriptor
deprecated
func (*ExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
func (*ExecuteResponse) GetResult ¶
func (x *ExecuteResponse) GetResult() *QueryResult
func (*ExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExecuteResponse) MarshalToVT ¶ added in v0.11.0
func (m *ExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ExecuteResponse) MarshalVT ¶ added in v0.11.0
func (m *ExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*ExecuteResponse) ProtoMessage ¶
func (*ExecuteResponse) ProtoMessage()
func (*ExecuteResponse) ProtoReflect ¶ added in v0.11.0
func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
func (*ExecuteResponse) Reset ¶
func (x *ExecuteResponse) Reset()
func (*ExecuteResponse) SizeVT ¶ added in v0.11.0
func (m *ExecuteResponse) SizeVT() (n int)
func (*ExecuteResponse) String ¶
func (x *ExecuteResponse) String() string
func (*ExecuteResponse) UnmarshalVT ¶ added in v0.11.0
func (m *ExecuteResponse) UnmarshalVT(dAtA []byte) error
type Field ¶
type Field struct { // name of the field as returned by mysql C API Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // vitess-defined type. Conversion function is in sqltypes package. Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=query.Type" json:"type,omitempty"` // Remaining fields from mysql C API. // These fields are only populated when ExecuteOptions.included_fields // is set to IncludedFields.ALL. Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` OrgTable string `protobuf:"bytes,4,opt,name=org_table,json=orgTable,proto3" json:"org_table,omitempty"` Database string `protobuf:"bytes,5,opt,name=database,proto3" json:"database,omitempty"` OrgName string `protobuf:"bytes,6,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"` // column_length is really a uint32. All 32 bits can be used. ColumnLength uint32 `protobuf:"varint,7,opt,name=column_length,json=columnLength,proto3" json:"column_length,omitempty"` // charset is actually a uint16. Only the lower 16 bits are used. Charset uint32 `protobuf:"varint,8,opt,name=charset,proto3" json:"charset,omitempty"` // decimals is actually a uint8. Only the lower 8 bits are used. Decimals uint32 `protobuf:"varint,9,opt,name=decimals,proto3" json:"decimals,omitempty"` // flags is actually a uint16. Only the lower 16 bits are used. Flags uint32 `protobuf:"varint,10,opt,name=flags,proto3" json:"flags,omitempty"` // column_type is optionally populated from information_schema.columns ColumnType string `protobuf:"bytes,11,opt,name=column_type,json=columnType,proto3" json:"column_type,omitempty"` // contains filtered or unexported fields }
Field describes a single column returned by a query
func (*Field) CachedSize ¶ added in v0.10.0
func (*Field) Descriptor
deprecated
func (*Field) GetCharset ¶
func (*Field) GetColumnLength ¶
func (*Field) GetColumnType ¶ added in v0.9.0
func (*Field) GetDatabase ¶
func (*Field) GetDecimals ¶
func (*Field) GetOrgName ¶
func (*Field) GetOrgTable ¶
func (*Field) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶ added in v0.11.0
func (x *Field) ProtoReflect() protoreflect.Message
func (*Field) UnmarshalVT ¶ added in v0.11.0
type Flag ¶
type Flag int32
Flag allows us to qualify types by their common properties.
func (Flag) Descriptor ¶ added in v0.11.0
func (Flag) Descriptor() protoreflect.EnumDescriptor
func (Flag) EnumDescriptor
deprecated
func (Flag) Number ¶ added in v0.11.0
func (x Flag) Number() protoreflect.EnumNumber
func (Flag) Type ¶ added in v0.11.0
func (Flag) Type() protoreflect.EnumType
type GetSchemaRequest ¶ added in v0.16.0
type GetSchemaRequest struct { Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` TableType SchemaTableType `protobuf:"varint,2,opt,name=table_type,json=tableType,proto3,enum=query.SchemaTableType" json:"table_type,omitempty"` TableNames []string `protobuf:"bytes,3,rep,name=table_names,json=tableNames,proto3" json:"table_names,omitempty"` // contains filtered or unexported fields }
GetSchemaRequest is the payload to GetSchema
func (*GetSchemaRequest) Descriptor
deprecated
added in
v0.16.0
func (*GetSchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.
func (*GetSchemaRequest) GetTableNames ¶ added in v0.16.0
func (x *GetSchemaRequest) GetTableNames() []string
func (*GetSchemaRequest) GetTableType ¶ added in v0.16.0
func (x *GetSchemaRequest) GetTableType() SchemaTableType
func (*GetSchemaRequest) GetTarget ¶ added in v0.16.0
func (x *GetSchemaRequest) GetTarget() *Target
func (*GetSchemaRequest) MarshalToSizedBufferVT ¶ added in v0.16.0
func (m *GetSchemaRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSchemaRequest) MarshalToVT ¶ added in v0.16.0
func (m *GetSchemaRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetSchemaRequest) MarshalVT ¶ added in v0.16.0
func (m *GetSchemaRequest) MarshalVT() (dAtA []byte, err error)
func (*GetSchemaRequest) ProtoMessage ¶ added in v0.16.0
func (*GetSchemaRequest) ProtoMessage()
func (*GetSchemaRequest) ProtoReflect ¶ added in v0.16.0
func (x *GetSchemaRequest) ProtoReflect() protoreflect.Message
func (*GetSchemaRequest) Reset ¶ added in v0.16.0
func (x *GetSchemaRequest) Reset()
func (*GetSchemaRequest) SizeVT ¶ added in v0.16.0
func (m *GetSchemaRequest) SizeVT() (n int)
func (*GetSchemaRequest) String ¶ added in v0.16.0
func (x *GetSchemaRequest) String() string
func (*GetSchemaRequest) UnmarshalVT ¶ added in v0.16.0
func (m *GetSchemaRequest) UnmarshalVT(dAtA []byte) error
type GetSchemaResponse ¶ added in v0.16.0
type GetSchemaResponse struct { // this is for the schema definition for the requested tables. TableDefinition map[string]string `` /* 194-byte string literal not displayed */ // contains filtered or unexported fields }
GetSchemaResponse is the returned value from GetSchema
func (*GetSchemaResponse) Descriptor
deprecated
added in
v0.16.0
func (*GetSchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.
func (*GetSchemaResponse) GetTableDefinition ¶ added in v0.16.0
func (x *GetSchemaResponse) GetTableDefinition() map[string]string
func (*GetSchemaResponse) MarshalToSizedBufferVT ¶ added in v0.16.0
func (m *GetSchemaResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSchemaResponse) MarshalToVT ¶ added in v0.16.0
func (m *GetSchemaResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetSchemaResponse) MarshalVT ¶ added in v0.16.0
func (m *GetSchemaResponse) MarshalVT() (dAtA []byte, err error)
func (*GetSchemaResponse) ProtoMessage ¶ added in v0.16.0
func (*GetSchemaResponse) ProtoMessage()
func (*GetSchemaResponse) ProtoReflect ¶ added in v0.16.0
func (x *GetSchemaResponse) ProtoReflect() protoreflect.Message
func (*GetSchemaResponse) Reset ¶ added in v0.16.0
func (x *GetSchemaResponse) Reset()
func (*GetSchemaResponse) SizeVT ¶ added in v0.16.0
func (m *GetSchemaResponse) SizeVT() (n int)
func (*GetSchemaResponse) String ¶ added in v0.16.0
func (x *GetSchemaResponse) String() string
func (*GetSchemaResponse) UnmarshalVT ¶ added in v0.16.0
func (m *GetSchemaResponse) UnmarshalVT(dAtA []byte) error
type MessageAckRequest ¶
type MessageAckRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // name is the message table name. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Ids []*Value `protobuf:"bytes,5,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
MessageAckRequest is the request payload for MessageAck.
func (*MessageAckRequest) Descriptor
deprecated
func (*MessageAckRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageAckRequest.ProtoReflect.Descriptor instead.
func (*MessageAckRequest) GetEffectiveCallerId ¶
func (x *MessageAckRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*MessageAckRequest) GetIds ¶
func (x *MessageAckRequest) GetIds() []*Value
func (*MessageAckRequest) GetImmediateCallerId ¶
func (x *MessageAckRequest) GetImmediateCallerId() *VTGateCallerID
func (*MessageAckRequest) GetName ¶
func (x *MessageAckRequest) GetName() string
func (*MessageAckRequest) GetTarget ¶
func (x *MessageAckRequest) GetTarget() *Target
func (*MessageAckRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *MessageAckRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MessageAckRequest) MarshalToVT ¶ added in v0.11.0
func (m *MessageAckRequest) MarshalToVT(dAtA []byte) (int, error)
func (*MessageAckRequest) MarshalVT ¶ added in v0.11.0
func (m *MessageAckRequest) MarshalVT() (dAtA []byte, err error)
func (*MessageAckRequest) ProtoMessage ¶
func (*MessageAckRequest) ProtoMessage()
func (*MessageAckRequest) ProtoReflect ¶ added in v0.11.0
func (x *MessageAckRequest) ProtoReflect() protoreflect.Message
func (*MessageAckRequest) Reset ¶
func (x *MessageAckRequest) Reset()
func (*MessageAckRequest) SizeVT ¶ added in v0.11.0
func (m *MessageAckRequest) SizeVT() (n int)
func (*MessageAckRequest) String ¶
func (x *MessageAckRequest) String() string
func (*MessageAckRequest) UnmarshalVT ¶ added in v0.11.0
func (m *MessageAckRequest) UnmarshalVT(dAtA []byte) error
type MessageAckResponse ¶
type MessageAckResponse struct { // result contains the result of the ack operation. // Since this acts like a DML, only // RowsAffected is returned in the result. Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
MessageAckResponse is the response for MessageAck.
func (*MessageAckResponse) Descriptor
deprecated
func (*MessageAckResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageAckResponse.ProtoReflect.Descriptor instead.
func (*MessageAckResponse) GetResult ¶
func (x *MessageAckResponse) GetResult() *QueryResult
func (*MessageAckResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *MessageAckResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MessageAckResponse) MarshalToVT ¶ added in v0.11.0
func (m *MessageAckResponse) MarshalToVT(dAtA []byte) (int, error)
func (*MessageAckResponse) MarshalVT ¶ added in v0.11.0
func (m *MessageAckResponse) MarshalVT() (dAtA []byte, err error)
func (*MessageAckResponse) ProtoMessage ¶
func (*MessageAckResponse) ProtoMessage()
func (*MessageAckResponse) ProtoReflect ¶ added in v0.11.0
func (x *MessageAckResponse) ProtoReflect() protoreflect.Message
func (*MessageAckResponse) Reset ¶
func (x *MessageAckResponse) Reset()
func (*MessageAckResponse) SizeVT ¶ added in v0.11.0
func (m *MessageAckResponse) SizeVT() (n int)
func (*MessageAckResponse) String ¶
func (x *MessageAckResponse) String() string
func (*MessageAckResponse) UnmarshalVT ¶ added in v0.11.0
func (m *MessageAckResponse) UnmarshalVT(dAtA []byte) error
type MessageStreamRequest ¶
type MessageStreamRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // name is the message table name. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
MessageStreamRequest is the request payload for MessageStream.
func (*MessageStreamRequest) Descriptor
deprecated
func (*MessageStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use MessageStreamRequest.ProtoReflect.Descriptor instead.
func (*MessageStreamRequest) GetEffectiveCallerId ¶
func (x *MessageStreamRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*MessageStreamRequest) GetImmediateCallerId ¶
func (x *MessageStreamRequest) GetImmediateCallerId() *VTGateCallerID
func (*MessageStreamRequest) GetName ¶
func (x *MessageStreamRequest) GetName() string
func (*MessageStreamRequest) GetTarget ¶
func (x *MessageStreamRequest) GetTarget() *Target
func (*MessageStreamRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *MessageStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MessageStreamRequest) MarshalToVT ¶ added in v0.11.0
func (m *MessageStreamRequest) MarshalToVT(dAtA []byte) (int, error)
func (*MessageStreamRequest) MarshalVT ¶ added in v0.11.0
func (m *MessageStreamRequest) MarshalVT() (dAtA []byte, err error)
func (*MessageStreamRequest) ProtoMessage ¶
func (*MessageStreamRequest) ProtoMessage()
func (*MessageStreamRequest) ProtoReflect ¶ added in v0.11.0
func (x *MessageStreamRequest) ProtoReflect() protoreflect.Message
func (*MessageStreamRequest) Reset ¶
func (x *MessageStreamRequest) Reset()
func (*MessageStreamRequest) SizeVT ¶ added in v0.11.0
func (m *MessageStreamRequest) SizeVT() (n int)
func (*MessageStreamRequest) String ¶
func (x *MessageStreamRequest) String() string
func (*MessageStreamRequest) UnmarshalVT ¶ added in v0.11.0
func (m *MessageStreamRequest) UnmarshalVT(dAtA []byte) error
type MessageStreamResponse ¶
type MessageStreamResponse struct { Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
MessageStreamResponse is a response for MessageStream.
func (*MessageStreamResponse) Descriptor
deprecated
func (*MessageStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use MessageStreamResponse.ProtoReflect.Descriptor instead.
func (*MessageStreamResponse) GetResult ¶
func (x *MessageStreamResponse) GetResult() *QueryResult
func (*MessageStreamResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *MessageStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MessageStreamResponse) MarshalToVT ¶ added in v0.11.0
func (m *MessageStreamResponse) MarshalToVT(dAtA []byte) (int, error)
func (*MessageStreamResponse) MarshalVT ¶ added in v0.11.0
func (m *MessageStreamResponse) MarshalVT() (dAtA []byte, err error)
func (*MessageStreamResponse) ProtoMessage ¶
func (*MessageStreamResponse) ProtoMessage()
func (*MessageStreamResponse) ProtoReflect ¶ added in v0.11.0
func (x *MessageStreamResponse) ProtoReflect() protoreflect.Message
func (*MessageStreamResponse) Reset ¶
func (x *MessageStreamResponse) Reset()
func (*MessageStreamResponse) SizeVT ¶ added in v0.11.0
func (m *MessageStreamResponse) SizeVT() (n int)
func (*MessageStreamResponse) String ¶
func (x *MessageStreamResponse) String() string
func (*MessageStreamResponse) UnmarshalVT ¶ added in v0.11.0
func (m *MessageStreamResponse) UnmarshalVT(dAtA []byte) error
type MySqlFlag ¶
type MySqlFlag int32
Flags sent from the MySQL C API
const ( MySqlFlag_EMPTY MySqlFlag = 0 MySqlFlag_NOT_NULL_FLAG MySqlFlag = 1 MySqlFlag_PRI_KEY_FLAG MySqlFlag = 2 MySqlFlag_UNIQUE_KEY_FLAG MySqlFlag = 4 MySqlFlag_MULTIPLE_KEY_FLAG MySqlFlag = 8 MySqlFlag_BLOB_FLAG MySqlFlag = 16 MySqlFlag_UNSIGNED_FLAG MySqlFlag = 32 MySqlFlag_ZEROFILL_FLAG MySqlFlag = 64 MySqlFlag_BINARY_FLAG MySqlFlag = 128 MySqlFlag_ENUM_FLAG MySqlFlag = 256 MySqlFlag_AUTO_INCREMENT_FLAG MySqlFlag = 512 MySqlFlag_TIMESTAMP_FLAG MySqlFlag = 1024 MySqlFlag_SET_FLAG MySqlFlag = 2048 MySqlFlag_NO_DEFAULT_VALUE_FLAG MySqlFlag = 4096 MySqlFlag_ON_UPDATE_NOW_FLAG MySqlFlag = 8192 MySqlFlag_NUM_FLAG MySqlFlag = 32768 MySqlFlag_PART_KEY_FLAG MySqlFlag = 16384 MySqlFlag_GROUP_FLAG MySqlFlag = 32768 MySqlFlag_UNIQUE_FLAG MySqlFlag = 65536 MySqlFlag_BINCMP_FLAG MySqlFlag = 131072 )
func (MySqlFlag) Descriptor ¶ added in v0.11.0
func (MySqlFlag) Descriptor() protoreflect.EnumDescriptor
func (MySqlFlag) EnumDescriptor
deprecated
func (MySqlFlag) Number ¶ added in v0.11.0
func (x MySqlFlag) Number() protoreflect.EnumNumber
func (MySqlFlag) Type ¶ added in v0.11.0
func (MySqlFlag) Type() protoreflect.EnumType
type PrepareRequest ¶
type PrepareRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` // contains filtered or unexported fields }
PrepareRequest is the payload to Prepare
func (*PrepareRequest) Descriptor
deprecated
func (*PrepareRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.
func (*PrepareRequest) GetDtid ¶
func (x *PrepareRequest) GetDtid() string
func (*PrepareRequest) GetEffectiveCallerId ¶
func (x *PrepareRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*PrepareRequest) GetImmediateCallerId ¶
func (x *PrepareRequest) GetImmediateCallerId() *VTGateCallerID
func (*PrepareRequest) GetTarget ¶
func (x *PrepareRequest) GetTarget() *Target
func (*PrepareRequest) GetTransactionId ¶
func (x *PrepareRequest) GetTransactionId() int64
func (*PrepareRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *PrepareRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PrepareRequest) MarshalToVT ¶ added in v0.11.0
func (m *PrepareRequest) MarshalToVT(dAtA []byte) (int, error)
func (*PrepareRequest) MarshalVT ¶ added in v0.11.0
func (m *PrepareRequest) MarshalVT() (dAtA []byte, err error)
func (*PrepareRequest) ProtoMessage ¶
func (*PrepareRequest) ProtoMessage()
func (*PrepareRequest) ProtoReflect ¶ added in v0.11.0
func (x *PrepareRequest) ProtoReflect() protoreflect.Message
func (*PrepareRequest) Reset ¶
func (x *PrepareRequest) Reset()
func (*PrepareRequest) SizeVT ¶ added in v0.11.0
func (m *PrepareRequest) SizeVT() (n int)
func (*PrepareRequest) String ¶
func (x *PrepareRequest) String() string
func (*PrepareRequest) UnmarshalVT ¶ added in v0.11.0
func (m *PrepareRequest) UnmarshalVT(dAtA []byte) error
type PrepareResponse ¶
type PrepareResponse struct {
// contains filtered or unexported fields
}
PrepareResponse is the returned value from Prepare
func (*PrepareResponse) Descriptor
deprecated
func (*PrepareResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.
func (*PrepareResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *PrepareResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PrepareResponse) MarshalToVT ¶ added in v0.11.0
func (m *PrepareResponse) MarshalToVT(dAtA []byte) (int, error)
func (*PrepareResponse) MarshalVT ¶ added in v0.11.0
func (m *PrepareResponse) MarshalVT() (dAtA []byte, err error)
func (*PrepareResponse) ProtoMessage ¶
func (*PrepareResponse) ProtoMessage()
func (*PrepareResponse) ProtoReflect ¶ added in v0.11.0
func (x *PrepareResponse) ProtoReflect() protoreflect.Message
func (*PrepareResponse) Reset ¶
func (x *PrepareResponse) Reset()
func (*PrepareResponse) SizeVT ¶ added in v0.11.0
func (m *PrepareResponse) SizeVT() (n int)
func (*PrepareResponse) String ¶
func (x *PrepareResponse) String() string
func (*PrepareResponse) UnmarshalVT ¶ added in v0.11.0
func (m *PrepareResponse) UnmarshalVT(dAtA []byte) error
type QueryResult ¶
type QueryResult struct { Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` RowsAffected uint64 `protobuf:"varint,2,opt,name=rows_affected,json=rowsAffected,proto3" json:"rows_affected,omitempty"` InsertId uint64 `protobuf:"varint,3,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"` Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` Info string `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty"` SessionStateChanges string `protobuf:"bytes,7,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` // contains filtered or unexported fields }
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:]).
func (*QueryResult) Descriptor
deprecated
func (*QueryResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.
func (*QueryResult) GetFields ¶
func (x *QueryResult) GetFields() []*Field
func (*QueryResult) GetInfo ¶ added in v0.14.0
func (x *QueryResult) GetInfo() string
func (*QueryResult) GetInsertId ¶
func (x *QueryResult) GetInsertId() uint64
func (*QueryResult) GetRows ¶
func (x *QueryResult) GetRows() []*Row
func (*QueryResult) GetRowsAffected ¶
func (x *QueryResult) GetRowsAffected() uint64
func (*QueryResult) GetSessionStateChanges ¶ added in v0.15.0
func (x *QueryResult) GetSessionStateChanges() string
func (*QueryResult) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *QueryResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryResult) MarshalToVT ¶ added in v0.11.0
func (m *QueryResult) MarshalToVT(dAtA []byte) (int, error)
func (*QueryResult) MarshalVT ¶ added in v0.11.0
func (m *QueryResult) MarshalVT() (dAtA []byte, err error)
func (*QueryResult) ProtoMessage ¶
func (*QueryResult) ProtoMessage()
func (*QueryResult) ProtoReflect ¶ added in v0.11.0
func (x *QueryResult) ProtoReflect() protoreflect.Message
func (*QueryResult) Reset ¶
func (x *QueryResult) Reset()
func (*QueryResult) SizeVT ¶ added in v0.11.0
func (m *QueryResult) SizeVT() (n int)
func (*QueryResult) String ¶
func (x *QueryResult) String() string
func (*QueryResult) UnmarshalVT ¶ added in v0.11.0
func (m *QueryResult) UnmarshalVT(dAtA []byte) error
type QueryWarning ¶
type QueryWarning struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
QueryWarning is used to convey out of band query execution warnings by storing in the vtgate.Session
func (*QueryWarning) CachedSize ¶ added in v0.10.0
func (cached *QueryWarning) CachedSize(alloc bool) int64
func (*QueryWarning) Descriptor
deprecated
func (*QueryWarning) Descriptor() ([]byte, []int)
Deprecated: Use QueryWarning.ProtoReflect.Descriptor instead.
func (*QueryWarning) GetCode ¶
func (x *QueryWarning) GetCode() uint32
func (*QueryWarning) GetMessage ¶
func (x *QueryWarning) GetMessage() string
func (*QueryWarning) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *QueryWarning) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*QueryWarning) MarshalToVT ¶ added in v0.11.0
func (m *QueryWarning) MarshalToVT(dAtA []byte) (int, error)
func (*QueryWarning) MarshalVT ¶ added in v0.11.0
func (m *QueryWarning) MarshalVT() (dAtA []byte, err error)
func (*QueryWarning) ProtoMessage ¶
func (*QueryWarning) ProtoMessage()
func (*QueryWarning) ProtoReflect ¶ added in v0.11.0
func (x *QueryWarning) ProtoReflect() protoreflect.Message
func (*QueryWarning) Reset ¶
func (x *QueryWarning) Reset()
func (*QueryWarning) SizeVT ¶ added in v0.11.0
func (m *QueryWarning) SizeVT() (n int)
func (*QueryWarning) String ¶
func (x *QueryWarning) String() string
func (*QueryWarning) UnmarshalVT ¶ added in v0.11.0
func (m *QueryWarning) UnmarshalVT(dAtA []byte) error
type ReadTransactionRequest ¶
type ReadTransactionRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Dtid string `protobuf:"bytes,4,opt,name=dtid,proto3" json:"dtid,omitempty"` // contains filtered or unexported fields }
ReadTransactionRequest is the payload to ReadTransaction
func (*ReadTransactionRequest) Descriptor
deprecated
func (*ReadTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadTransactionRequest.ProtoReflect.Descriptor instead.
func (*ReadTransactionRequest) GetDtid ¶
func (x *ReadTransactionRequest) GetDtid() string
func (*ReadTransactionRequest) GetEffectiveCallerId ¶
func (x *ReadTransactionRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ReadTransactionRequest) GetImmediateCallerId ¶
func (x *ReadTransactionRequest) GetImmediateCallerId() *VTGateCallerID
func (*ReadTransactionRequest) GetTarget ¶
func (x *ReadTransactionRequest) GetTarget() *Target
func (*ReadTransactionRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReadTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadTransactionRequest) MarshalToVT ¶ added in v0.11.0
func (m *ReadTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReadTransactionRequest) MarshalVT ¶ added in v0.11.0
func (m *ReadTransactionRequest) MarshalVT() (dAtA []byte, err error)
func (*ReadTransactionRequest) ProtoMessage ¶
func (*ReadTransactionRequest) ProtoMessage()
func (*ReadTransactionRequest) ProtoReflect ¶ added in v0.11.0
func (x *ReadTransactionRequest) ProtoReflect() protoreflect.Message
func (*ReadTransactionRequest) Reset ¶
func (x *ReadTransactionRequest) Reset()
func (*ReadTransactionRequest) SizeVT ¶ added in v0.11.0
func (m *ReadTransactionRequest) SizeVT() (n int)
func (*ReadTransactionRequest) String ¶
func (x *ReadTransactionRequest) String() string
func (*ReadTransactionRequest) UnmarshalVT ¶ added in v0.11.0
func (m *ReadTransactionRequest) UnmarshalVT(dAtA []byte) error
type ReadTransactionResponse ¶
type ReadTransactionResponse struct { Metadata *TransactionMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
ReadTransactionResponse is the returned value from ReadTransaction
func (*ReadTransactionResponse) Descriptor
deprecated
func (*ReadTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadTransactionResponse.ProtoReflect.Descriptor instead.
func (*ReadTransactionResponse) GetMetadata ¶
func (x *ReadTransactionResponse) GetMetadata() *TransactionMetadata
func (*ReadTransactionResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReadTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReadTransactionResponse) MarshalToVT ¶ added in v0.11.0
func (m *ReadTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReadTransactionResponse) MarshalVT ¶ added in v0.11.0
func (m *ReadTransactionResponse) MarshalVT() (dAtA []byte, err error)
func (*ReadTransactionResponse) ProtoMessage ¶
func (*ReadTransactionResponse) ProtoMessage()
func (*ReadTransactionResponse) ProtoReflect ¶ added in v0.11.0
func (x *ReadTransactionResponse) ProtoReflect() protoreflect.Message
func (*ReadTransactionResponse) Reset ¶
func (x *ReadTransactionResponse) Reset()
func (*ReadTransactionResponse) SizeVT ¶ added in v0.11.0
func (m *ReadTransactionResponse) SizeVT() (n int)
func (*ReadTransactionResponse) String ¶
func (x *ReadTransactionResponse) String() string
func (*ReadTransactionResponse) UnmarshalVT ¶ added in v0.11.0
func (m *ReadTransactionResponse) UnmarshalVT(dAtA []byte) error
type RealtimeStats ¶
type RealtimeStats struct { // 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. HealthError string `protobuf:"bytes,1,opt,name=health_error,json=healthError,proto3" json:"health_error,omitempty"` // replication_lag_seconds is populated for replicas only. It indicates // how far behind on (MySQL) replication a replica 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? ReplicationLagSeconds uint32 `` /* 127-byte string literal not displayed */ // 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. BinlogPlayersCount int32 `protobuf:"varint,3,opt,name=binlog_players_count,json=binlogPlayersCount,proto3" json:"binlog_players_count,omitempty"` // filtered_replication_lag_seconds is populated for the receiving // primary of an ongoing filtered replication only. // It specifies how far the receiving primary lags behind the sending primary. // 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. FilteredReplicationLagSeconds int64 `` /* 153-byte string literal not displayed */ // cpu_usage is used for load-based balancing CpuUsage float64 `protobuf:"fixed64,5,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` // qps is the average QPS (queries per second) rate in the last XX seconds // where XX is usually 60 (See query_service_stats.go). Qps float64 `protobuf:"fixed64,6,opt,name=qps,proto3" json:"qps,omitempty"` // table_schema_changed is to provide list of tables that have schema changes detected by the tablet. TableSchemaChanged []string `protobuf:"bytes,7,rep,name=table_schema_changed,json=tableSchemaChanged,proto3" json:"table_schema_changed,omitempty"` // view_schema_changed is to provide list of views that have schema changes detected by the tablet. ViewSchemaChanged []string `protobuf:"bytes,8,rep,name=view_schema_changed,json=viewSchemaChanged,proto3" json:"view_schema_changed,omitempty"` // contains filtered or unexported fields }
RealtimeStats contains information about the tablet status. It is only valid for a single tablet.
func (*RealtimeStats) Descriptor
deprecated
func (*RealtimeStats) Descriptor() ([]byte, []int)
Deprecated: Use RealtimeStats.ProtoReflect.Descriptor instead.
func (*RealtimeStats) GetBinlogPlayersCount ¶
func (x *RealtimeStats) GetBinlogPlayersCount() int32
func (*RealtimeStats) GetCpuUsage ¶
func (x *RealtimeStats) GetCpuUsage() float64
func (*RealtimeStats) GetFilteredReplicationLagSeconds ¶ added in v0.12.0
func (x *RealtimeStats) GetFilteredReplicationLagSeconds() int64
func (*RealtimeStats) GetHealthError ¶
func (x *RealtimeStats) GetHealthError() string
func (*RealtimeStats) GetQps ¶
func (x *RealtimeStats) GetQps() float64
func (*RealtimeStats) GetReplicationLagSeconds ¶ added in v0.12.0
func (x *RealtimeStats) GetReplicationLagSeconds() uint32
func (*RealtimeStats) GetTableSchemaChanged ¶ added in v0.11.0
func (x *RealtimeStats) GetTableSchemaChanged() []string
func (*RealtimeStats) GetViewSchemaChanged ¶ added in v0.16.0
func (x *RealtimeStats) GetViewSchemaChanged() []string
func (*RealtimeStats) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *RealtimeStats) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RealtimeStats) MarshalToVT ¶ added in v0.11.0
func (m *RealtimeStats) MarshalToVT(dAtA []byte) (int, error)
func (*RealtimeStats) MarshalVT ¶ added in v0.11.0
func (m *RealtimeStats) MarshalVT() (dAtA []byte, err error)
func (*RealtimeStats) ProtoMessage ¶
func (*RealtimeStats) ProtoMessage()
func (*RealtimeStats) ProtoReflect ¶ added in v0.11.0
func (x *RealtimeStats) ProtoReflect() protoreflect.Message
func (*RealtimeStats) Reset ¶
func (x *RealtimeStats) Reset()
func (*RealtimeStats) SizeVT ¶ added in v0.11.0
func (m *RealtimeStats) SizeVT() (n int)
func (*RealtimeStats) String ¶
func (x *RealtimeStats) String() string
func (*RealtimeStats) UnmarshalVT ¶ added in v0.11.0
func (m *RealtimeStats) UnmarshalVT(dAtA []byte) error
type ReleaseRequest ¶
type ReleaseRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` ReservedId int64 `protobuf:"varint,5,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` // contains filtered or unexported fields }
ReleaseRequest is the payload to Release
func (*ReleaseRequest) Descriptor
deprecated
func (*ReleaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseRequest.ProtoReflect.Descriptor instead.
func (*ReleaseRequest) GetEffectiveCallerId ¶
func (x *ReleaseRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ReleaseRequest) GetImmediateCallerId ¶
func (x *ReleaseRequest) GetImmediateCallerId() *VTGateCallerID
func (*ReleaseRequest) GetReservedId ¶
func (x *ReleaseRequest) GetReservedId() int64
func (*ReleaseRequest) GetTarget ¶
func (x *ReleaseRequest) GetTarget() *Target
func (*ReleaseRequest) GetTransactionId ¶
func (x *ReleaseRequest) GetTransactionId() int64
func (*ReleaseRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReleaseRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReleaseRequest) MarshalToVT ¶ added in v0.11.0
func (m *ReleaseRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReleaseRequest) MarshalVT ¶ added in v0.11.0
func (m *ReleaseRequest) MarshalVT() (dAtA []byte, err error)
func (*ReleaseRequest) ProtoMessage ¶
func (*ReleaseRequest) ProtoMessage()
func (*ReleaseRequest) ProtoReflect ¶ added in v0.11.0
func (x *ReleaseRequest) ProtoReflect() protoreflect.Message
func (*ReleaseRequest) Reset ¶
func (x *ReleaseRequest) Reset()
func (*ReleaseRequest) SizeVT ¶ added in v0.11.0
func (m *ReleaseRequest) SizeVT() (n int)
func (*ReleaseRequest) String ¶
func (x *ReleaseRequest) String() string
func (*ReleaseRequest) UnmarshalVT ¶ added in v0.11.0
func (m *ReleaseRequest) UnmarshalVT(dAtA []byte) error
type ReleaseResponse ¶
type ReleaseResponse struct {
// contains filtered or unexported fields
}
ReleaseResponse is the returned value from Release
func (*ReleaseResponse) Descriptor
deprecated
func (*ReleaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseResponse.ProtoReflect.Descriptor instead.
func (*ReleaseResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReleaseResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReleaseResponse) MarshalToVT ¶ added in v0.11.0
func (m *ReleaseResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReleaseResponse) MarshalVT ¶ added in v0.11.0
func (m *ReleaseResponse) MarshalVT() (dAtA []byte, err error)
func (*ReleaseResponse) ProtoMessage ¶
func (*ReleaseResponse) ProtoMessage()
func (*ReleaseResponse) ProtoReflect ¶ added in v0.11.0
func (x *ReleaseResponse) ProtoReflect() protoreflect.Message
func (*ReleaseResponse) Reset ¶
func (x *ReleaseResponse) Reset()
func (*ReleaseResponse) SizeVT ¶ added in v0.11.0
func (m *ReleaseResponse) SizeVT() (n int)
func (*ReleaseResponse) String ¶
func (x *ReleaseResponse) String() string
func (*ReleaseResponse) UnmarshalVT ¶ added in v0.11.0
func (m *ReleaseResponse) UnmarshalVT(dAtA []byte) error
type ReserveBeginExecuteRequest ¶
type ReserveBeginExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` PreQueries []string `protobuf:"bytes,6,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` PostBeginQueries []string `protobuf:"bytes,7,rep,name=post_begin_queries,json=postBeginQueries,proto3" json:"post_begin_queries,omitempty"` // contains filtered or unexported fields }
ReserveBeginExecuteRequest is the payload to ReserveBeginExecute
func (*ReserveBeginExecuteRequest) Descriptor
deprecated
func (*ReserveBeginExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReserveBeginExecuteRequest.ProtoReflect.Descriptor instead.
func (*ReserveBeginExecuteRequest) GetEffectiveCallerId ¶
func (x *ReserveBeginExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ReserveBeginExecuteRequest) GetImmediateCallerId ¶
func (x *ReserveBeginExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*ReserveBeginExecuteRequest) GetOptions ¶
func (x *ReserveBeginExecuteRequest) GetOptions() *ExecuteOptions
func (*ReserveBeginExecuteRequest) GetPostBeginQueries ¶ added in v0.12.0
func (x *ReserveBeginExecuteRequest) GetPostBeginQueries() []string
func (*ReserveBeginExecuteRequest) GetPreQueries ¶
func (x *ReserveBeginExecuteRequest) GetPreQueries() []string
func (*ReserveBeginExecuteRequest) GetQuery ¶
func (x *ReserveBeginExecuteRequest) GetQuery() *BoundQuery
func (*ReserveBeginExecuteRequest) GetTarget ¶
func (x *ReserveBeginExecuteRequest) GetTarget() *Target
func (*ReserveBeginExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveBeginExecuteRequest) MarshalToVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveBeginExecuteRequest) MarshalVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*ReserveBeginExecuteRequest) ProtoMessage ¶
func (*ReserveBeginExecuteRequest) ProtoMessage()
func (*ReserveBeginExecuteRequest) ProtoReflect ¶ added in v0.11.0
func (x *ReserveBeginExecuteRequest) ProtoReflect() protoreflect.Message
func (*ReserveBeginExecuteRequest) Reset ¶
func (x *ReserveBeginExecuteRequest) Reset()
func (*ReserveBeginExecuteRequest) SizeVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteRequest) SizeVT() (n int)
func (*ReserveBeginExecuteRequest) String ¶
func (x *ReserveBeginExecuteRequest) String() string
func (*ReserveBeginExecuteRequest) UnmarshalVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteRequest) UnmarshalVT(dAtA []byte) error
type ReserveBeginExecuteResponse ¶
type ReserveBeginExecuteResponse struct { // 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. Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // The following fields might be non-zero even if an error is present. TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` ReservedId int64 `protobuf:"varint,4,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` TabletAlias *topodata.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // The session_state_changes might be set if the transaction is a snapshot transaction // and the MySQL implementation supports getting a start gtid on snapshot SessionStateChanges string `protobuf:"bytes,6,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` // contains filtered or unexported fields }
ReserveBeginExecuteResponse is the returned value from ReserveBeginExecute
func (*ReserveBeginExecuteResponse) Descriptor
deprecated
func (*ReserveBeginExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReserveBeginExecuteResponse.ProtoReflect.Descriptor instead.
func (*ReserveBeginExecuteResponse) GetError ¶
func (x *ReserveBeginExecuteResponse) GetError() *vtrpc.RPCError
func (*ReserveBeginExecuteResponse) GetReservedId ¶
func (x *ReserveBeginExecuteResponse) GetReservedId() int64
func (*ReserveBeginExecuteResponse) GetResult ¶
func (x *ReserveBeginExecuteResponse) GetResult() *QueryResult
func (*ReserveBeginExecuteResponse) GetSessionStateChanges ¶ added in v0.15.0
func (x *ReserveBeginExecuteResponse) GetSessionStateChanges() string
func (*ReserveBeginExecuteResponse) GetTabletAlias ¶
func (x *ReserveBeginExecuteResponse) GetTabletAlias() *topodata.TabletAlias
func (*ReserveBeginExecuteResponse) GetTransactionId ¶
func (x *ReserveBeginExecuteResponse) GetTransactionId() int64
func (*ReserveBeginExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveBeginExecuteResponse) MarshalToVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveBeginExecuteResponse) MarshalVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*ReserveBeginExecuteResponse) ProtoMessage ¶
func (*ReserveBeginExecuteResponse) ProtoMessage()
func (*ReserveBeginExecuteResponse) ProtoReflect ¶ added in v0.11.0
func (x *ReserveBeginExecuteResponse) ProtoReflect() protoreflect.Message
func (*ReserveBeginExecuteResponse) Reset ¶
func (x *ReserveBeginExecuteResponse) Reset()
func (*ReserveBeginExecuteResponse) SizeVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteResponse) SizeVT() (n int)
func (*ReserveBeginExecuteResponse) String ¶
func (x *ReserveBeginExecuteResponse) String() string
func (*ReserveBeginExecuteResponse) UnmarshalVT ¶ added in v0.11.0
func (m *ReserveBeginExecuteResponse) UnmarshalVT(dAtA []byte) error
type ReserveBeginStreamExecuteRequest ¶ added in v0.13.0
type ReserveBeginStreamExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` PreQueries []string `protobuf:"bytes,6,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` PostBeginQueries []string `protobuf:"bytes,7,rep,name=post_begin_queries,json=postBeginQueries,proto3" json:"post_begin_queries,omitempty"` // contains filtered or unexported fields }
ReserveBeginStreamExecuteRequest is the payload to ReserveBeginStreamExecute
func (*ReserveBeginStreamExecuteRequest) Descriptor
deprecated
added in
v0.13.0
func (*ReserveBeginStreamExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReserveBeginStreamExecuteRequest.ProtoReflect.Descriptor instead.
func (*ReserveBeginStreamExecuteRequest) GetEffectiveCallerId ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ReserveBeginStreamExecuteRequest) GetImmediateCallerId ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*ReserveBeginStreamExecuteRequest) GetOptions ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) GetOptions() *ExecuteOptions
func (*ReserveBeginStreamExecuteRequest) GetPostBeginQueries ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) GetPostBeginQueries() []string
func (*ReserveBeginStreamExecuteRequest) GetPreQueries ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) GetPreQueries() []string
func (*ReserveBeginStreamExecuteRequest) GetQuery ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) GetQuery() *BoundQuery
func (*ReserveBeginStreamExecuteRequest) GetTarget ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) GetTarget() *Target
func (*ReserveBeginStreamExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveBeginStreamExecuteRequest) MarshalToVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveBeginStreamExecuteRequest) MarshalVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*ReserveBeginStreamExecuteRequest) ProtoMessage ¶ added in v0.13.0
func (*ReserveBeginStreamExecuteRequest) ProtoMessage()
func (*ReserveBeginStreamExecuteRequest) ProtoReflect ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) ProtoReflect() protoreflect.Message
func (*ReserveBeginStreamExecuteRequest) Reset ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) Reset()
func (*ReserveBeginStreamExecuteRequest) SizeVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteRequest) SizeVT() (n int)
func (*ReserveBeginStreamExecuteRequest) String ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteRequest) String() string
func (*ReserveBeginStreamExecuteRequest) UnmarshalVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteRequest) UnmarshalVT(dAtA []byte) error
type ReserveBeginStreamExecuteResponse ¶ added in v0.13.0
type ReserveBeginStreamExecuteResponse struct { // 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 stream execute failed. Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // The following fields might be non-zero even if an error is present. TransactionId int64 `protobuf:"varint,3,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` ReservedId int64 `protobuf:"varint,4,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` TabletAlias *topodata.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // The session_state_changes might be set if the transaction is a snapshot transaction // and the MySQL implementation supports getting a start gtid on snapshot SessionStateChanges string `protobuf:"bytes,6,opt,name=session_state_changes,json=sessionStateChanges,proto3" json:"session_state_changes,omitempty"` // contains filtered or unexported fields }
ReserveBeginStreamExecuteResponse is the returned value from ReserveBeginStreamExecute
func (*ReserveBeginStreamExecuteResponse) Descriptor
deprecated
added in
v0.13.0
func (*ReserveBeginStreamExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReserveBeginStreamExecuteResponse.ProtoReflect.Descriptor instead.
func (*ReserveBeginStreamExecuteResponse) GetError ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) GetError() *vtrpc.RPCError
func (*ReserveBeginStreamExecuteResponse) GetReservedId ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) GetReservedId() int64
func (*ReserveBeginStreamExecuteResponse) GetResult ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) GetResult() *QueryResult
func (*ReserveBeginStreamExecuteResponse) GetSessionStateChanges ¶ added in v0.15.0
func (x *ReserveBeginStreamExecuteResponse) GetSessionStateChanges() string
func (*ReserveBeginStreamExecuteResponse) GetTabletAlias ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) GetTabletAlias() *topodata.TabletAlias
func (*ReserveBeginStreamExecuteResponse) GetTransactionId ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) GetTransactionId() int64
func (*ReserveBeginStreamExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveBeginStreamExecuteResponse) MarshalToVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveBeginStreamExecuteResponse) MarshalVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*ReserveBeginStreamExecuteResponse) ProtoMessage ¶ added in v0.13.0
func (*ReserveBeginStreamExecuteResponse) ProtoMessage()
func (*ReserveBeginStreamExecuteResponse) ProtoReflect ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) ProtoReflect() protoreflect.Message
func (*ReserveBeginStreamExecuteResponse) Reset ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) Reset()
func (*ReserveBeginStreamExecuteResponse) SizeVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteResponse) SizeVT() (n int)
func (*ReserveBeginStreamExecuteResponse) String ¶ added in v0.13.0
func (x *ReserveBeginStreamExecuteResponse) String() string
func (*ReserveBeginStreamExecuteResponse) UnmarshalVT ¶ added in v0.13.0
func (m *ReserveBeginStreamExecuteResponse) UnmarshalVT(dAtA []byte) error
type ReserveExecuteRequest ¶
type ReserveExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` TransactionId int64 `protobuf:"varint,5,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Options *ExecuteOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` PreQueries []string `protobuf:"bytes,7,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` // contains filtered or unexported fields }
ReserveExecuteRequest is the payload to ReserveExecute
func (*ReserveExecuteRequest) Descriptor
deprecated
func (*ReserveExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReserveExecuteRequest.ProtoReflect.Descriptor instead.
func (*ReserveExecuteRequest) GetEffectiveCallerId ¶
func (x *ReserveExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ReserveExecuteRequest) GetImmediateCallerId ¶
func (x *ReserveExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*ReserveExecuteRequest) GetOptions ¶
func (x *ReserveExecuteRequest) GetOptions() *ExecuteOptions
func (*ReserveExecuteRequest) GetPreQueries ¶
func (x *ReserveExecuteRequest) GetPreQueries() []string
func (*ReserveExecuteRequest) GetQuery ¶
func (x *ReserveExecuteRequest) GetQuery() *BoundQuery
func (*ReserveExecuteRequest) GetTarget ¶
func (x *ReserveExecuteRequest) GetTarget() *Target
func (*ReserveExecuteRequest) GetTransactionId ¶
func (x *ReserveExecuteRequest) GetTransactionId() int64
func (*ReserveExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReserveExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveExecuteRequest) MarshalToVT ¶ added in v0.11.0
func (m *ReserveExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveExecuteRequest) MarshalVT ¶ added in v0.11.0
func (m *ReserveExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*ReserveExecuteRequest) ProtoMessage ¶
func (*ReserveExecuteRequest) ProtoMessage()
func (*ReserveExecuteRequest) ProtoReflect ¶ added in v0.11.0
func (x *ReserveExecuteRequest) ProtoReflect() protoreflect.Message
func (*ReserveExecuteRequest) Reset ¶
func (x *ReserveExecuteRequest) Reset()
func (*ReserveExecuteRequest) SizeVT ¶ added in v0.11.0
func (m *ReserveExecuteRequest) SizeVT() (n int)
func (*ReserveExecuteRequest) String ¶
func (x *ReserveExecuteRequest) String() string
func (*ReserveExecuteRequest) UnmarshalVT ¶ added in v0.11.0
func (m *ReserveExecuteRequest) UnmarshalVT(dAtA []byte) error
type ReserveExecuteResponse ¶
type ReserveExecuteResponse struct { Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // The following fields might be non-zero even if an error is present. ReservedId int64 `protobuf:"varint,3,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` TabletAlias *topodata.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // contains filtered or unexported fields }
ReserveExecuteResponse is the returned value from ReserveExecute
func (*ReserveExecuteResponse) Descriptor
deprecated
func (*ReserveExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReserveExecuteResponse.ProtoReflect.Descriptor instead.
func (*ReserveExecuteResponse) GetError ¶
func (x *ReserveExecuteResponse) GetError() *vtrpc.RPCError
func (*ReserveExecuteResponse) GetReservedId ¶
func (x *ReserveExecuteResponse) GetReservedId() int64
func (*ReserveExecuteResponse) GetResult ¶
func (x *ReserveExecuteResponse) GetResult() *QueryResult
func (*ReserveExecuteResponse) GetTabletAlias ¶
func (x *ReserveExecuteResponse) GetTabletAlias() *topodata.TabletAlias
func (*ReserveExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ReserveExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveExecuteResponse) MarshalToVT ¶ added in v0.11.0
func (m *ReserveExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveExecuteResponse) MarshalVT ¶ added in v0.11.0
func (m *ReserveExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*ReserveExecuteResponse) ProtoMessage ¶
func (*ReserveExecuteResponse) ProtoMessage()
func (*ReserveExecuteResponse) ProtoReflect ¶ added in v0.11.0
func (x *ReserveExecuteResponse) ProtoReflect() protoreflect.Message
func (*ReserveExecuteResponse) Reset ¶
func (x *ReserveExecuteResponse) Reset()
func (*ReserveExecuteResponse) SizeVT ¶ added in v0.11.0
func (m *ReserveExecuteResponse) SizeVT() (n int)
func (*ReserveExecuteResponse) String ¶
func (x *ReserveExecuteResponse) String() string
func (*ReserveExecuteResponse) UnmarshalVT ¶ added in v0.11.0
func (m *ReserveExecuteResponse) UnmarshalVT(dAtA []byte) error
type ReserveStreamExecuteRequest ¶ added in v0.13.0
type ReserveStreamExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` TransactionId int64 `protobuf:"varint,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` PreQueries []string `protobuf:"bytes,7,rep,name=pre_queries,json=preQueries,proto3" json:"pre_queries,omitempty"` // contains filtered or unexported fields }
ReserveStreamExecuteRequest is the payload to ReserveStreamExecute
func (*ReserveStreamExecuteRequest) Descriptor
deprecated
added in
v0.13.0
func (*ReserveStreamExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReserveStreamExecuteRequest.ProtoReflect.Descriptor instead.
func (*ReserveStreamExecuteRequest) GetEffectiveCallerId ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*ReserveStreamExecuteRequest) GetImmediateCallerId ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*ReserveStreamExecuteRequest) GetOptions ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) GetOptions() *ExecuteOptions
func (*ReserveStreamExecuteRequest) GetPreQueries ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) GetPreQueries() []string
func (*ReserveStreamExecuteRequest) GetQuery ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) GetQuery() *BoundQuery
func (*ReserveStreamExecuteRequest) GetTarget ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) GetTarget() *Target
func (*ReserveStreamExecuteRequest) GetTransactionId ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) GetTransactionId() int64
func (*ReserveStreamExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveStreamExecuteRequest) MarshalToVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveStreamExecuteRequest) MarshalVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*ReserveStreamExecuteRequest) ProtoMessage ¶ added in v0.13.0
func (*ReserveStreamExecuteRequest) ProtoMessage()
func (*ReserveStreamExecuteRequest) ProtoReflect ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) ProtoReflect() protoreflect.Message
func (*ReserveStreamExecuteRequest) Reset ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) Reset()
func (*ReserveStreamExecuteRequest) SizeVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteRequest) SizeVT() (n int)
func (*ReserveStreamExecuteRequest) String ¶ added in v0.13.0
func (x *ReserveStreamExecuteRequest) String() string
func (*ReserveStreamExecuteRequest) UnmarshalVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteRequest) UnmarshalVT(dAtA []byte) error
type ReserveStreamExecuteResponse ¶ added in v0.13.0
type ReserveStreamExecuteResponse struct { Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // The following fields might be non-zero even if an error is present. ReservedId int64 `protobuf:"varint,3,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` TabletAlias *topodata.TabletAlias `protobuf:"bytes,4,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // contains filtered or unexported fields }
ReserveStreamExecuteResponse is the returned value from ReserveStreamExecute
func (*ReserveStreamExecuteResponse) Descriptor
deprecated
added in
v0.13.0
func (*ReserveStreamExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReserveStreamExecuteResponse.ProtoReflect.Descriptor instead.
func (*ReserveStreamExecuteResponse) GetError ¶ added in v0.13.0
func (x *ReserveStreamExecuteResponse) GetError() *vtrpc.RPCError
func (*ReserveStreamExecuteResponse) GetReservedId ¶ added in v0.13.0
func (x *ReserveStreamExecuteResponse) GetReservedId() int64
func (*ReserveStreamExecuteResponse) GetResult ¶ added in v0.13.0
func (x *ReserveStreamExecuteResponse) GetResult() *QueryResult
func (*ReserveStreamExecuteResponse) GetTabletAlias ¶ added in v0.13.0
func (x *ReserveStreamExecuteResponse) GetTabletAlias() *topodata.TabletAlias
func (*ReserveStreamExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReserveStreamExecuteResponse) MarshalToVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ReserveStreamExecuteResponse) MarshalVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*ReserveStreamExecuteResponse) ProtoMessage ¶ added in v0.13.0
func (*ReserveStreamExecuteResponse) ProtoMessage()
func (*ReserveStreamExecuteResponse) ProtoReflect ¶ added in v0.13.0
func (x *ReserveStreamExecuteResponse) ProtoReflect() protoreflect.Message
func (*ReserveStreamExecuteResponse) Reset ¶ added in v0.13.0
func (x *ReserveStreamExecuteResponse) Reset()
func (*ReserveStreamExecuteResponse) SizeVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteResponse) SizeVT() (n int)
func (*ReserveStreamExecuteResponse) String ¶ added in v0.13.0
func (x *ReserveStreamExecuteResponse) String() string
func (*ReserveStreamExecuteResponse) UnmarshalVT ¶ added in v0.13.0
func (m *ReserveStreamExecuteResponse) UnmarshalVT(dAtA []byte) error
type ResultWithError ¶
type ResultWithError struct { // error contains an query level error, only set if result is unset. Error *vtrpc.RPCError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // result contains the query result, only set if error is unset. Result *QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
ResultWithError represents a query response in the form of result or error but not both. TODO: To be used in ExecuteBatchResponse and BeginExecuteBatchResponse.
func (*ResultWithError) Descriptor
deprecated
func (*ResultWithError) Descriptor() ([]byte, []int)
Deprecated: Use ResultWithError.ProtoReflect.Descriptor instead.
func (*ResultWithError) GetError ¶
func (x *ResultWithError) GetError() *vtrpc.RPCError
func (*ResultWithError) GetResult ¶
func (x *ResultWithError) GetResult() *QueryResult
func (*ResultWithError) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *ResultWithError) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ResultWithError) MarshalToVT ¶ added in v0.11.0
func (m *ResultWithError) MarshalToVT(dAtA []byte) (int, error)
func (*ResultWithError) MarshalVT ¶ added in v0.11.0
func (m *ResultWithError) MarshalVT() (dAtA []byte, err error)
func (*ResultWithError) ProtoMessage ¶
func (*ResultWithError) ProtoMessage()
func (*ResultWithError) ProtoReflect ¶ added in v0.11.0
func (x *ResultWithError) ProtoReflect() protoreflect.Message
func (*ResultWithError) Reset ¶
func (x *ResultWithError) Reset()
func (*ResultWithError) SizeVT ¶ added in v0.11.0
func (m *ResultWithError) SizeVT() (n int)
func (*ResultWithError) String ¶
func (x *ResultWithError) String() string
func (*ResultWithError) UnmarshalVT ¶ added in v0.11.0
func (m *ResultWithError) UnmarshalVT(dAtA []byte) error
type RollbackPreparedRequest ¶
type RollbackPreparedRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` // contains filtered or unexported fields }
RollbackPreparedRequest is the payload to RollbackPrepared
func (*RollbackPreparedRequest) Descriptor
deprecated
func (*RollbackPreparedRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackPreparedRequest.ProtoReflect.Descriptor instead.
func (*RollbackPreparedRequest) GetDtid ¶
func (x *RollbackPreparedRequest) GetDtid() string
func (*RollbackPreparedRequest) GetEffectiveCallerId ¶
func (x *RollbackPreparedRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*RollbackPreparedRequest) GetImmediateCallerId ¶
func (x *RollbackPreparedRequest) GetImmediateCallerId() *VTGateCallerID
func (*RollbackPreparedRequest) GetTarget ¶
func (x *RollbackPreparedRequest) GetTarget() *Target
func (*RollbackPreparedRequest) GetTransactionId ¶
func (x *RollbackPreparedRequest) GetTransactionId() int64
func (*RollbackPreparedRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *RollbackPreparedRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RollbackPreparedRequest) MarshalToVT ¶ added in v0.11.0
func (m *RollbackPreparedRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RollbackPreparedRequest) MarshalVT ¶ added in v0.11.0
func (m *RollbackPreparedRequest) MarshalVT() (dAtA []byte, err error)
func (*RollbackPreparedRequest) ProtoMessage ¶
func (*RollbackPreparedRequest) ProtoMessage()
func (*RollbackPreparedRequest) ProtoReflect ¶ added in v0.11.0
func (x *RollbackPreparedRequest) ProtoReflect() protoreflect.Message
func (*RollbackPreparedRequest) Reset ¶
func (x *RollbackPreparedRequest) Reset()
func (*RollbackPreparedRequest) SizeVT ¶ added in v0.11.0
func (m *RollbackPreparedRequest) SizeVT() (n int)
func (*RollbackPreparedRequest) String ¶
func (x *RollbackPreparedRequest) String() string
func (*RollbackPreparedRequest) UnmarshalVT ¶ added in v0.11.0
func (m *RollbackPreparedRequest) UnmarshalVT(dAtA []byte) error
type RollbackPreparedResponse ¶
type RollbackPreparedResponse struct {
// contains filtered or unexported fields
}
RollbackPreparedResponse is the returned value from RollbackPrepared
func (*RollbackPreparedResponse) Descriptor
deprecated
func (*RollbackPreparedResponse) Descriptor() ([]byte, []int)
Deprecated: Use RollbackPreparedResponse.ProtoReflect.Descriptor instead.
func (*RollbackPreparedResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *RollbackPreparedResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RollbackPreparedResponse) MarshalToVT ¶ added in v0.11.0
func (m *RollbackPreparedResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RollbackPreparedResponse) MarshalVT ¶ added in v0.11.0
func (m *RollbackPreparedResponse) MarshalVT() (dAtA []byte, err error)
func (*RollbackPreparedResponse) ProtoMessage ¶
func (*RollbackPreparedResponse) ProtoMessage()
func (*RollbackPreparedResponse) ProtoReflect ¶ added in v0.11.0
func (x *RollbackPreparedResponse) ProtoReflect() protoreflect.Message
func (*RollbackPreparedResponse) Reset ¶
func (x *RollbackPreparedResponse) Reset()
func (*RollbackPreparedResponse) SizeVT ¶ added in v0.11.0
func (m *RollbackPreparedResponse) SizeVT() (n int)
func (*RollbackPreparedResponse) String ¶
func (x *RollbackPreparedResponse) String() string
func (*RollbackPreparedResponse) UnmarshalVT ¶ added in v0.11.0
func (m *RollbackPreparedResponse) UnmarshalVT(dAtA []byte) error
type RollbackRequest ¶
type RollbackRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
RollbackRequest is the payload to Rollback
func (*RollbackRequest) Descriptor
deprecated
func (*RollbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead.
func (*RollbackRequest) GetEffectiveCallerId ¶
func (x *RollbackRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*RollbackRequest) GetImmediateCallerId ¶
func (x *RollbackRequest) GetImmediateCallerId() *VTGateCallerID
func (*RollbackRequest) GetTarget ¶
func (x *RollbackRequest) GetTarget() *Target
func (*RollbackRequest) GetTransactionId ¶
func (x *RollbackRequest) GetTransactionId() int64
func (*RollbackRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *RollbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RollbackRequest) MarshalToVT ¶ added in v0.11.0
func (m *RollbackRequest) MarshalToVT(dAtA []byte) (int, error)
func (*RollbackRequest) MarshalVT ¶ added in v0.11.0
func (m *RollbackRequest) MarshalVT() (dAtA []byte, err error)
func (*RollbackRequest) ProtoMessage ¶
func (*RollbackRequest) ProtoMessage()
func (*RollbackRequest) ProtoReflect ¶ added in v0.11.0
func (x *RollbackRequest) ProtoReflect() protoreflect.Message
func (*RollbackRequest) Reset ¶
func (x *RollbackRequest) Reset()
func (*RollbackRequest) SizeVT ¶ added in v0.11.0
func (m *RollbackRequest) SizeVT() (n int)
func (*RollbackRequest) String ¶
func (x *RollbackRequest) String() string
func (*RollbackRequest) UnmarshalVT ¶ added in v0.11.0
func (m *RollbackRequest) UnmarshalVT(dAtA []byte) error
type RollbackResponse ¶
type RollbackResponse struct { ReservedId int64 `protobuf:"varint,1,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` // contains filtered or unexported fields }
RollbackResponse is the returned value from Rollback
func (*RollbackResponse) Descriptor
deprecated
func (*RollbackResponse) Descriptor() ([]byte, []int)
Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead.
func (*RollbackResponse) GetReservedId ¶
func (x *RollbackResponse) GetReservedId() int64
func (*RollbackResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *RollbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RollbackResponse) MarshalToVT ¶ added in v0.11.0
func (m *RollbackResponse) MarshalToVT(dAtA []byte) (int, error)
func (*RollbackResponse) MarshalVT ¶ added in v0.11.0
func (m *RollbackResponse) MarshalVT() (dAtA []byte, err error)
func (*RollbackResponse) ProtoMessage ¶
func (*RollbackResponse) ProtoMessage()
func (*RollbackResponse) ProtoReflect ¶ added in v0.11.0
func (x *RollbackResponse) ProtoReflect() protoreflect.Message
func (*RollbackResponse) Reset ¶
func (x *RollbackResponse) Reset()
func (*RollbackResponse) SizeVT ¶ added in v0.11.0
func (m *RollbackResponse) SizeVT() (n int)
func (*RollbackResponse) String ¶
func (x *RollbackResponse) String() string
func (*RollbackResponse) UnmarshalVT ¶ added in v0.11.0
func (m *RollbackResponse) UnmarshalVT(dAtA []byte) error
type Row ¶
type Row struct { // 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. Lengths []int64 `protobuf:"zigzag64,1,rep,packed,name=lengths,proto3" json:"lengths,omitempty"` // values contains a concatenation of all values in the row. Values []byte `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Row is a database row.
func RowFromVTPool ¶ added in v0.11.0
func RowFromVTPool() *Row
func (*Row) Descriptor
deprecated
func (*Row) GetLengths ¶
func (*Row) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶ added in v0.11.0
func (x *Row) ProtoReflect() protoreflect.Message
func (*Row) ReturnToVTPool ¶ added in v0.11.0
func (m *Row) ReturnToVTPool()
func (*Row) UnmarshalVT ¶ added in v0.11.0
type SchemaTableType ¶ added in v0.16.0
type SchemaTableType int32
SchemaTableType represents the type of table requested.
const ( SchemaTableType_VIEWS SchemaTableType = 0 SchemaTableType_TABLES SchemaTableType = 1 SchemaTableType_ALL SchemaTableType = 2 )
func (SchemaTableType) Descriptor ¶ added in v0.16.0
func (SchemaTableType) Descriptor() protoreflect.EnumDescriptor
func (SchemaTableType) Enum ¶ added in v0.16.0
func (x SchemaTableType) Enum() *SchemaTableType
func (SchemaTableType) EnumDescriptor
deprecated
added in
v0.16.0
func (SchemaTableType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SchemaTableType.Descriptor instead.
func (SchemaTableType) Number ¶ added in v0.16.0
func (x SchemaTableType) Number() protoreflect.EnumNumber
func (SchemaTableType) String ¶ added in v0.16.0
func (x SchemaTableType) String() string
func (SchemaTableType) Type ¶ added in v0.16.0
func (SchemaTableType) Type() protoreflect.EnumType
type SetRollbackRequest ¶
type SetRollbackRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` // contains filtered or unexported fields }
SetRollbackRequest is the payload to SetRollback
func (*SetRollbackRequest) Descriptor
deprecated
func (*SetRollbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRollbackRequest.ProtoReflect.Descriptor instead.
func (*SetRollbackRequest) GetDtid ¶
func (x *SetRollbackRequest) GetDtid() string
func (*SetRollbackRequest) GetEffectiveCallerId ¶
func (x *SetRollbackRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*SetRollbackRequest) GetImmediateCallerId ¶
func (x *SetRollbackRequest) GetImmediateCallerId() *VTGateCallerID
func (*SetRollbackRequest) GetTarget ¶
func (x *SetRollbackRequest) GetTarget() *Target
func (*SetRollbackRequest) GetTransactionId ¶
func (x *SetRollbackRequest) GetTransactionId() int64
func (*SetRollbackRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *SetRollbackRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetRollbackRequest) MarshalToVT ¶ added in v0.11.0
func (m *SetRollbackRequest) MarshalToVT(dAtA []byte) (int, error)
func (*SetRollbackRequest) MarshalVT ¶ added in v0.11.0
func (m *SetRollbackRequest) MarshalVT() (dAtA []byte, err error)
func (*SetRollbackRequest) ProtoMessage ¶
func (*SetRollbackRequest) ProtoMessage()
func (*SetRollbackRequest) ProtoReflect ¶ added in v0.11.0
func (x *SetRollbackRequest) ProtoReflect() protoreflect.Message
func (*SetRollbackRequest) Reset ¶
func (x *SetRollbackRequest) Reset()
func (*SetRollbackRequest) SizeVT ¶ added in v0.11.0
func (m *SetRollbackRequest) SizeVT() (n int)
func (*SetRollbackRequest) String ¶
func (x *SetRollbackRequest) String() string
func (*SetRollbackRequest) UnmarshalVT ¶ added in v0.11.0
func (m *SetRollbackRequest) UnmarshalVT(dAtA []byte) error
type SetRollbackResponse ¶
type SetRollbackResponse struct {
// contains filtered or unexported fields
}
SetRollbackResponse is the returned value from SetRollback
func (*SetRollbackResponse) Descriptor
deprecated
func (*SetRollbackResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetRollbackResponse.ProtoReflect.Descriptor instead.
func (*SetRollbackResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *SetRollbackResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SetRollbackResponse) MarshalToVT ¶ added in v0.11.0
func (m *SetRollbackResponse) MarshalToVT(dAtA []byte) (int, error)
func (*SetRollbackResponse) MarshalVT ¶ added in v0.11.0
func (m *SetRollbackResponse) MarshalVT() (dAtA []byte, err error)
func (*SetRollbackResponse) ProtoMessage ¶
func (*SetRollbackResponse) ProtoMessage()
func (*SetRollbackResponse) ProtoReflect ¶ added in v0.11.0
func (x *SetRollbackResponse) ProtoReflect() protoreflect.Message
func (*SetRollbackResponse) Reset ¶
func (x *SetRollbackResponse) Reset()
func (*SetRollbackResponse) SizeVT ¶ added in v0.11.0
func (m *SetRollbackResponse) SizeVT() (n int)
func (*SetRollbackResponse) String ¶
func (x *SetRollbackResponse) String() string
func (*SetRollbackResponse) UnmarshalVT ¶ added in v0.11.0
func (m *SetRollbackResponse) UnmarshalVT(dAtA []byte) error
type StartCommitRequest ¶
type StartCommitRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,4,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Dtid string `protobuf:"bytes,5,opt,name=dtid,proto3" json:"dtid,omitempty"` // contains filtered or unexported fields }
StartCommitRequest is the payload to StartCommit
func (*StartCommitRequest) Descriptor
deprecated
func (*StartCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartCommitRequest.ProtoReflect.Descriptor instead.
func (*StartCommitRequest) GetDtid ¶
func (x *StartCommitRequest) GetDtid() string
func (*StartCommitRequest) GetEffectiveCallerId ¶
func (x *StartCommitRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*StartCommitRequest) GetImmediateCallerId ¶
func (x *StartCommitRequest) GetImmediateCallerId() *VTGateCallerID
func (*StartCommitRequest) GetTarget ¶
func (x *StartCommitRequest) GetTarget() *Target
func (*StartCommitRequest) GetTransactionId ¶
func (x *StartCommitRequest) GetTransactionId() int64
func (*StartCommitRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StartCommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartCommitRequest) MarshalToVT ¶ added in v0.11.0
func (m *StartCommitRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StartCommitRequest) MarshalVT ¶ added in v0.11.0
func (m *StartCommitRequest) MarshalVT() (dAtA []byte, err error)
func (*StartCommitRequest) ProtoMessage ¶
func (*StartCommitRequest) ProtoMessage()
func (*StartCommitRequest) ProtoReflect ¶ added in v0.11.0
func (x *StartCommitRequest) ProtoReflect() protoreflect.Message
func (*StartCommitRequest) Reset ¶
func (x *StartCommitRequest) Reset()
func (*StartCommitRequest) SizeVT ¶ added in v0.11.0
func (m *StartCommitRequest) SizeVT() (n int)
func (*StartCommitRequest) String ¶
func (x *StartCommitRequest) String() string
func (*StartCommitRequest) UnmarshalVT ¶ added in v0.11.0
func (m *StartCommitRequest) UnmarshalVT(dAtA []byte) error
type StartCommitResponse ¶
type StartCommitResponse struct {
// contains filtered or unexported fields
}
StartCommitResponse is the returned value from StartCommit
func (*StartCommitResponse) Descriptor
deprecated
func (*StartCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartCommitResponse.ProtoReflect.Descriptor instead.
func (*StartCommitResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StartCommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartCommitResponse) MarshalToVT ¶ added in v0.11.0
func (m *StartCommitResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StartCommitResponse) MarshalVT ¶ added in v0.11.0
func (m *StartCommitResponse) MarshalVT() (dAtA []byte, err error)
func (*StartCommitResponse) ProtoMessage ¶
func (*StartCommitResponse) ProtoMessage()
func (*StartCommitResponse) ProtoReflect ¶ added in v0.11.0
func (x *StartCommitResponse) ProtoReflect() protoreflect.Message
func (*StartCommitResponse) Reset ¶
func (x *StartCommitResponse) Reset()
func (*StartCommitResponse) SizeVT ¶ added in v0.11.0
func (m *StartCommitResponse) SizeVT() (n int)
func (*StartCommitResponse) String ¶
func (x *StartCommitResponse) String() string
func (*StartCommitResponse) UnmarshalVT ¶ added in v0.11.0
func (m *StartCommitResponse) UnmarshalVT(dAtA []byte) error
type StreamEvent ¶
type StreamEvent struct { // The statements in this transaction. Statements []*StreamEvent_Statement `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"` // The Event Token for this event. EventToken *EventToken `protobuf:"bytes,2,opt,name=event_token,json=eventToken,proto3" json:"event_token,omitempty"` // contains filtered or unexported fields }
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.
func (*StreamEvent) Descriptor
deprecated
func (*StreamEvent) Descriptor() ([]byte, []int)
Deprecated: Use StreamEvent.ProtoReflect.Descriptor instead.
func (*StreamEvent) GetEventToken ¶
func (x *StreamEvent) GetEventToken() *EventToken
func (*StreamEvent) GetStatements ¶
func (x *StreamEvent) GetStatements() []*StreamEvent_Statement
func (*StreamEvent) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamEvent) MarshalToVT ¶ added in v0.11.0
func (m *StreamEvent) MarshalToVT(dAtA []byte) (int, error)
func (*StreamEvent) MarshalVT ¶ added in v0.11.0
func (m *StreamEvent) MarshalVT() (dAtA []byte, err error)
func (*StreamEvent) ProtoMessage ¶
func (*StreamEvent) ProtoMessage()
func (*StreamEvent) ProtoReflect ¶ added in v0.11.0
func (x *StreamEvent) ProtoReflect() protoreflect.Message
func (*StreamEvent) Reset ¶
func (x *StreamEvent) Reset()
func (*StreamEvent) SizeVT ¶ added in v0.11.0
func (m *StreamEvent) SizeVT() (n int)
func (*StreamEvent) String ¶
func (x *StreamEvent) String() string
func (*StreamEvent) UnmarshalVT ¶ added in v0.11.0
func (m *StreamEvent) UnmarshalVT(dAtA []byte) error
type StreamEvent_Statement ¶
type StreamEvent_Statement struct { Category StreamEvent_Statement_Category `protobuf:"varint,1,opt,name=category,proto3,enum=query.StreamEvent_Statement_Category" json:"category,omitempty"` // table_name, primary_key_fields and primary_key_values are set for DML. TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` PrimaryKeyFields []*Field `protobuf:"bytes,3,rep,name=primary_key_fields,json=primaryKeyFields,proto3" json:"primary_key_fields,omitempty"` PrimaryKeyValues []*Row `protobuf:"bytes,4,rep,name=primary_key_values,json=primaryKeyValues,proto3" json:"primary_key_values,omitempty"` // sql is set for all queries. // FIXME(alainjobart) we may not need it for DMLs. Sql []byte `protobuf:"bytes,5,opt,name=sql,proto3" json:"sql,omitempty"` // contains filtered or unexported fields }
One individual Statement in a transaction.
func (*StreamEvent_Statement) Descriptor
deprecated
func (*StreamEvent_Statement) Descriptor() ([]byte, []int)
Deprecated: Use StreamEvent_Statement.ProtoReflect.Descriptor instead.
func (*StreamEvent_Statement) GetCategory ¶
func (x *StreamEvent_Statement) GetCategory() StreamEvent_Statement_Category
func (*StreamEvent_Statement) GetPrimaryKeyFields ¶
func (x *StreamEvent_Statement) GetPrimaryKeyFields() []*Field
func (*StreamEvent_Statement) GetPrimaryKeyValues ¶
func (x *StreamEvent_Statement) GetPrimaryKeyValues() []*Row
func (*StreamEvent_Statement) GetSql ¶
func (x *StreamEvent_Statement) GetSql() []byte
func (*StreamEvent_Statement) GetTableName ¶
func (x *StreamEvent_Statement) GetTableName() string
func (*StreamEvent_Statement) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamEvent_Statement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamEvent_Statement) MarshalToVT ¶ added in v0.11.0
func (m *StreamEvent_Statement) MarshalToVT(dAtA []byte) (int, error)
func (*StreamEvent_Statement) MarshalVT ¶ added in v0.11.0
func (m *StreamEvent_Statement) MarshalVT() (dAtA []byte, err error)
func (*StreamEvent_Statement) ProtoMessage ¶
func (*StreamEvent_Statement) ProtoMessage()
func (*StreamEvent_Statement) ProtoReflect ¶ added in v0.11.0
func (x *StreamEvent_Statement) ProtoReflect() protoreflect.Message
func (*StreamEvent_Statement) Reset ¶
func (x *StreamEvent_Statement) Reset()
func (*StreamEvent_Statement) SizeVT ¶ added in v0.11.0
func (m *StreamEvent_Statement) SizeVT() (n int)
func (*StreamEvent_Statement) String ¶
func (x *StreamEvent_Statement) String() string
func (*StreamEvent_Statement) UnmarshalVT ¶ added in v0.11.0
func (m *StreamEvent_Statement) UnmarshalVT(dAtA []byte) error
type StreamEvent_Statement_Category ¶
type StreamEvent_Statement_Category int32
The category of one statement.
const ( StreamEvent_Statement_Error StreamEvent_Statement_Category = 0 StreamEvent_Statement_DML StreamEvent_Statement_Category = 1 StreamEvent_Statement_DDL StreamEvent_Statement_Category = 2 )
func (StreamEvent_Statement_Category) Descriptor ¶ added in v0.11.0
func (StreamEvent_Statement_Category) Descriptor() protoreflect.EnumDescriptor
func (StreamEvent_Statement_Category) Enum ¶ added in v0.11.0
func (x StreamEvent_Statement_Category) Enum() *StreamEvent_Statement_Category
func (StreamEvent_Statement_Category) EnumDescriptor
deprecated
func (StreamEvent_Statement_Category) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamEvent_Statement_Category.Descriptor instead.
func (StreamEvent_Statement_Category) Number ¶ added in v0.11.0
func (x StreamEvent_Statement_Category) Number() protoreflect.EnumNumber
func (StreamEvent_Statement_Category) String ¶
func (x StreamEvent_Statement_Category) String() string
func (StreamEvent_Statement_Category) Type ¶ added in v0.11.0
func (StreamEvent_Statement_Category) Type() protoreflect.EnumType
type StreamExecuteRequest ¶
type StreamExecuteRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query *BoundQuery `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Options *ExecuteOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"` TransactionId int64 `protobuf:"varint,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` ReservedId int64 `protobuf:"varint,7,opt,name=reserved_id,json=reservedId,proto3" json:"reserved_id,omitempty"` // contains filtered or unexported fields }
StreamExecuteRequest is the payload to StreamExecute
func (*StreamExecuteRequest) Descriptor
deprecated
func (*StreamExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamExecuteRequest.ProtoReflect.Descriptor instead.
func (*StreamExecuteRequest) GetEffectiveCallerId ¶
func (x *StreamExecuteRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*StreamExecuteRequest) GetImmediateCallerId ¶
func (x *StreamExecuteRequest) GetImmediateCallerId() *VTGateCallerID
func (*StreamExecuteRequest) GetOptions ¶
func (x *StreamExecuteRequest) GetOptions() *ExecuteOptions
func (*StreamExecuteRequest) GetQuery ¶
func (x *StreamExecuteRequest) GetQuery() *BoundQuery
func (*StreamExecuteRequest) GetReservedId ¶ added in v0.13.0
func (x *StreamExecuteRequest) GetReservedId() int64
func (*StreamExecuteRequest) GetTarget ¶
func (x *StreamExecuteRequest) GetTarget() *Target
func (*StreamExecuteRequest) GetTransactionId ¶
func (x *StreamExecuteRequest) GetTransactionId() int64
func (*StreamExecuteRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamExecuteRequest) MarshalToVT ¶ added in v0.11.0
func (m *StreamExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StreamExecuteRequest) MarshalVT ¶ added in v0.11.0
func (m *StreamExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*StreamExecuteRequest) ProtoMessage ¶
func (*StreamExecuteRequest) ProtoMessage()
func (*StreamExecuteRequest) ProtoReflect ¶ added in v0.11.0
func (x *StreamExecuteRequest) ProtoReflect() protoreflect.Message
func (*StreamExecuteRequest) Reset ¶
func (x *StreamExecuteRequest) Reset()
func (*StreamExecuteRequest) SizeVT ¶ added in v0.11.0
func (m *StreamExecuteRequest) SizeVT() (n int)
func (*StreamExecuteRequest) String ¶
func (x *StreamExecuteRequest) String() string
func (*StreamExecuteRequest) UnmarshalVT ¶ added in v0.11.0
func (m *StreamExecuteRequest) UnmarshalVT(dAtA []byte) error
type StreamExecuteResponse ¶
type StreamExecuteResponse struct { Result *QueryResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
StreamExecuteResponse is the returned value from StreamExecute
func (*StreamExecuteResponse) Descriptor
deprecated
func (*StreamExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamExecuteResponse.ProtoReflect.Descriptor instead.
func (*StreamExecuteResponse) GetResult ¶
func (x *StreamExecuteResponse) GetResult() *QueryResult
func (*StreamExecuteResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamExecuteResponse) MarshalToVT ¶ added in v0.11.0
func (m *StreamExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StreamExecuteResponse) MarshalVT ¶ added in v0.11.0
func (m *StreamExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*StreamExecuteResponse) ProtoMessage ¶
func (*StreamExecuteResponse) ProtoMessage()
func (*StreamExecuteResponse) ProtoReflect ¶ added in v0.11.0
func (x *StreamExecuteResponse) ProtoReflect() protoreflect.Message
func (*StreamExecuteResponse) Reset ¶
func (x *StreamExecuteResponse) Reset()
func (*StreamExecuteResponse) SizeVT ¶ added in v0.11.0
func (m *StreamExecuteResponse) SizeVT() (n int)
func (*StreamExecuteResponse) String ¶
func (x *StreamExecuteResponse) String() string
func (*StreamExecuteResponse) UnmarshalVT ¶ added in v0.11.0
func (m *StreamExecuteResponse) UnmarshalVT(dAtA []byte) error
type StreamHealthRequest ¶
type StreamHealthRequest struct {
// contains filtered or unexported fields
}
StreamHealthRequest is the payload for StreamHealth
func (*StreamHealthRequest) Descriptor
deprecated
func (*StreamHealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamHealthRequest.ProtoReflect.Descriptor instead.
func (*StreamHealthRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamHealthRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamHealthRequest) MarshalToVT ¶ added in v0.11.0
func (m *StreamHealthRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StreamHealthRequest) MarshalVT ¶ added in v0.11.0
func (m *StreamHealthRequest) MarshalVT() (dAtA []byte, err error)
func (*StreamHealthRequest) ProtoMessage ¶
func (*StreamHealthRequest) ProtoMessage()
func (*StreamHealthRequest) ProtoReflect ¶ added in v0.11.0
func (x *StreamHealthRequest) ProtoReflect() protoreflect.Message
func (*StreamHealthRequest) Reset ¶
func (x *StreamHealthRequest) Reset()
func (*StreamHealthRequest) SizeVT ¶ added in v0.11.0
func (m *StreamHealthRequest) SizeVT() (n int)
func (*StreamHealthRequest) String ¶
func (x *StreamHealthRequest) String() string
func (*StreamHealthRequest) UnmarshalVT ¶ added in v0.11.0
func (m *StreamHealthRequest) UnmarshalVT(dAtA []byte) error
type StreamHealthResponse ¶
type StreamHealthResponse struct { // target is the current server type. Only queries with that exact Target // record will be accepted (the cell may not match, however). Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // serving is true iff the tablet is serving. A tablet may not be serving // if filtered replication is enabled on a primary for instance, // or if a replica should not be used because the keyspace is being resharded. Serving bool `protobuf:"varint,2,opt,name=serving,proto3" json:"serving,omitempty"` // tablet_externally_reparented_timestamp can be interpreted as the // last time we knew that this tablet was the PRIMARY of this shard // (if StreamHealthResponse describes a group of tablets, between // two vtgates, only one primary will be present in the group, and // this is this primary's value). // // It is used by vtgate when determining the current PRIMARY of a shard. // If vtgate sees more than one PRIMARY tablet, this timestamp is used // as tiebreaker where the PRIMARY with the highest timestamp wins. // Another usage of this timestamp is in go/vt/vtgate/buffer to detect the end // of a reparent (failover) and stop buffering. // // In practice, this field is set to: // a) the last time the RPC tabletmanager.TabletExternallyReparented was // // called on this tablet (usually done by an external failover tool e.g. // Orchestrator). The failover tool can call this as long as we are the // primary i.e. even ages after the last reparent occurred. // // OR // b) the last time an active reparent was executed through a vtctl command // // (InitShardPrimary, PlannedReparentShard, EmergencyReparentShard) // // OR // c) the last time vttablet was started and it initialized its tablet type // // as PRIMARY because it was recorded as the shard's current primary in the // topology (see go/vt/vttablet/tabletmanager/init_tablet.go) // // OR // d) 0 if the vttablet was never a PRIMARY. TabletExternallyReparentedTimestamp int64 `` /* 171-byte string literal not displayed */ // realtime_stats contains information about the tablet status. // It is only filled in if the information is about a tablet. RealtimeStats *RealtimeStats `protobuf:"bytes,4,opt,name=realtime_stats,json=realtimeStats,proto3" json:"realtime_stats,omitempty"` // tablet_alias is the alias of the sending tablet. The discovery/healthcheck.go // code uses it to verify that it's talking to the correct tablet and that it // hasn't changed in the meantime e.g. due to tablet restarts where ports or // ips have been reused but assigned differently. TabletAlias *topodata.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"` // contains filtered or unexported fields }
StreamHealthResponse is streamed by StreamHealth on a regular basis. It is expected to be used between a vtgate and vttablet: - target describes the tablet. - realtime_stats is set. - aggregate_stats is not set (deprecated)
func (*StreamHealthResponse) Descriptor
deprecated
func (*StreamHealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamHealthResponse.ProtoReflect.Descriptor instead.
func (*StreamHealthResponse) GetRealtimeStats ¶
func (x *StreamHealthResponse) GetRealtimeStats() *RealtimeStats
func (*StreamHealthResponse) GetServing ¶
func (x *StreamHealthResponse) GetServing() bool
func (*StreamHealthResponse) GetTabletAlias ¶
func (x *StreamHealthResponse) GetTabletAlias() *topodata.TabletAlias
func (*StreamHealthResponse) GetTabletExternallyReparentedTimestamp ¶
func (x *StreamHealthResponse) GetTabletExternallyReparentedTimestamp() int64
func (*StreamHealthResponse) GetTarget ¶
func (x *StreamHealthResponse) GetTarget() *Target
func (*StreamHealthResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamHealthResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamHealthResponse) MarshalToVT ¶ added in v0.11.0
func (m *StreamHealthResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StreamHealthResponse) MarshalVT ¶ added in v0.11.0
func (m *StreamHealthResponse) MarshalVT() (dAtA []byte, err error)
func (*StreamHealthResponse) ProtoMessage ¶
func (*StreamHealthResponse) ProtoMessage()
func (*StreamHealthResponse) ProtoReflect ¶ added in v0.11.0
func (x *StreamHealthResponse) ProtoReflect() protoreflect.Message
func (*StreamHealthResponse) Reset ¶
func (x *StreamHealthResponse) Reset()
func (*StreamHealthResponse) SizeVT ¶ added in v0.11.0
func (m *StreamHealthResponse) SizeVT() (n int)
func (*StreamHealthResponse) String ¶
func (x *StreamHealthResponse) String() string
func (*StreamHealthResponse) UnmarshalVT ¶ added in v0.11.0
func (m *StreamHealthResponse) UnmarshalVT(dAtA []byte) error
type Target ¶
type Target struct { Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` TabletType topodata.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"` // cell is used for routing queries between vtgate and vttablets. It // is not used when Target is part of the Session sent by the client. Cell string `protobuf:"bytes,4,opt,name=cell,proto3" json:"cell,omitempty"` // contains filtered or unexported fields }
Target describes what the client expects the tablet is. If the tablet does not match, an error is returned.
func (*Target) CachedSize ¶ added in v0.10.0
func (*Target) Descriptor
deprecated
func (*Target) GetKeyspace ¶
func (*Target) GetTabletType ¶
func (x *Target) GetTabletType() topodata.TabletType
func (*Target) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Target) MarshalToVT ¶ added in v0.11.0
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶ added in v0.11.0
func (x *Target) ProtoReflect() protoreflect.Message
func (*Target) UnmarshalVT ¶ added in v0.11.0
type TransactionMetadata ¶
type TransactionMetadata struct { Dtid string `protobuf:"bytes,1,opt,name=dtid,proto3" json:"dtid,omitempty"` State TransactionState `protobuf:"varint,2,opt,name=state,proto3,enum=query.TransactionState" json:"state,omitempty"` TimeCreated int64 `protobuf:"varint,3,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` Participants []*Target `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"` // contains filtered or unexported fields }
TransactionMetadata contains the metadata for a distributed transaction.
func (*TransactionMetadata) Descriptor
deprecated
func (*TransactionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TransactionMetadata.ProtoReflect.Descriptor instead.
func (*TransactionMetadata) GetDtid ¶
func (x *TransactionMetadata) GetDtid() string
func (*TransactionMetadata) GetParticipants ¶
func (x *TransactionMetadata) GetParticipants() []*Target
func (*TransactionMetadata) GetState ¶
func (x *TransactionMetadata) GetState() TransactionState
func (*TransactionMetadata) GetTimeCreated ¶
func (x *TransactionMetadata) GetTimeCreated() int64
func (*TransactionMetadata) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *TransactionMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TransactionMetadata) MarshalToVT ¶ added in v0.11.0
func (m *TransactionMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*TransactionMetadata) MarshalVT ¶ added in v0.11.0
func (m *TransactionMetadata) MarshalVT() (dAtA []byte, err error)
func (*TransactionMetadata) ProtoMessage ¶
func (*TransactionMetadata) ProtoMessage()
func (*TransactionMetadata) ProtoReflect ¶ added in v0.11.0
func (x *TransactionMetadata) ProtoReflect() protoreflect.Message
func (*TransactionMetadata) Reset ¶
func (x *TransactionMetadata) Reset()
func (*TransactionMetadata) SizeVT ¶ added in v0.11.0
func (m *TransactionMetadata) SizeVT() (n int)
func (*TransactionMetadata) String ¶
func (x *TransactionMetadata) String() string
func (*TransactionMetadata) UnmarshalVT ¶ added in v0.11.0
func (m *TransactionMetadata) UnmarshalVT(dAtA []byte) error
type TransactionState ¶
type TransactionState int32
TransactionState represents the state of a distributed transaction.
const ( TransactionState_UNKNOWN TransactionState = 0 TransactionState_PREPARE TransactionState = 1 TransactionState_COMMIT TransactionState = 2 TransactionState_ROLLBACK TransactionState = 3 )
func (TransactionState) Descriptor ¶ added in v0.11.0
func (TransactionState) Descriptor() protoreflect.EnumDescriptor
func (TransactionState) Enum ¶ added in v0.11.0
func (x TransactionState) Enum() *TransactionState
func (TransactionState) EnumDescriptor
deprecated
func (TransactionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionState.Descriptor instead.
func (TransactionState) Number ¶ added in v0.11.0
func (x TransactionState) Number() protoreflect.EnumNumber
func (TransactionState) String ¶
func (x TransactionState) String() string
func (TransactionState) Type ¶ added in v0.11.0
func (TransactionState) Type() protoreflect.EnumType
type Type ¶
type Type int32
Type defines the various supported data types in bind vars and query results.
const ( // NULL_TYPE specifies a NULL type. Type_NULL_TYPE Type = 0 // INT8 specifies a TINYINT type. // Properties: 1, IsNumber. Type_INT8 Type = 257 // UINT8 specifies a TINYINT UNSIGNED type. // Properties: 2, IsNumber, IsUnsigned. Type_UINT8 Type = 770 // INT16 specifies a SMALLINT type. // Properties: 3, IsNumber. Type_INT16 Type = 259 // UINT16 specifies a SMALLINT UNSIGNED type. // Properties: 4, IsNumber, IsUnsigned. Type_UINT16 Type = 772 // INT24 specifies a MEDIUMINT type. // Properties: 5, IsNumber. Type_INT24 Type = 261 // UINT24 specifies a MEDIUMINT UNSIGNED type. // Properties: 6, IsNumber, IsUnsigned. Type_UINT24 Type = 774 // INT32 specifies a INTEGER type. // Properties: 7, IsNumber. Type_INT32 Type = 263 // UINT32 specifies a INTEGER UNSIGNED type. // Properties: 8, IsNumber, IsUnsigned. Type_UINT32 Type = 776 // INT64 specifies a BIGINT type. // Properties: 9, IsNumber. Type_INT64 Type = 265 // UINT64 specifies a BIGINT UNSIGNED type. // Properties: 10, IsNumber, IsUnsigned. Type_UINT64 Type = 778 // FLOAT32 specifies a FLOAT type. // Properties: 11, IsFloat. Type_FLOAT32 Type = 1035 // FLOAT64 specifies a DOUBLE or REAL type. // Properties: 12, IsFloat. Type_FLOAT64 Type = 1036 // TIMESTAMP specifies a TIMESTAMP type. // Properties: 13, IsQuoted. Type_TIMESTAMP Type = 2061 // DATE specifies a DATE type. // Properties: 14, IsQuoted. Type_DATE Type = 2062 // TIME specifies a TIME type. // Properties: 15, IsQuoted. Type_TIME Type = 2063 // DATETIME specifies a DATETIME type. // Properties: 16, IsQuoted. Type_DATETIME Type = 2064 // YEAR specifies a YEAR type. // Properties: 17, IsNumber, IsUnsigned. Type_YEAR Type = 785 // DECIMAL specifies a DECIMAL or NUMERIC type. // Properties: 18, None. Type_DECIMAL Type = 18 // TEXT specifies a TEXT type. // Properties: 19, IsQuoted, IsText. Type_TEXT Type = 6163 // BLOB specifies a BLOB type. // Properties: 20, IsQuoted, IsBinary. Type_BLOB Type = 10260 // VARCHAR specifies a VARCHAR type. // Properties: 21, IsQuoted, IsText. Type_VARCHAR Type = 6165 // VARBINARY specifies a VARBINARY type. // Properties: 22, IsQuoted, IsBinary. Type_VARBINARY Type = 10262 // CHAR specifies a CHAR type. // Properties: 23, IsQuoted, IsText. Type_CHAR Type = 6167 // BINARY specifies a BINARY type. // Properties: 24, IsQuoted, IsBinary. Type_BINARY Type = 10264 // BIT specifies a BIT type. // Properties: 25, IsQuoted. Type_BIT Type = 2073 // ENUM specifies an ENUM type. // Properties: 26, IsQuoted. Type_ENUM Type = 2074 // SET specifies a SET type. // Properties: 27, IsQuoted. Type_SET Type = 2075 // TUPLE specifies a tuple. This cannot // be returned in a QueryResult, but it can // be sent as a bind var. // Properties: 28, None. Type_TUPLE Type = 28 // GEOMETRY specifies a GEOMETRY type. // Properties: 29, IsQuoted. Type_GEOMETRY Type = 2077 // JSON specifies a JSON type. // Properties: 30, IsQuoted. Type_JSON Type = 2078 // EXPRESSION specifies a SQL expression. // This type is for internal use only. // Properties: 31, None. Type_EXPRESSION Type = 31 // HEXNUM specifies a HEXNUM type (unquoted varbinary). // Properties: 32, IsText. Type_HEXNUM Type = 4128 // HEXVAL specifies a HEXVAL type (unquoted varbinary). // Properties: 33, IsText. Type_HEXVAL Type = 4129 // BITNUM specifies a base 2 binary type (unquoted varbinary). // Properties: 34, IsText. Type_BITNUM Type = 4130 )
func (Type) Descriptor ¶ added in v0.11.0
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶ added in v0.11.0
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶ added in v0.11.0
func (Type) Type() protoreflect.EnumType
type VTGateCallerID ¶
type VTGateCallerID struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Groups []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
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.
func (*VTGateCallerID) Descriptor
deprecated
func (*VTGateCallerID) Descriptor() ([]byte, []int)
Deprecated: Use VTGateCallerID.ProtoReflect.Descriptor instead.
func (*VTGateCallerID) GetGroups ¶
func (x *VTGateCallerID) GetGroups() []string
func (*VTGateCallerID) GetUsername ¶
func (x *VTGateCallerID) GetUsername() string
func (*VTGateCallerID) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *VTGateCallerID) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VTGateCallerID) MarshalToVT ¶ added in v0.11.0
func (m *VTGateCallerID) MarshalToVT(dAtA []byte) (int, error)
func (*VTGateCallerID) MarshalVT ¶ added in v0.11.0
func (m *VTGateCallerID) MarshalVT() (dAtA []byte, err error)
func (*VTGateCallerID) ProtoMessage ¶
func (*VTGateCallerID) ProtoMessage()
func (*VTGateCallerID) ProtoReflect ¶ added in v0.11.0
func (x *VTGateCallerID) ProtoReflect() protoreflect.Message
func (*VTGateCallerID) Reset ¶
func (x *VTGateCallerID) Reset()
func (*VTGateCallerID) SizeVT ¶ added in v0.11.0
func (m *VTGateCallerID) SizeVT() (n int)
func (*VTGateCallerID) String ¶
func (x *VTGateCallerID) String() string
func (*VTGateCallerID) UnmarshalVT ¶ added in v0.11.0
func (m *VTGateCallerID) UnmarshalVT(dAtA []byte) error
type Value ¶
type Value struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=query.Type" json:"type,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Value represents a typed value.
func (*Value) CachedSize ¶ added in v0.10.0
func (*Value) Descriptor
deprecated
func (*Value) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶ added in v0.11.0
func (x *Value) ProtoReflect() protoreflect.Message