Documentation ¶
Index ¶
- Variables
- type BinlogSource
- func (m *BinlogSource) CloneMessageVT() proto.Message
- func (m *BinlogSource) CloneVT() *BinlogSource
- func (*BinlogSource) Descriptor() ([]byte, []int)deprecated
- func (x *BinlogSource) GetExternalCluster() string
- func (x *BinlogSource) GetExternalMysql() string
- func (x *BinlogSource) GetFilter() *Filter
- func (x *BinlogSource) GetKeyRange() *topodata.KeyRange
- func (x *BinlogSource) GetKeyspace() string
- func (x *BinlogSource) GetOnDdl() OnDDLAction
- func (x *BinlogSource) GetShard() string
- func (x *BinlogSource) GetSourceTimeZone() string
- func (x *BinlogSource) GetStopAfterCopy() bool
- func (x *BinlogSource) GetTables() []string
- func (x *BinlogSource) GetTabletType() topodata.TabletType
- func (x *BinlogSource) GetTargetTimeZone() string
- func (m *BinlogSource) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BinlogSource) MarshalToVT(dAtA []byte) (int, error)
- func (m *BinlogSource) MarshalVT() (dAtA []byte, err error)
- func (*BinlogSource) ProtoMessage()
- func (x *BinlogSource) ProtoReflect() protoreflect.Message
- func (x *BinlogSource) Reset()
- func (m *BinlogSource) SizeVT() (n int)
- func (x *BinlogSource) String() string
- func (m *BinlogSource) UnmarshalVT(dAtA []byte) error
- type BinlogTransaction
- func (m *BinlogTransaction) CloneMessageVT() proto.Message
- func (m *BinlogTransaction) CloneVT() *BinlogTransaction
- func (*BinlogTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *BinlogTransaction) GetEventToken() *query.EventToken
- func (x *BinlogTransaction) GetStatements() []*BinlogTransaction_Statement
- func (m *BinlogTransaction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BinlogTransaction) MarshalToVT(dAtA []byte) (int, error)
- func (m *BinlogTransaction) MarshalVT() (dAtA []byte, err error)
- func (*BinlogTransaction) ProtoMessage()
- func (x *BinlogTransaction) ProtoReflect() protoreflect.Message
- func (x *BinlogTransaction) Reset()
- func (m *BinlogTransaction) SizeVT() (n int)
- func (x *BinlogTransaction) String() string
- func (m *BinlogTransaction) UnmarshalVT(dAtA []byte) error
- type BinlogTransaction_Statement
- func (m *BinlogTransaction_Statement) CloneMessageVT() proto.Message
- func (m *BinlogTransaction_Statement) CloneVT() *BinlogTransaction_Statement
- func (*BinlogTransaction_Statement) Descriptor() ([]byte, []int)deprecated
- func (x *BinlogTransaction_Statement) GetCategory() BinlogTransaction_Statement_Category
- func (x *BinlogTransaction_Statement) GetCharset() *Charset
- func (x *BinlogTransaction_Statement) GetSql() []byte
- func (m *BinlogTransaction_Statement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BinlogTransaction_Statement) MarshalToVT(dAtA []byte) (int, error)
- func (m *BinlogTransaction_Statement) MarshalVT() (dAtA []byte, err error)
- func (*BinlogTransaction_Statement) ProtoMessage()
- func (x *BinlogTransaction_Statement) ProtoReflect() protoreflect.Message
- func (x *BinlogTransaction_Statement) Reset()
- func (m *BinlogTransaction_Statement) SizeVT() (n int)
- func (x *BinlogTransaction_Statement) String() string
- func (m *BinlogTransaction_Statement) UnmarshalVT(dAtA []byte) error
- type BinlogTransaction_Statement_Category
- func (BinlogTransaction_Statement_Category) Descriptor() protoreflect.EnumDescriptor
- func (x BinlogTransaction_Statement_Category) Enum() *BinlogTransaction_Statement_Category
- func (BinlogTransaction_Statement_Category) EnumDescriptor() ([]byte, []int)deprecated
- func (x BinlogTransaction_Statement_Category) Number() protoreflect.EnumNumber
- func (x BinlogTransaction_Statement_Category) String() string
- func (BinlogTransaction_Statement_Category) Type() protoreflect.EnumType
- type Charset
- func (m *Charset) CloneMessageVT() proto.Message
- func (m *Charset) CloneVT() *Charset
- func (*Charset) Descriptor() ([]byte, []int)deprecated
- func (x *Charset) GetClient() int32
- func (x *Charset) GetConn() int32
- func (x *Charset) GetServer() int32
- func (m *Charset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Charset) MarshalToVT(dAtA []byte) (int, error)
- func (m *Charset) MarshalVT() (dAtA []byte, err error)
- func (*Charset) ProtoMessage()
- func (x *Charset) ProtoReflect() protoreflect.Message
- func (x *Charset) Reset()
- func (m *Charset) SizeVT() (n int)
- func (x *Charset) String() string
- func (m *Charset) UnmarshalVT(dAtA []byte) error
- type CharsetConversion
- func (m *CharsetConversion) CloneMessageVT() proto.Message
- func (m *CharsetConversion) CloneVT() *CharsetConversion
- func (*CharsetConversion) Descriptor() ([]byte, []int)deprecated
- func (x *CharsetConversion) GetFromCharset() string
- func (x *CharsetConversion) GetToCharset() string
- func (m *CharsetConversion) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CharsetConversion) MarshalToVT(dAtA []byte) (int, error)
- func (m *CharsetConversion) MarshalVT() (dAtA []byte, err error)
- func (*CharsetConversion) ProtoMessage()
- func (x *CharsetConversion) ProtoReflect() protoreflect.Message
- func (x *CharsetConversion) Reset()
- func (m *CharsetConversion) SizeVT() (n int)
- func (x *CharsetConversion) String() string
- func (m *CharsetConversion) UnmarshalVT(dAtA []byte) error
- type FieldEvent
- func (m *FieldEvent) CloneMessageVT() proto.Message
- func (m *FieldEvent) CloneVT() *FieldEvent
- func (*FieldEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FieldEvent) GetEnumSetStringValues() bool
- func (x *FieldEvent) GetFields() []*query.Field
- func (x *FieldEvent) GetIsInternalTable() bool
- func (x *FieldEvent) GetKeyspace() string
- func (x *FieldEvent) GetShard() string
- func (x *FieldEvent) GetTableName() string
- func (m *FieldEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FieldEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *FieldEvent) MarshalVT() (dAtA []byte, err error)
- func (*FieldEvent) ProtoMessage()
- func (x *FieldEvent) ProtoReflect() protoreflect.Message
- func (x *FieldEvent) Reset()
- func (m *FieldEvent) SizeVT() (n int)
- func (x *FieldEvent) String() string
- func (m *FieldEvent) UnmarshalVT(dAtA []byte) error
- type Filter
- func (m *Filter) CloneMessageVT() proto.Message
- func (m *Filter) CloneVT() *Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetFieldEventMode() Filter_FieldEventMode
- func (x *Filter) GetRules() []*Rule
- func (x *Filter) GetWorkflowName() string
- func (x *Filter) GetWorkflowType() int64
- func (m *Filter) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Filter) MarshalToVT(dAtA []byte) (int, error)
- func (m *Filter) MarshalVT() (dAtA []byte, err error)
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (m *Filter) SizeVT() (n int)
- func (x *Filter) String() string
- func (m *Filter) UnmarshalVT(dAtA []byte) error
- type Filter_FieldEventMode
- func (Filter_FieldEventMode) Descriptor() protoreflect.EnumDescriptor
- func (x Filter_FieldEventMode) Enum() *Filter_FieldEventMode
- func (Filter_FieldEventMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Filter_FieldEventMode) Number() protoreflect.EnumNumber
- func (x Filter_FieldEventMode) String() string
- func (Filter_FieldEventMode) Type() protoreflect.EnumType
- type Journal
- func (m *Journal) CloneMessageVT() proto.Message
- func (m *Journal) CloneVT() *Journal
- func (*Journal) Descriptor() ([]byte, []int)deprecated
- func (x *Journal) GetId() int64
- func (x *Journal) GetLocalPosition() string
- func (x *Journal) GetMigrationType() MigrationType
- func (x *Journal) GetParticipants() []*KeyspaceShard
- func (x *Journal) GetShardGtids() []*ShardGtid
- func (x *Journal) GetSourceWorkflows() []string
- func (x *Journal) GetTables() []string
- func (m *Journal) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Journal) MarshalToVT(dAtA []byte) (int, error)
- func (m *Journal) MarshalVT() (dAtA []byte, err error)
- func (*Journal) ProtoMessage()
- func (x *Journal) ProtoReflect() protoreflect.Message
- func (x *Journal) Reset()
- func (m *Journal) SizeVT() (n int)
- func (x *Journal) String() string
- func (m *Journal) UnmarshalVT(dAtA []byte) error
- type KeyspaceShard
- func (m *KeyspaceShard) CloneMessageVT() proto.Message
- func (m *KeyspaceShard) CloneVT() *KeyspaceShard
- func (*KeyspaceShard) Descriptor() ([]byte, []int)deprecated
- func (x *KeyspaceShard) GetKeyspace() string
- func (x *KeyspaceShard) GetShard() string
- func (m *KeyspaceShard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *KeyspaceShard) MarshalToVT(dAtA []byte) (int, error)
- func (m *KeyspaceShard) MarshalVT() (dAtA []byte, err error)
- func (*KeyspaceShard) ProtoMessage()
- func (x *KeyspaceShard) ProtoReflect() protoreflect.Message
- func (x *KeyspaceShard) Reset()
- func (m *KeyspaceShard) SizeVT() (n int)
- func (x *KeyspaceShard) String() string
- func (m *KeyspaceShard) UnmarshalVT(dAtA []byte) error
- type LastPKEvent
- func (m *LastPKEvent) CloneMessageVT() proto.Message
- func (m *LastPKEvent) CloneVT() *LastPKEvent
- func (*LastPKEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LastPKEvent) GetCompleted() bool
- func (x *LastPKEvent) GetTableLastPK() *TableLastPK
- func (m *LastPKEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LastPKEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *LastPKEvent) MarshalVT() (dAtA []byte, err error)
- func (*LastPKEvent) ProtoMessage()
- func (x *LastPKEvent) ProtoReflect() protoreflect.Message
- func (x *LastPKEvent) Reset()
- func (m *LastPKEvent) SizeVT() (n int)
- func (x *LastPKEvent) String() string
- func (m *LastPKEvent) UnmarshalVT(dAtA []byte) error
- type MigrationType
- func (MigrationType) Descriptor() protoreflect.EnumDescriptor
- func (x MigrationType) Enum() *MigrationType
- func (MigrationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MigrationType) Number() protoreflect.EnumNumber
- func (x MigrationType) String() string
- func (MigrationType) Type() protoreflect.EnumType
- type MinimalSchema
- func (m *MinimalSchema) CloneMessageVT() proto.Message
- func (m *MinimalSchema) CloneVT() *MinimalSchema
- func (*MinimalSchema) Descriptor() ([]byte, []int)deprecated
- func (x *MinimalSchema) GetTables() []*MinimalTable
- func (m *MinimalSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MinimalSchema) MarshalToVT(dAtA []byte) (int, error)
- func (m *MinimalSchema) MarshalVT() (dAtA []byte, err error)
- func (*MinimalSchema) ProtoMessage()
- func (x *MinimalSchema) ProtoReflect() protoreflect.Message
- func (x *MinimalSchema) Reset()
- func (m *MinimalSchema) SizeVT() (n int)
- func (x *MinimalSchema) String() string
- func (m *MinimalSchema) UnmarshalVT(dAtA []byte) error
- type MinimalTable
- func (m *MinimalTable) CloneMessageVT() proto.Message
- func (m *MinimalTable) CloneVT() *MinimalTable
- func (*MinimalTable) Descriptor() ([]byte, []int)deprecated
- func (x *MinimalTable) GetFields() []*query.Field
- func (x *MinimalTable) GetName() string
- func (x *MinimalTable) GetPKColumns() []int64
- func (x *MinimalTable) GetPKIndexName() string
- func (m *MinimalTable) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MinimalTable) MarshalToVT(dAtA []byte) (int, error)
- func (m *MinimalTable) MarshalVT() (dAtA []byte, err error)
- func (*MinimalTable) ProtoMessage()
- func (x *MinimalTable) ProtoReflect() protoreflect.Message
- func (x *MinimalTable) Reset()
- func (m *MinimalTable) SizeVT() (n int)
- func (x *MinimalTable) String() string
- func (m *MinimalTable) UnmarshalVT(dAtA []byte) error
- type OnDDLAction
- func (OnDDLAction) Descriptor() protoreflect.EnumDescriptor
- func (x OnDDLAction) Enum() *OnDDLAction
- func (OnDDLAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x OnDDLAction) Number() protoreflect.EnumNumber
- func (x OnDDLAction) String() string
- func (OnDDLAction) Type() protoreflect.EnumType
- type RowChange
- func (m *RowChange) CloneMessageVT() proto.Message
- func (m *RowChange) CloneVT() *RowChange
- func (*RowChange) Descriptor() ([]byte, []int)deprecated
- func (x *RowChange) GetAfter() *query.Row
- func (x *RowChange) GetBefore() *query.Row
- func (x *RowChange) GetDataColumns() *RowChange_Bitmap
- func (m *RowChange) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RowChange) MarshalToVT(dAtA []byte) (int, error)
- func (m *RowChange) MarshalVT() (dAtA []byte, err error)
- func (*RowChange) ProtoMessage()
- func (x *RowChange) ProtoReflect() protoreflect.Message
- func (x *RowChange) Reset()
- func (m *RowChange) SizeVT() (n int)
- func (x *RowChange) String() string
- func (m *RowChange) UnmarshalVT(dAtA []byte) error
- type RowChange_Bitmap
- func (m *RowChange_Bitmap) CloneMessageVT() proto.Message
- func (m *RowChange_Bitmap) CloneVT() *RowChange_Bitmap
- func (*RowChange_Bitmap) Descriptor() ([]byte, []int)deprecated
- func (x *RowChange_Bitmap) GetCols() []byte
- func (x *RowChange_Bitmap) GetCount() int64
- func (m *RowChange_Bitmap) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RowChange_Bitmap) MarshalToVT(dAtA []byte) (int, error)
- func (m *RowChange_Bitmap) MarshalVT() (dAtA []byte, err error)
- func (*RowChange_Bitmap) ProtoMessage()
- func (x *RowChange_Bitmap) ProtoReflect() protoreflect.Message
- func (x *RowChange_Bitmap) Reset()
- func (m *RowChange_Bitmap) SizeVT() (n int)
- func (x *RowChange_Bitmap) String() string
- func (m *RowChange_Bitmap) UnmarshalVT(dAtA []byte) error
- type RowEvent
- func (m *RowEvent) CloneMessageVT() proto.Message
- func (m *RowEvent) CloneVT() *RowEvent
- func (*RowEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RowEvent) GetFlags() uint32
- func (x *RowEvent) GetIsInternalTable() bool
- func (x *RowEvent) GetKeyspace() string
- func (x *RowEvent) GetRowChanges() []*RowChange
- func (x *RowEvent) GetShard() string
- func (x *RowEvent) GetTableName() string
- func (m *RowEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RowEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *RowEvent) MarshalVT() (dAtA []byte, err error)
- func (*RowEvent) ProtoMessage()
- func (x *RowEvent) ProtoReflect() protoreflect.Message
- func (x *RowEvent) Reset()
- func (m *RowEvent) SizeVT() (n int)
- func (x *RowEvent) String() string
- func (m *RowEvent) UnmarshalVT(dAtA []byte) error
- type Rule
- func (m *Rule) CloneMessageVT() proto.Message
- func (m *Rule) CloneVT() *Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetConvertCharset() map[string]*CharsetConversion
- func (x *Rule) GetConvertEnumToText() map[string]string
- func (x *Rule) GetConvertIntToEnum() map[string]bool
- func (x *Rule) GetFilter() string
- func (x *Rule) GetForceUniqueKey() string
- func (x *Rule) GetMatch() string
- func (x *Rule) GetSourceUniqueKeyColumns() string
- func (x *Rule) GetSourceUniqueKeyTargetColumns() string
- func (x *Rule) GetTargetUniqueKeyColumns() string
- func (m *Rule) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Rule) MarshalToVT(dAtA []byte) (int, error)
- func (m *Rule) MarshalVT() (dAtA []byte, err error)
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (m *Rule) SizeVT() (n int)
- func (x *Rule) String() string
- func (m *Rule) UnmarshalVT(dAtA []byte) error
- type ShardGtid
- func (m *ShardGtid) CloneMessageVT() proto.Message
- func (m *ShardGtid) CloneVT() *ShardGtid
- func (*ShardGtid) Descriptor() ([]byte, []int)deprecated
- func (x *ShardGtid) GetGtid() string
- func (x *ShardGtid) GetKeyspace() string
- func (x *ShardGtid) GetShard() string
- func (x *ShardGtid) GetTablePKs() []*TableLastPK
- func (m *ShardGtid) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ShardGtid) MarshalToVT(dAtA []byte) (int, error)
- func (m *ShardGtid) MarshalVT() (dAtA []byte, err error)
- func (*ShardGtid) ProtoMessage()
- func (x *ShardGtid) ProtoReflect() protoreflect.Message
- func (x *ShardGtid) Reset()
- func (m *ShardGtid) SizeVT() (n int)
- func (x *ShardGtid) String() string
- func (m *ShardGtid) UnmarshalVT(dAtA []byte) error
- type StreamKeyRangeRequest
- func (m *StreamKeyRangeRequest) CloneMessageVT() proto.Message
- func (m *StreamKeyRangeRequest) CloneVT() *StreamKeyRangeRequest
- func (*StreamKeyRangeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamKeyRangeRequest) GetCharset() *Charset
- func (x *StreamKeyRangeRequest) GetKeyRange() *topodata.KeyRange
- func (x *StreamKeyRangeRequest) GetPosition() string
- func (m *StreamKeyRangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamKeyRangeRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamKeyRangeRequest) MarshalVT() (dAtA []byte, err error)
- func (*StreamKeyRangeRequest) ProtoMessage()
- func (x *StreamKeyRangeRequest) ProtoReflect() protoreflect.Message
- func (x *StreamKeyRangeRequest) Reset()
- func (m *StreamKeyRangeRequest) SizeVT() (n int)
- func (x *StreamKeyRangeRequest) String() string
- func (m *StreamKeyRangeRequest) UnmarshalVT(dAtA []byte) error
- type StreamKeyRangeResponse
- func (m *StreamKeyRangeResponse) CloneMessageVT() proto.Message
- func (m *StreamKeyRangeResponse) CloneVT() *StreamKeyRangeResponse
- func (*StreamKeyRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamKeyRangeResponse) GetBinlogTransaction() *BinlogTransaction
- func (m *StreamKeyRangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamKeyRangeResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamKeyRangeResponse) MarshalVT() (dAtA []byte, err error)
- func (*StreamKeyRangeResponse) ProtoMessage()
- func (x *StreamKeyRangeResponse) ProtoReflect() protoreflect.Message
- func (x *StreamKeyRangeResponse) Reset()
- func (m *StreamKeyRangeResponse) SizeVT() (n int)
- func (x *StreamKeyRangeResponse) String() string
- func (m *StreamKeyRangeResponse) UnmarshalVT(dAtA []byte) error
- type StreamTablesRequest
- func (m *StreamTablesRequest) CloneMessageVT() proto.Message
- func (m *StreamTablesRequest) CloneVT() *StreamTablesRequest
- func (*StreamTablesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTablesRequest) GetCharset() *Charset
- func (x *StreamTablesRequest) GetPosition() string
- func (x *StreamTablesRequest) GetTables() []string
- func (m *StreamTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamTablesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamTablesRequest) MarshalVT() (dAtA []byte, err error)
- func (*StreamTablesRequest) ProtoMessage()
- func (x *StreamTablesRequest) ProtoReflect() protoreflect.Message
- func (x *StreamTablesRequest) Reset()
- func (m *StreamTablesRequest) SizeVT() (n int)
- func (x *StreamTablesRequest) String() string
- func (m *StreamTablesRequest) UnmarshalVT(dAtA []byte) error
- type StreamTablesResponse
- func (m *StreamTablesResponse) CloneMessageVT() proto.Message
- func (m *StreamTablesResponse) CloneVT() *StreamTablesResponse
- func (*StreamTablesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTablesResponse) GetBinlogTransaction() *BinlogTransaction
- func (m *StreamTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StreamTablesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StreamTablesResponse) MarshalVT() (dAtA []byte, err error)
- func (*StreamTablesResponse) ProtoMessage()
- func (x *StreamTablesResponse) ProtoReflect() protoreflect.Message
- func (x *StreamTablesResponse) Reset()
- func (m *StreamTablesResponse) SizeVT() (n int)
- func (x *StreamTablesResponse) String() string
- func (m *StreamTablesResponse) UnmarshalVT(dAtA []byte) error
- type TableLastPK
- func (m *TableLastPK) CloneMessageVT() proto.Message
- func (m *TableLastPK) CloneVT() *TableLastPK
- func (*TableLastPK) Descriptor() ([]byte, []int)deprecated
- func (x *TableLastPK) GetLastpk() *query.QueryResult
- func (x *TableLastPK) GetTableName() string
- func (m *TableLastPK) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TableLastPK) MarshalToVT(dAtA []byte) (int, error)
- func (m *TableLastPK) MarshalVT() (dAtA []byte, err error)
- func (*TableLastPK) ProtoMessage()
- func (x *TableLastPK) ProtoReflect() protoreflect.Message
- func (x *TableLastPK) Reset()
- func (m *TableLastPK) SizeVT() (n int)
- func (x *TableLastPK) String() string
- func (m *TableLastPK) UnmarshalVT(dAtA []byte) error
- type VEvent
- func (m *VEvent) CloneMessageVT() proto.Message
- func (m *VEvent) CloneVT() *VEvent
- func (*VEvent) Descriptor() ([]byte, []int)deprecated
- func (x *VEvent) GetCurrentTime() int64
- func (x *VEvent) GetDml() string
- func (x *VEvent) GetFieldEvent() *FieldEvent
- func (x *VEvent) GetGtid() string
- func (x *VEvent) GetJournal() *Journal
- func (x *VEvent) GetKeyspace() string
- func (x *VEvent) GetLastPKEvent() *LastPKEvent
- func (x *VEvent) GetRowEvent() *RowEvent
- func (x *VEvent) GetShard() string
- func (x *VEvent) GetStatement() string
- func (x *VEvent) GetThrottled() bool
- func (x *VEvent) GetThrottledReason() string
- func (x *VEvent) GetTimestamp() int64
- func (x *VEvent) GetType() VEventType
- func (x *VEvent) GetVgtid() *VGtid
- func (m *VEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VEvent) MarshalToVT(dAtA []byte) (int, error)
- func (m *VEvent) MarshalVT() (dAtA []byte, err error)
- func (*VEvent) ProtoMessage()
- func (x *VEvent) ProtoReflect() protoreflect.Message
- func (x *VEvent) Reset()
- func (m *VEvent) SizeVT() (n int)
- func (x *VEvent) String() string
- func (m *VEvent) UnmarshalVT(dAtA []byte) error
- type VEventType
- type VGtid
- func (m *VGtid) CloneMessageVT() proto.Message
- func (m *VGtid) CloneVT() *VGtid
- func (*VGtid) Descriptor() ([]byte, []int)deprecated
- func (x *VGtid) GetShardGtids() []*ShardGtid
- func (m *VGtid) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VGtid) MarshalToVT(dAtA []byte) (int, error)
- func (m *VGtid) MarshalVT() (dAtA []byte, err error)
- func (*VGtid) ProtoMessage()
- func (x *VGtid) ProtoReflect() protoreflect.Message
- func (x *VGtid) Reset()
- func (m *VGtid) SizeVT() (n int)
- func (x *VGtid) String() string
- func (m *VGtid) UnmarshalVT(dAtA []byte) error
- type VReplicationWorkflowState
- func (VReplicationWorkflowState) Descriptor() protoreflect.EnumDescriptor
- func (x VReplicationWorkflowState) Enum() *VReplicationWorkflowState
- func (VReplicationWorkflowState) EnumDescriptor() ([]byte, []int)deprecated
- func (x VReplicationWorkflowState) Number() protoreflect.EnumNumber
- func (x VReplicationWorkflowState) String() string
- func (VReplicationWorkflowState) Type() protoreflect.EnumType
- type VReplicationWorkflowSubType
- func (VReplicationWorkflowSubType) Descriptor() protoreflect.EnumDescriptor
- func (x VReplicationWorkflowSubType) Enum() *VReplicationWorkflowSubType
- func (VReplicationWorkflowSubType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VReplicationWorkflowSubType) Number() protoreflect.EnumNumber
- func (x VReplicationWorkflowSubType) String() string
- func (VReplicationWorkflowSubType) Type() protoreflect.EnumType
- type VReplicationWorkflowType
- func (VReplicationWorkflowType) Descriptor() protoreflect.EnumDescriptor
- func (x VReplicationWorkflowType) Enum() *VReplicationWorkflowType
- func (VReplicationWorkflowType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VReplicationWorkflowType) Number() protoreflect.EnumNumber
- func (x VReplicationWorkflowType) String() string
- func (VReplicationWorkflowType) Type() protoreflect.EnumType
- type VStreamOptions
- func (m *VStreamOptions) CloneMessageVT() proto.Message
- func (m *VStreamOptions) CloneVT() *VStreamOptions
- func (*VStreamOptions) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamOptions) GetConfigOverrides() map[string]string
- func (x *VStreamOptions) GetInternalTables() []string
- func (m *VStreamOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamOptions) MarshalVT() (dAtA []byte, err error)
- func (*VStreamOptions) ProtoMessage()
- func (x *VStreamOptions) ProtoReflect() protoreflect.Message
- func (x *VStreamOptions) Reset()
- func (m *VStreamOptions) SizeVT() (n int)
- func (x *VStreamOptions) String() string
- func (m *VStreamOptions) UnmarshalVT(dAtA []byte) error
- type VStreamRequest
- func (m *VStreamRequest) CloneMessageVT() proto.Message
- func (m *VStreamRequest) CloneVT() *VStreamRequest
- func (*VStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *VStreamRequest) GetFilter() *Filter
- func (x *VStreamRequest) GetImmediateCallerId() *query.VTGateCallerID
- func (x *VStreamRequest) GetOptions() *VStreamOptions
- func (x *VStreamRequest) GetPosition() string
- func (x *VStreamRequest) GetTableLastPKs() []*TableLastPK
- func (x *VStreamRequest) GetTarget() *query.Target
- func (m *VStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamRequest) MarshalVT() (dAtA []byte, err error)
- func (*VStreamRequest) ProtoMessage()
- func (x *VStreamRequest) ProtoReflect() protoreflect.Message
- func (x *VStreamRequest) Reset()
- func (m *VStreamRequest) SizeVT() (n int)
- func (x *VStreamRequest) String() string
- func (m *VStreamRequest) UnmarshalVT(dAtA []byte) error
- type VStreamResponse
- func (m *VStreamResponse) CloneMessageVT() proto.Message
- func (m *VStreamResponse) CloneVT() *VStreamResponse
- func (*VStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamResponse) GetEvents() []*VEvent
- func (m *VStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamResponse) MarshalVT() (dAtA []byte, err error)
- func (*VStreamResponse) ProtoMessage()
- func (x *VStreamResponse) ProtoReflect() protoreflect.Message
- func (x *VStreamResponse) Reset()
- func (m *VStreamResponse) SizeVT() (n int)
- func (x *VStreamResponse) String() string
- func (m *VStreamResponse) UnmarshalVT(dAtA []byte) error
- type VStreamResultsRequest
- func (m *VStreamResultsRequest) CloneMessageVT() proto.Message
- func (m *VStreamResultsRequest) CloneVT() *VStreamResultsRequest
- func (*VStreamResultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamResultsRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *VStreamResultsRequest) GetImmediateCallerId() *query.VTGateCallerID
- func (x *VStreamResultsRequest) GetQuery() string
- func (x *VStreamResultsRequest) GetTarget() *query.Target
- func (m *VStreamResultsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamResultsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamResultsRequest) MarshalVT() (dAtA []byte, err error)
- func (*VStreamResultsRequest) ProtoMessage()
- func (x *VStreamResultsRequest) ProtoReflect() protoreflect.Message
- func (x *VStreamResultsRequest) Reset()
- func (m *VStreamResultsRequest) SizeVT() (n int)
- func (x *VStreamResultsRequest) String() string
- func (m *VStreamResultsRequest) UnmarshalVT(dAtA []byte) error
- type VStreamResultsResponse
- func (m *VStreamResultsResponse) CloneMessageVT() proto.Message
- func (m *VStreamResultsResponse) CloneVT() *VStreamResultsResponse
- func (*VStreamResultsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamResultsResponse) GetFields() []*query.Field
- func (x *VStreamResultsResponse) GetGtid() string
- func (x *VStreamResultsResponse) GetRows() []*query.Row
- func (m *VStreamResultsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamResultsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamResultsResponse) MarshalVT() (dAtA []byte, err error)
- func (*VStreamResultsResponse) ProtoMessage()
- func (x *VStreamResultsResponse) ProtoReflect() protoreflect.Message
- func (x *VStreamResultsResponse) Reset()
- func (m *VStreamResultsResponse) SizeVT() (n int)
- func (x *VStreamResultsResponse) String() string
- func (m *VStreamResultsResponse) UnmarshalVT(dAtA []byte) error
- type VStreamRowsRequest
- func (m *VStreamRowsRequest) CloneMessageVT() proto.Message
- func (m *VStreamRowsRequest) CloneVT() *VStreamRowsRequest
- func (*VStreamRowsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamRowsRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *VStreamRowsRequest) GetImmediateCallerId() *query.VTGateCallerID
- func (x *VStreamRowsRequest) GetLastpk() *query.QueryResult
- func (x *VStreamRowsRequest) GetOptions() *VStreamOptions
- func (x *VStreamRowsRequest) GetQuery() string
- func (x *VStreamRowsRequest) GetTarget() *query.Target
- func (m *VStreamRowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamRowsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamRowsRequest) MarshalVT() (dAtA []byte, err error)
- func (*VStreamRowsRequest) ProtoMessage()
- func (x *VStreamRowsRequest) ProtoReflect() protoreflect.Message
- func (x *VStreamRowsRequest) Reset()
- func (m *VStreamRowsRequest) SizeVT() (n int)
- func (x *VStreamRowsRequest) String() string
- func (m *VStreamRowsRequest) UnmarshalVT(dAtA []byte) error
- type VStreamRowsResponse
- func (m *VStreamRowsResponse) CloneMessageVT() proto.Message
- func (m *VStreamRowsResponse) CloneVT() *VStreamRowsResponse
- func (*VStreamRowsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamRowsResponse) GetFields() []*query.Field
- func (x *VStreamRowsResponse) GetGtid() string
- func (x *VStreamRowsResponse) GetHeartbeat() bool
- func (x *VStreamRowsResponse) GetLastpk() *query.Row
- func (x *VStreamRowsResponse) GetPkfields() []*query.Field
- func (x *VStreamRowsResponse) GetRows() []*query.Row
- func (x *VStreamRowsResponse) GetThrottled() bool
- func (x *VStreamRowsResponse) GetThrottledReason() string
- func (m *VStreamRowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamRowsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamRowsResponse) MarshalVT() (dAtA []byte, err error)
- func (*VStreamRowsResponse) ProtoMessage()
- func (x *VStreamRowsResponse) ProtoReflect() protoreflect.Message
- func (x *VStreamRowsResponse) Reset()
- func (m *VStreamRowsResponse) ResetVT()
- func (m *VStreamRowsResponse) ReturnToVTPool()
- func (m *VStreamRowsResponse) SizeVT() (n int)
- func (x *VStreamRowsResponse) String() string
- func (m *VStreamRowsResponse) UnmarshalVT(dAtA []byte) error
- type VStreamTablesRequest
- func (m *VStreamTablesRequest) CloneMessageVT() proto.Message
- func (m *VStreamTablesRequest) CloneVT() *VStreamTablesRequest
- func (*VStreamTablesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamTablesRequest) GetEffectiveCallerId() *vtrpc.CallerID
- func (x *VStreamTablesRequest) GetImmediateCallerId() *query.VTGateCallerID
- func (x *VStreamTablesRequest) GetOptions() *VStreamOptions
- func (x *VStreamTablesRequest) GetTarget() *query.Target
- func (m *VStreamTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamTablesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamTablesRequest) MarshalVT() (dAtA []byte, err error)
- func (*VStreamTablesRequest) ProtoMessage()
- func (x *VStreamTablesRequest) ProtoReflect() protoreflect.Message
- func (x *VStreamTablesRequest) Reset()
- func (m *VStreamTablesRequest) SizeVT() (n int)
- func (x *VStreamTablesRequest) String() string
- func (m *VStreamTablesRequest) UnmarshalVT(dAtA []byte) error
- type VStreamTablesResponse
- func (m *VStreamTablesResponse) CloneMessageVT() proto.Message
- func (m *VStreamTablesResponse) CloneVT() *VStreamTablesResponse
- func (*VStreamTablesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VStreamTablesResponse) GetFields() []*query.Field
- func (x *VStreamTablesResponse) GetGtid() string
- func (x *VStreamTablesResponse) GetLastpk() *query.Row
- func (x *VStreamTablesResponse) GetPkfields() []*query.Field
- func (x *VStreamTablesResponse) GetRows() []*query.Row
- func (x *VStreamTablesResponse) GetTableName() string
- func (m *VStreamTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *VStreamTablesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *VStreamTablesResponse) MarshalVT() (dAtA []byte, err error)
- func (*VStreamTablesResponse) ProtoMessage()
- func (x *VStreamTablesResponse) ProtoReflect() protoreflect.Message
- func (x *VStreamTablesResponse) Reset()
- func (m *VStreamTablesResponse) ResetVT()
- func (m *VStreamTablesResponse) ReturnToVTPool()
- func (m *VStreamTablesResponse) SizeVT() (n int)
- func (x *VStreamTablesResponse) String() string
- func (m *VStreamTablesResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( OnDDLAction_name = map[int32]string{ 0: "IGNORE", 1: "STOP", 2: "EXEC", 3: "EXEC_IGNORE", } OnDDLAction_value = map[string]int32{ "IGNORE": 0, "STOP": 1, "EXEC": 2, "EXEC_IGNORE": 3, } )
Enum value maps for OnDDLAction.
var ( VReplicationWorkflowType_name = map[int32]string{ 0: "Materialize", 1: "MoveTables", 2: "CreateLookupIndex", 3: "Migrate", 4: "Reshard", 5: "OnlineDDL", } VReplicationWorkflowType_value = map[string]int32{ "Materialize": 0, "MoveTables": 1, "CreateLookupIndex": 2, "Migrate": 3, "Reshard": 4, "OnlineDDL": 5, } )
Enum value maps for VReplicationWorkflowType.
var ( VReplicationWorkflowSubType_name = map[int32]string{ 0: "None", 1: "Partial", 2: "AtomicCopy", } VReplicationWorkflowSubType_value = map[string]int32{ "None": 0, "Partial": 1, "AtomicCopy": 2, } )
Enum value maps for VReplicationWorkflowSubType.
var ( VReplicationWorkflowState_name = map[int32]string{ 0: "Unknown", 1: "Init", 2: "Stopped", 3: "Copying", 4: "Running", 5: "Error", 6: "Lagging", } VReplicationWorkflowState_value = map[string]int32{ "Unknown": 0, "Init": 1, "Stopped": 2, "Copying": 3, "Running": 4, "Error": 5, "Lagging": 6, } )
Enum value maps for VReplicationWorkflowState.
var ( VEventType_name = map[int32]string{ 0: "UNKNOWN", 1: "GTID", 2: "BEGIN", 3: "COMMIT", 4: "ROLLBACK", 5: "DDL", 6: "INSERT", 7: "REPLACE", 8: "UPDATE", 9: "DELETE", 10: "SET", 11: "OTHER", 12: "ROW", 13: "FIELD", 14: "HEARTBEAT", 15: "VGTID", 16: "JOURNAL", 17: "VERSION", 18: "LASTPK", 19: "SAVEPOINT", 20: "COPY_COMPLETED", } VEventType_value = map[string]int32{ "UNKNOWN": 0, "GTID": 1, "BEGIN": 2, "COMMIT": 3, "ROLLBACK": 4, "DDL": 5, "INSERT": 6, "REPLACE": 7, "UPDATE": 8, "DELETE": 9, "SET": 10, "OTHER": 11, "ROW": 12, "FIELD": 13, "HEARTBEAT": 14, "VGTID": 15, "JOURNAL": 16, "VERSION": 17, "LASTPK": 18, "SAVEPOINT": 19, "COPY_COMPLETED": 20, } )
Enum value maps for VEventType.
var ( MigrationType_name = map[int32]string{ 0: "TABLES", 1: "SHARDS", } MigrationType_value = map[string]int32{ "TABLES": 0, "SHARDS": 1, } )
Enum value maps for MigrationType.
var ( BinlogTransaction_Statement_Category_name = map[int32]string{ 0: "BL_UNRECOGNIZED", 1: "BL_BEGIN", 2: "BL_COMMIT", 3: "BL_ROLLBACK", 4: "BL_DML_DEPRECATED", 5: "BL_DDL", 6: "BL_SET", 7: "BL_INSERT", 8: "BL_UPDATE", 9: "BL_DELETE", } BinlogTransaction_Statement_Category_value = map[string]int32{ "BL_UNRECOGNIZED": 0, "BL_BEGIN": 1, "BL_COMMIT": 2, "BL_ROLLBACK": 3, "BL_DML_DEPRECATED": 4, "BL_DDL": 5, "BL_SET": 6, "BL_INSERT": 7, "BL_UPDATE": 8, "BL_DELETE": 9, } )
Enum value maps for BinlogTransaction_Statement_Category.
var ( Filter_FieldEventMode_name = map[int32]string{ 0: "ERR_ON_MISMATCH", 1: "BEST_EFFORT", } Filter_FieldEventMode_value = map[string]int32{ "ERR_ON_MISMATCH": 0, "BEST_EFFORT": 1, } )
Enum value maps for Filter_FieldEventMode.
var File_binlogdata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BinlogSource ¶
type BinlogSource struct { // the source keyspace Keyspace string `protobuf:"bytes,1,opt,name=keyspace,proto3" json:"keyspace,omitempty"` // the source shard Shard string `protobuf:"bytes,2,opt,name=shard,proto3" json:"shard,omitempty"` // the source tablet type TabletType topodata.TabletType `protobuf:"varint,3,opt,name=tablet_type,json=tabletType,proto3,enum=topodata.TabletType" json:"tablet_type,omitempty"` // KeyRange is set if the request is for a keyrange KeyRange *topodata.KeyRange `protobuf:"bytes,4,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // Tables is set if the request is for a list of tables Tables []string `protobuf:"bytes,5,rep,name=tables,proto3" json:"tables,omitempty"` // Filter is set if we're using the generalized representation // for the filter. Filter *Filter `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` // OnDdl specifies the action to be taken when a DDL is encountered. OnDdl OnDDLAction `protobuf:"varint,7,opt,name=on_ddl,json=onDdl,proto3,enum=binlogdata.OnDDLAction" json:"on_ddl,omitempty"` // Source is an external mysql. This attribute should be set to the username // to use in the connection ExternalMysql string `protobuf:"bytes,8,opt,name=external_mysql,json=externalMysql,proto3" json:"external_mysql,omitempty"` // StopAfterCopy specifies if vreplication should be stopped // after copying is done. StopAfterCopy bool `protobuf:"varint,9,opt,name=stop_after_copy,json=stopAfterCopy,proto3" json:"stop_after_copy,omitempty"` // ExternalCluster is the name of the mounted cluster which has the source keyspace/db for this workflow // it is of the type <cluster_type.cluster_name> ExternalCluster string `protobuf:"bytes,10,opt,name=external_cluster,json=externalCluster,proto3" json:"external_cluster,omitempty"` // SourceTimeZone is the time zone in which datetimes on the source were stored, provided as an option in MoveTables SourceTimeZone string `protobuf:"bytes,11,opt,name=source_time_zone,json=sourceTimeZone,proto3" json:"source_time_zone,omitempty"` // TargetTimeZone is not currently specifiable by the user, defaults to UTC for the forward workflows // and to the SourceTimeZone in reverse workflows TargetTimeZone string `protobuf:"bytes,12,opt,name=target_time_zone,json=targetTimeZone,proto3" json:"target_time_zone,omitempty"` // contains filtered or unexported fields }
BinlogSource specifies the source and filter parameters for Filtered Replication. KeyRange and Tables are legacy. Filter is the new way to specify the filtering rules.
func (*BinlogSource) CloneMessageVT ¶ added in v0.18.0
func (m *BinlogSource) CloneMessageVT() proto.Message
func (*BinlogSource) CloneVT ¶ added in v0.18.0
func (m *BinlogSource) CloneVT() *BinlogSource
func (*BinlogSource) Descriptor
deprecated
func (*BinlogSource) Descriptor() ([]byte, []int)
Deprecated: Use BinlogSource.ProtoReflect.Descriptor instead.
func (*BinlogSource) GetExternalCluster ¶ added in v0.10.0
func (x *BinlogSource) GetExternalCluster() string
func (*BinlogSource) GetExternalMysql ¶
func (x *BinlogSource) GetExternalMysql() string
func (*BinlogSource) GetFilter ¶
func (x *BinlogSource) GetFilter() *Filter
func (*BinlogSource) GetKeyRange ¶
func (x *BinlogSource) GetKeyRange() *topodata.KeyRange
func (*BinlogSource) GetKeyspace ¶
func (x *BinlogSource) GetKeyspace() string
func (*BinlogSource) GetOnDdl ¶
func (x *BinlogSource) GetOnDdl() OnDDLAction
func (*BinlogSource) GetShard ¶
func (x *BinlogSource) GetShard() string
func (*BinlogSource) GetSourceTimeZone ¶ added in v0.14.0
func (x *BinlogSource) GetSourceTimeZone() string
func (*BinlogSource) GetStopAfterCopy ¶
func (x *BinlogSource) GetStopAfterCopy() bool
func (*BinlogSource) GetTables ¶
func (x *BinlogSource) GetTables() []string
func (*BinlogSource) GetTabletType ¶
func (x *BinlogSource) GetTabletType() topodata.TabletType
func (*BinlogSource) GetTargetTimeZone ¶ added in v0.14.0
func (x *BinlogSource) GetTargetTimeZone() string
func (*BinlogSource) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BinlogSource) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BinlogSource) MarshalToVT ¶ added in v0.11.0
func (m *BinlogSource) MarshalToVT(dAtA []byte) (int, error)
func (*BinlogSource) MarshalVT ¶ added in v0.11.0
func (m *BinlogSource) MarshalVT() (dAtA []byte, err error)
func (*BinlogSource) ProtoMessage ¶
func (*BinlogSource) ProtoMessage()
func (*BinlogSource) ProtoReflect ¶ added in v0.11.0
func (x *BinlogSource) ProtoReflect() protoreflect.Message
func (*BinlogSource) Reset ¶
func (x *BinlogSource) Reset()
func (*BinlogSource) SizeVT ¶ added in v0.11.0
func (m *BinlogSource) SizeVT() (n int)
func (*BinlogSource) String ¶
func (x *BinlogSource) String() string
func (*BinlogSource) UnmarshalVT ¶ added in v0.11.0
func (m *BinlogSource) UnmarshalVT(dAtA []byte) error
type BinlogTransaction ¶
type BinlogTransaction struct { // the statements in this transaction Statements []*BinlogTransaction_Statement `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"` // The Event Token for this event. EventToken *query.EventToken `protobuf:"bytes,4,opt,name=event_token,json=eventToken,proto3" json:"event_token,omitempty"` // contains filtered or unexported fields }
BinlogTransaction describes a transaction inside the binlogs. It is streamed by vttablet for filtered replication, used during resharding.
func (*BinlogTransaction) CloneMessageVT ¶ added in v0.18.0
func (m *BinlogTransaction) CloneMessageVT() proto.Message
func (*BinlogTransaction) CloneVT ¶ added in v0.18.0
func (m *BinlogTransaction) CloneVT() *BinlogTransaction
func (*BinlogTransaction) Descriptor
deprecated
func (*BinlogTransaction) Descriptor() ([]byte, []int)
Deprecated: Use BinlogTransaction.ProtoReflect.Descriptor instead.
func (*BinlogTransaction) GetEventToken ¶
func (x *BinlogTransaction) GetEventToken() *query.EventToken
func (*BinlogTransaction) GetStatements ¶
func (x *BinlogTransaction) GetStatements() []*BinlogTransaction_Statement
func (*BinlogTransaction) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BinlogTransaction) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BinlogTransaction) MarshalToVT ¶ added in v0.11.0
func (m *BinlogTransaction) MarshalToVT(dAtA []byte) (int, error)
func (*BinlogTransaction) MarshalVT ¶ added in v0.11.0
func (m *BinlogTransaction) MarshalVT() (dAtA []byte, err error)
func (*BinlogTransaction) ProtoMessage ¶
func (*BinlogTransaction) ProtoMessage()
func (*BinlogTransaction) ProtoReflect ¶ added in v0.11.0
func (x *BinlogTransaction) ProtoReflect() protoreflect.Message
func (*BinlogTransaction) Reset ¶
func (x *BinlogTransaction) Reset()
func (*BinlogTransaction) SizeVT ¶ added in v0.11.0
func (m *BinlogTransaction) SizeVT() (n int)
func (*BinlogTransaction) String ¶
func (x *BinlogTransaction) String() string
func (*BinlogTransaction) UnmarshalVT ¶ added in v0.11.0
func (m *BinlogTransaction) UnmarshalVT(dAtA []byte) error
type BinlogTransaction_Statement ¶
type BinlogTransaction_Statement struct { // what type of statement is this? Category BinlogTransaction_Statement_Category `protobuf:"varint,1,opt,name=category,proto3,enum=binlogdata.BinlogTransaction_Statement_Category" json:"category,omitempty"` // charset of this statement, if different from pre-negotiated default. Charset *Charset `protobuf:"bytes,2,opt,name=charset,proto3" json:"charset,omitempty"` // the sql Sql []byte `protobuf:"bytes,3,opt,name=sql,proto3" json:"sql,omitempty"` // contains filtered or unexported fields }
func (*BinlogTransaction_Statement) CloneMessageVT ¶ added in v0.18.0
func (m *BinlogTransaction_Statement) CloneMessageVT() proto.Message
func (*BinlogTransaction_Statement) CloneVT ¶ added in v0.18.0
func (m *BinlogTransaction_Statement) CloneVT() *BinlogTransaction_Statement
func (*BinlogTransaction_Statement) Descriptor
deprecated
func (*BinlogTransaction_Statement) Descriptor() ([]byte, []int)
Deprecated: Use BinlogTransaction_Statement.ProtoReflect.Descriptor instead.
func (*BinlogTransaction_Statement) GetCategory ¶
func (x *BinlogTransaction_Statement) GetCategory() BinlogTransaction_Statement_Category
func (*BinlogTransaction_Statement) GetCharset ¶
func (x *BinlogTransaction_Statement) GetCharset() *Charset
func (*BinlogTransaction_Statement) GetSql ¶
func (x *BinlogTransaction_Statement) GetSql() []byte
func (*BinlogTransaction_Statement) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *BinlogTransaction_Statement) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BinlogTransaction_Statement) MarshalToVT ¶ added in v0.11.0
func (m *BinlogTransaction_Statement) MarshalToVT(dAtA []byte) (int, error)
func (*BinlogTransaction_Statement) MarshalVT ¶ added in v0.11.0
func (m *BinlogTransaction_Statement) MarshalVT() (dAtA []byte, err error)
func (*BinlogTransaction_Statement) ProtoMessage ¶
func (*BinlogTransaction_Statement) ProtoMessage()
func (*BinlogTransaction_Statement) ProtoReflect ¶ added in v0.11.0
func (x *BinlogTransaction_Statement) ProtoReflect() protoreflect.Message
func (*BinlogTransaction_Statement) Reset ¶
func (x *BinlogTransaction_Statement) Reset()
func (*BinlogTransaction_Statement) SizeVT ¶ added in v0.11.0
func (m *BinlogTransaction_Statement) SizeVT() (n int)
func (*BinlogTransaction_Statement) String ¶
func (x *BinlogTransaction_Statement) String() string
func (*BinlogTransaction_Statement) UnmarshalVT ¶ added in v0.11.0
func (m *BinlogTransaction_Statement) UnmarshalVT(dAtA []byte) error
type BinlogTransaction_Statement_Category ¶
type BinlogTransaction_Statement_Category int32
const ( BinlogTransaction_Statement_BL_UNRECOGNIZED BinlogTransaction_Statement_Category = 0 BinlogTransaction_Statement_BL_BEGIN BinlogTransaction_Statement_Category = 1 BinlogTransaction_Statement_BL_COMMIT BinlogTransaction_Statement_Category = 2 BinlogTransaction_Statement_BL_ROLLBACK BinlogTransaction_Statement_Category = 3 // BL_DML is deprecated. BinlogTransaction_Statement_BL_DML_DEPRECATED BinlogTransaction_Statement_Category = 4 BinlogTransaction_Statement_BL_DDL BinlogTransaction_Statement_Category = 5 BinlogTransaction_Statement_BL_SET BinlogTransaction_Statement_Category = 6 BinlogTransaction_Statement_BL_INSERT BinlogTransaction_Statement_Category = 7 BinlogTransaction_Statement_BL_UPDATE BinlogTransaction_Statement_Category = 8 BinlogTransaction_Statement_BL_DELETE BinlogTransaction_Statement_Category = 9 )
func (BinlogTransaction_Statement_Category) Descriptor ¶ added in v0.11.0
func (BinlogTransaction_Statement_Category) Descriptor() protoreflect.EnumDescriptor
func (BinlogTransaction_Statement_Category) Enum ¶ added in v0.11.0
func (x BinlogTransaction_Statement_Category) Enum() *BinlogTransaction_Statement_Category
func (BinlogTransaction_Statement_Category) EnumDescriptor
deprecated
func (BinlogTransaction_Statement_Category) EnumDescriptor() ([]byte, []int)
Deprecated: Use BinlogTransaction_Statement_Category.Descriptor instead.
func (BinlogTransaction_Statement_Category) Number ¶ added in v0.11.0
func (x BinlogTransaction_Statement_Category) Number() protoreflect.EnumNumber
func (BinlogTransaction_Statement_Category) String ¶
func (x BinlogTransaction_Statement_Category) String() string
func (BinlogTransaction_Statement_Category) Type ¶ added in v0.11.0
func (BinlogTransaction_Statement_Category) Type() protoreflect.EnumType
type Charset ¶
type Charset struct { // @@session.character_set_client Client int32 `protobuf:"varint,1,opt,name=client,proto3" json:"client,omitempty"` // @@session.collation_connection Conn int32 `protobuf:"varint,2,opt,name=conn,proto3" json:"conn,omitempty"` // @@session.collation_server Server int32 `protobuf:"varint,3,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
Charset is the per-statement charset info from a QUERY_EVENT binlog entry.
func (*Charset) CloneMessageVT ¶ added in v0.18.0
func (*Charset) Descriptor
deprecated
func (*Charset) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Charset) MarshalToVT ¶ added in v0.11.0
func (*Charset) ProtoMessage ¶
func (*Charset) ProtoMessage()
func (*Charset) ProtoReflect ¶ added in v0.11.0
func (x *Charset) ProtoReflect() protoreflect.Message
func (*Charset) UnmarshalVT ¶ added in v0.11.0
type CharsetConversion ¶ added in v0.11.0
type CharsetConversion struct { // FromCharset is the charset name from which we convert the text (e.g. latin1) FromCharset string `protobuf:"bytes,1,opt,name=from_charset,json=fromCharset,proto3" json:"from_charset,omitempty"` // ToCharset is the charset name to which we convert the text (e.g. utf8mb4) ToCharset string `protobuf:"bytes,2,opt,name=to_charset,json=toCharset,proto3" json:"to_charset,omitempty"` // contains filtered or unexported fields }
CharsetConversion represent a conversion of text from one charset to another
func (*CharsetConversion) CloneMessageVT ¶ added in v0.18.0
func (m *CharsetConversion) CloneMessageVT() proto.Message
func (*CharsetConversion) CloneVT ¶ added in v0.18.0
func (m *CharsetConversion) CloneVT() *CharsetConversion
func (*CharsetConversion) Descriptor
deprecated
added in
v0.11.0
func (*CharsetConversion) Descriptor() ([]byte, []int)
Deprecated: Use CharsetConversion.ProtoReflect.Descriptor instead.
func (*CharsetConversion) GetFromCharset ¶ added in v0.11.0
func (x *CharsetConversion) GetFromCharset() string
func (*CharsetConversion) GetToCharset ¶ added in v0.11.0
func (x *CharsetConversion) GetToCharset() string
func (*CharsetConversion) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *CharsetConversion) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CharsetConversion) MarshalToVT ¶ added in v0.11.0
func (m *CharsetConversion) MarshalToVT(dAtA []byte) (int, error)
func (*CharsetConversion) MarshalVT ¶ added in v0.11.0
func (m *CharsetConversion) MarshalVT() (dAtA []byte, err error)
func (*CharsetConversion) ProtoMessage ¶ added in v0.11.0
func (*CharsetConversion) ProtoMessage()
func (*CharsetConversion) ProtoReflect ¶ added in v0.11.0
func (x *CharsetConversion) ProtoReflect() protoreflect.Message
func (*CharsetConversion) Reset ¶ added in v0.11.0
func (x *CharsetConversion) Reset()
func (*CharsetConversion) SizeVT ¶ added in v0.11.0
func (m *CharsetConversion) SizeVT() (n int)
func (*CharsetConversion) String ¶ added in v0.11.0
func (x *CharsetConversion) String() string
func (*CharsetConversion) UnmarshalVT ¶ added in v0.11.0
func (m *CharsetConversion) UnmarshalVT(dAtA []byte) error
type FieldEvent ¶
type FieldEvent struct { TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` Fields []*query.Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` // Are ENUM and SET field values already mapped to strings in the ROW // events? This allows us to transition VTGate VStream consumers from // the pre v20 behavior of having to do this mapping themselves to the // v20+ behavior of not having to do this anymore and to expect string // values directly. // NOTE: because this is the use case, this is ONLY ever set today in // vstreams managed by the vstreamManager. EnumSetStringValues bool `protobuf:"varint,25,opt,name=enum_set_string_values,json=enumSetStringValues,proto3" json:"enum_set_string_values,omitempty"` IsInternalTable bool `protobuf:"varint,26,opt,name=is_internal_table,json=isInternalTable,proto3" json:"is_internal_table,omitempty"` // set for sidecardb tables // contains filtered or unexported fields }
FieldEvent represents the field info for a table.
func (*FieldEvent) CloneMessageVT ¶ added in v0.18.0
func (m *FieldEvent) CloneMessageVT() proto.Message
func (*FieldEvent) CloneVT ¶ added in v0.18.0
func (m *FieldEvent) CloneVT() *FieldEvent
func (*FieldEvent) Descriptor
deprecated
func (*FieldEvent) Descriptor() ([]byte, []int)
Deprecated: Use FieldEvent.ProtoReflect.Descriptor instead.
func (*FieldEvent) GetEnumSetStringValues ¶ added in v0.20.0
func (x *FieldEvent) GetEnumSetStringValues() bool
func (*FieldEvent) GetFields ¶
func (x *FieldEvent) GetFields() []*query.Field
func (*FieldEvent) GetIsInternalTable ¶ added in v0.21.0
func (x *FieldEvent) GetIsInternalTable() bool
func (*FieldEvent) GetKeyspace ¶ added in v0.12.0
func (x *FieldEvent) GetKeyspace() string
func (*FieldEvent) GetShard ¶ added in v0.12.0
func (x *FieldEvent) GetShard() string
func (*FieldEvent) GetTableName ¶
func (x *FieldEvent) GetTableName() string
func (*FieldEvent) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *FieldEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FieldEvent) MarshalToVT ¶ added in v0.11.0
func (m *FieldEvent) MarshalToVT(dAtA []byte) (int, error)
func (*FieldEvent) MarshalVT ¶ added in v0.11.0
func (m *FieldEvent) MarshalVT() (dAtA []byte, err error)
func (*FieldEvent) ProtoMessage ¶
func (*FieldEvent) ProtoMessage()
func (*FieldEvent) ProtoReflect ¶ added in v0.11.0
func (x *FieldEvent) ProtoReflect() protoreflect.Message
func (*FieldEvent) Reset ¶
func (x *FieldEvent) Reset()
func (*FieldEvent) SizeVT ¶ added in v0.11.0
func (m *FieldEvent) SizeVT() (n int)
func (*FieldEvent) String ¶
func (x *FieldEvent) String() string
func (*FieldEvent) UnmarshalVT ¶ added in v0.11.0
func (m *FieldEvent) UnmarshalVT(dAtA []byte) error
type Filter ¶
type Filter struct { Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // FieldEventMode specifies the behavior if there is a mismatch // between the current schema and the fields in the binlog. This // can happen if the binlog position is before a DDL that would // cause the fields to change. If vstreamer detects such // an inconsistency, the behavior depends on the FieldEventMode. // If the value is ERR_ON_MISMATCH (default), then it errors out. // If it's BEST_EFFORT, it sends a field event with fake column // names as "@1", "@2", etc. FieldEventMode Filter_FieldEventMode `` /* 144-byte string literal not displayed */ WorkflowType int64 `protobuf:"varint,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` WorkflowName string `protobuf:"bytes,4,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty"` // contains filtered or unexported fields }
Filter represents a list of ordered rules. The first match wins.
func (*Filter) CloneMessageVT ¶ added in v0.18.0
func (*Filter) Descriptor
deprecated
func (*Filter) GetFieldEventMode ¶
func (x *Filter) GetFieldEventMode() Filter_FieldEventMode
func (*Filter) GetWorkflowName ¶ added in v0.14.0
func (*Filter) GetWorkflowType ¶ added in v0.14.0
func (*Filter) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Filter) MarshalToVT ¶ added in v0.11.0
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶ added in v0.11.0
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) UnmarshalVT ¶ added in v0.11.0
type Filter_FieldEventMode ¶
type Filter_FieldEventMode int32
const ( Filter_ERR_ON_MISMATCH Filter_FieldEventMode = 0 Filter_BEST_EFFORT Filter_FieldEventMode = 1 )
func (Filter_FieldEventMode) Descriptor ¶ added in v0.11.0
func (Filter_FieldEventMode) Descriptor() protoreflect.EnumDescriptor
func (Filter_FieldEventMode) Enum ¶ added in v0.11.0
func (x Filter_FieldEventMode) Enum() *Filter_FieldEventMode
func (Filter_FieldEventMode) EnumDescriptor
deprecated
func (Filter_FieldEventMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Filter_FieldEventMode.Descriptor instead.
func (Filter_FieldEventMode) Number ¶ added in v0.11.0
func (x Filter_FieldEventMode) Number() protoreflect.EnumNumber
func (Filter_FieldEventMode) String ¶
func (x Filter_FieldEventMode) String() string
func (Filter_FieldEventMode) Type ¶ added in v0.11.0
func (Filter_FieldEventMode) Type() protoreflect.EnumType
type Journal ¶
type Journal struct { // Id represents a unique journal id. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` MigrationType MigrationType `` /* 131-byte string literal not displayed */ // Tables is set if the journal represents a TABLES migration. Tables []string `protobuf:"bytes,3,rep,name=tables,proto3" json:"tables,omitempty"` // LocalPosition is the source position at which the migration happened. LocalPosition string `protobuf:"bytes,4,opt,name=local_position,json=localPosition,proto3" json:"local_position,omitempty"` // ShardGtids is the list of targets to which the migration took place. ShardGtids []*ShardGtid `protobuf:"bytes,5,rep,name=shard_gtids,json=shardGtids,proto3" json:"shard_gtids,omitempty"` // Participants is the list of source participants for a migration. // Every participant is expected to have an identical journal entry. // While streaming, the client must wait for the journal entry to // be received from all pariticipants, and then replace them with new // streams specified by ShardGtid. // If a stream does not have all participants, a consistent migration // is not possible. Participants []*KeyspaceShard `protobuf:"bytes,6,rep,name=participants,proto3" json:"participants,omitempty"` // SourceWorkflows is the list of workflows in the source shard that // were migrated to the target. If a migration fails after a Journal // is committed, this information is used to start the target streams // that were created prior to the creation of the journal. SourceWorkflows []string `protobuf:"bytes,7,rep,name=source_workflows,json=sourceWorkflows,proto3" json:"source_workflows,omitempty"` // contains filtered or unexported fields }
Journal contains the metadata for a journal event. The commit of a journal event indicates the point of no return for a migration.
func (*Journal) CloneMessageVT ¶ added in v0.18.0
func (*Journal) Descriptor
deprecated
func (*Journal) GetLocalPosition ¶
func (*Journal) GetMigrationType ¶
func (x *Journal) GetMigrationType() MigrationType
func (*Journal) GetParticipants ¶
func (x *Journal) GetParticipants() []*KeyspaceShard
func (*Journal) GetShardGtids ¶
func (*Journal) GetSourceWorkflows ¶
func (*Journal) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Journal) MarshalToVT ¶ added in v0.11.0
func (*Journal) ProtoMessage ¶
func (*Journal) ProtoMessage()
func (*Journal) ProtoReflect ¶ added in v0.11.0
func (x *Journal) ProtoReflect() protoreflect.Message
func (*Journal) UnmarshalVT ¶ added in v0.11.0
type KeyspaceShard ¶
type KeyspaceShard 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"` // contains filtered or unexported fields }
KeyspaceShard represents a keyspace and shard.
func (*KeyspaceShard) CloneMessageVT ¶ added in v0.18.0
func (m *KeyspaceShard) CloneMessageVT() proto.Message
func (*KeyspaceShard) CloneVT ¶ added in v0.18.0
func (m *KeyspaceShard) CloneVT() *KeyspaceShard
func (*KeyspaceShard) Descriptor
deprecated
func (*KeyspaceShard) Descriptor() ([]byte, []int)
Deprecated: Use KeyspaceShard.ProtoReflect.Descriptor instead.
func (*KeyspaceShard) GetKeyspace ¶
func (x *KeyspaceShard) GetKeyspace() string
func (*KeyspaceShard) GetShard ¶
func (x *KeyspaceShard) GetShard() string
func (*KeyspaceShard) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *KeyspaceShard) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*KeyspaceShard) MarshalToVT ¶ added in v0.11.0
func (m *KeyspaceShard) MarshalToVT(dAtA []byte) (int, error)
func (*KeyspaceShard) MarshalVT ¶ added in v0.11.0
func (m *KeyspaceShard) MarshalVT() (dAtA []byte, err error)
func (*KeyspaceShard) ProtoMessage ¶
func (*KeyspaceShard) ProtoMessage()
func (*KeyspaceShard) ProtoReflect ¶ added in v0.11.0
func (x *KeyspaceShard) ProtoReflect() protoreflect.Message
func (*KeyspaceShard) Reset ¶
func (x *KeyspaceShard) Reset()
func (*KeyspaceShard) SizeVT ¶ added in v0.11.0
func (m *KeyspaceShard) SizeVT() (n int)
func (*KeyspaceShard) String ¶
func (x *KeyspaceShard) String() string
func (*KeyspaceShard) UnmarshalVT ¶ added in v0.11.0
func (m *KeyspaceShard) UnmarshalVT(dAtA []byte) error
type LastPKEvent ¶
type LastPKEvent struct { TableLastPK *TableLastPK `protobuf:"bytes,1,opt,name=table_last_p_k,json=tableLastPK,proto3" json:"table_last_p_k,omitempty"` Completed bool `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty"` // contains filtered or unexported fields }
func (*LastPKEvent) CloneMessageVT ¶ added in v0.18.0
func (m *LastPKEvent) CloneMessageVT() proto.Message
func (*LastPKEvent) CloneVT ¶ added in v0.18.0
func (m *LastPKEvent) CloneVT() *LastPKEvent
func (*LastPKEvent) Descriptor
deprecated
func (*LastPKEvent) Descriptor() ([]byte, []int)
Deprecated: Use LastPKEvent.ProtoReflect.Descriptor instead.
func (*LastPKEvent) GetCompleted ¶
func (x *LastPKEvent) GetCompleted() bool
func (*LastPKEvent) GetTableLastPK ¶
func (x *LastPKEvent) GetTableLastPK() *TableLastPK
func (*LastPKEvent) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *LastPKEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LastPKEvent) MarshalToVT ¶ added in v0.11.0
func (m *LastPKEvent) MarshalToVT(dAtA []byte) (int, error)
func (*LastPKEvent) MarshalVT ¶ added in v0.11.0
func (m *LastPKEvent) MarshalVT() (dAtA []byte, err error)
func (*LastPKEvent) ProtoMessage ¶
func (*LastPKEvent) ProtoMessage()
func (*LastPKEvent) ProtoReflect ¶ added in v0.11.0
func (x *LastPKEvent) ProtoReflect() protoreflect.Message
func (*LastPKEvent) Reset ¶
func (x *LastPKEvent) Reset()
func (*LastPKEvent) SizeVT ¶ added in v0.11.0
func (m *LastPKEvent) SizeVT() (n int)
func (*LastPKEvent) String ¶
func (x *LastPKEvent) String() string
func (*LastPKEvent) UnmarshalVT ¶ added in v0.11.0
func (m *LastPKEvent) UnmarshalVT(dAtA []byte) error
type MigrationType ¶
type MigrationType int32
MigrationType specifies the type of migration for the Journal.
const ( MigrationType_TABLES MigrationType = 0 MigrationType_SHARDS MigrationType = 1 )
func (MigrationType) Descriptor ¶ added in v0.11.0
func (MigrationType) Descriptor() protoreflect.EnumDescriptor
func (MigrationType) Enum ¶ added in v0.11.0
func (x MigrationType) Enum() *MigrationType
func (MigrationType) EnumDescriptor
deprecated
func (MigrationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MigrationType.Descriptor instead.
func (MigrationType) Number ¶ added in v0.11.0
func (x MigrationType) Number() protoreflect.EnumNumber
func (MigrationType) String ¶
func (x MigrationType) String() string
func (MigrationType) Type ¶ added in v0.11.0
func (MigrationType) Type() protoreflect.EnumType
type MinimalSchema ¶
type MinimalSchema struct { Tables []*MinimalTable `protobuf:"bytes,1,rep,name=tables,proto3" json:"tables,omitempty"` // contains filtered or unexported fields }
func (*MinimalSchema) CloneMessageVT ¶ added in v0.18.0
func (m *MinimalSchema) CloneMessageVT() proto.Message
func (*MinimalSchema) CloneVT ¶ added in v0.18.0
func (m *MinimalSchema) CloneVT() *MinimalSchema
func (*MinimalSchema) Descriptor
deprecated
func (*MinimalSchema) Descriptor() ([]byte, []int)
Deprecated: Use MinimalSchema.ProtoReflect.Descriptor instead.
func (*MinimalSchema) GetTables ¶
func (x *MinimalSchema) GetTables() []*MinimalTable
func (*MinimalSchema) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *MinimalSchema) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MinimalSchema) MarshalToVT ¶ added in v0.11.0
func (m *MinimalSchema) MarshalToVT(dAtA []byte) (int, error)
func (*MinimalSchema) MarshalVT ¶ added in v0.11.0
func (m *MinimalSchema) MarshalVT() (dAtA []byte, err error)
func (*MinimalSchema) ProtoMessage ¶
func (*MinimalSchema) ProtoMessage()
func (*MinimalSchema) ProtoReflect ¶ added in v0.11.0
func (x *MinimalSchema) ProtoReflect() protoreflect.Message
func (*MinimalSchema) Reset ¶
func (x *MinimalSchema) Reset()
func (*MinimalSchema) SizeVT ¶ added in v0.11.0
func (m *MinimalSchema) SizeVT() (n int)
func (*MinimalSchema) String ¶
func (x *MinimalSchema) String() string
func (*MinimalSchema) UnmarshalVT ¶ added in v0.11.0
func (m *MinimalSchema) UnmarshalVT(dAtA []byte) error
type MinimalTable ¶
type MinimalTable struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Fields []*query.Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` PKColumns []int64 `protobuf:"varint,3,rep,packed,name=p_k_columns,json=pKColumns,proto3" json:"p_k_columns,omitempty"` // This will be PRIMARY when the actual primary key is used and it // will be the name of the Primary Key equivalent if one is used // instead. Otherwise it will be empty. PKIndexName string `protobuf:"bytes,4,opt,name=p_k_index_name,json=pKIndexName,proto3" json:"p_k_index_name,omitempty"` // contains filtered or unexported fields }
func (*MinimalTable) CloneMessageVT ¶ added in v0.18.0
func (m *MinimalTable) CloneMessageVT() proto.Message
func (*MinimalTable) CloneVT ¶ added in v0.18.0
func (m *MinimalTable) CloneVT() *MinimalTable
func (*MinimalTable) Descriptor
deprecated
func (*MinimalTable) Descriptor() ([]byte, []int)
Deprecated: Use MinimalTable.ProtoReflect.Descriptor instead.
func (*MinimalTable) GetFields ¶
func (x *MinimalTable) GetFields() []*query.Field
func (*MinimalTable) GetName ¶
func (x *MinimalTable) GetName() string
func (*MinimalTable) GetPKColumns ¶
func (x *MinimalTable) GetPKColumns() []int64
func (*MinimalTable) GetPKIndexName ¶ added in v0.19.0
func (x *MinimalTable) GetPKIndexName() string
func (*MinimalTable) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *MinimalTable) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MinimalTable) MarshalToVT ¶ added in v0.11.0
func (m *MinimalTable) MarshalToVT(dAtA []byte) (int, error)
func (*MinimalTable) MarshalVT ¶ added in v0.11.0
func (m *MinimalTable) MarshalVT() (dAtA []byte, err error)
func (*MinimalTable) ProtoMessage ¶
func (*MinimalTable) ProtoMessage()
func (*MinimalTable) ProtoReflect ¶ added in v0.11.0
func (x *MinimalTable) ProtoReflect() protoreflect.Message
func (*MinimalTable) Reset ¶
func (x *MinimalTable) Reset()
func (*MinimalTable) SizeVT ¶ added in v0.11.0
func (m *MinimalTable) SizeVT() (n int)
func (*MinimalTable) String ¶
func (x *MinimalTable) String() string
func (*MinimalTable) UnmarshalVT ¶ added in v0.11.0
func (m *MinimalTable) UnmarshalVT(dAtA []byte) error
type OnDDLAction ¶
type OnDDLAction int32
OnDDLAction lists the possible actions for DDLs.
const ( OnDDLAction_IGNORE OnDDLAction = 0 OnDDLAction_STOP OnDDLAction = 1 OnDDLAction_EXEC OnDDLAction = 2 OnDDLAction_EXEC_IGNORE OnDDLAction = 3 )
func (OnDDLAction) Descriptor ¶ added in v0.11.0
func (OnDDLAction) Descriptor() protoreflect.EnumDescriptor
func (OnDDLAction) Enum ¶ added in v0.11.0
func (x OnDDLAction) Enum() *OnDDLAction
func (OnDDLAction) EnumDescriptor
deprecated
func (OnDDLAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use OnDDLAction.Descriptor instead.
func (OnDDLAction) Number ¶ added in v0.11.0
func (x OnDDLAction) Number() protoreflect.EnumNumber
func (OnDDLAction) String ¶
func (x OnDDLAction) String() string
func (OnDDLAction) Type ¶ added in v0.11.0
func (OnDDLAction) Type() protoreflect.EnumType
type RowChange ¶
type RowChange struct { Before *query.Row `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *query.Row `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` // DataColumns is a bitmap of all columns: bit is set if column is present in the after image DataColumns *RowChange_Bitmap `protobuf:"bytes,3,opt,name=data_columns,json=dataColumns,proto3" json:"data_columns,omitempty"` // contains filtered or unexported fields }
RowChange represents one row change. If Before is set and not After, it's a delete. If After is set and not Before, it's an insert. If both are set, it's an update.
func (*RowChange) CloneMessageVT ¶ added in v0.18.0
func (*RowChange) Descriptor
deprecated
func (*RowChange) GetDataColumns ¶ added in v0.17.0
func (x *RowChange) GetDataColumns() *RowChange_Bitmap
func (*RowChange) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*RowChange) MarshalToVT ¶ added in v0.11.0
func (*RowChange) ProtoMessage ¶
func (*RowChange) ProtoMessage()
func (*RowChange) ProtoReflect ¶ added in v0.11.0
func (x *RowChange) ProtoReflect() protoreflect.Message
func (*RowChange) UnmarshalVT ¶ added in v0.11.0
type RowChange_Bitmap ¶ added in v0.17.0
type RowChange_Bitmap struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Cols []byte `protobuf:"bytes,2,opt,name=cols,proto3" json:"cols,omitempty"` // contains filtered or unexported fields }
func (*RowChange_Bitmap) CloneMessageVT ¶ added in v0.18.0
func (m *RowChange_Bitmap) CloneMessageVT() proto.Message
func (*RowChange_Bitmap) CloneVT ¶ added in v0.18.0
func (m *RowChange_Bitmap) CloneVT() *RowChange_Bitmap
func (*RowChange_Bitmap) Descriptor
deprecated
added in
v0.17.0
func (*RowChange_Bitmap) Descriptor() ([]byte, []int)
Deprecated: Use RowChange_Bitmap.ProtoReflect.Descriptor instead.
func (*RowChange_Bitmap) GetCols ¶ added in v0.17.0
func (x *RowChange_Bitmap) GetCols() []byte
func (*RowChange_Bitmap) GetCount ¶ added in v0.17.0
func (x *RowChange_Bitmap) GetCount() int64
func (*RowChange_Bitmap) MarshalToSizedBufferVT ¶ added in v0.17.0
func (m *RowChange_Bitmap) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*RowChange_Bitmap) MarshalToVT ¶ added in v0.17.0
func (m *RowChange_Bitmap) MarshalToVT(dAtA []byte) (int, error)
func (*RowChange_Bitmap) MarshalVT ¶ added in v0.17.0
func (m *RowChange_Bitmap) MarshalVT() (dAtA []byte, err error)
func (*RowChange_Bitmap) ProtoMessage ¶ added in v0.17.0
func (*RowChange_Bitmap) ProtoMessage()
func (*RowChange_Bitmap) ProtoReflect ¶ added in v0.17.0
func (x *RowChange_Bitmap) ProtoReflect() protoreflect.Message
func (*RowChange_Bitmap) Reset ¶ added in v0.17.0
func (x *RowChange_Bitmap) Reset()
func (*RowChange_Bitmap) SizeVT ¶ added in v0.17.0
func (m *RowChange_Bitmap) SizeVT() (n int)
func (*RowChange_Bitmap) String ¶ added in v0.17.0
func (x *RowChange_Bitmap) String() string
func (*RowChange_Bitmap) UnmarshalVT ¶ added in v0.17.0
func (m *RowChange_Bitmap) UnmarshalVT(dAtA []byte) error
type RowEvent ¶
type RowEvent struct { TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` RowChanges []*RowChange `protobuf:"bytes,2,rep,name=row_changes,json=rowChanges,proto3" json:"row_changes,omitempty"` Keyspace string `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"` Shard string `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"` Flags uint32 `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"` // https://dev.mysql.com/doc/dev/mysql-server/latest/classbinary__log_1_1Rows__event.html IsInternalTable bool `protobuf:"varint,6,opt,name=is_internal_table,json=isInternalTable,proto3" json:"is_internal_table,omitempty"` // set for sidecardb tables // contains filtered or unexported fields }
RowEvent represent row events for one table.
func (*RowEvent) CloneMessageVT ¶ added in v0.18.0
func (*RowEvent) Descriptor
deprecated
func (*RowEvent) GetIsInternalTable ¶ added in v0.21.0
func (*RowEvent) GetKeyspace ¶ added in v0.12.0
func (*RowEvent) GetRowChanges ¶
func (*RowEvent) GetTableName ¶
func (*RowEvent) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*RowEvent) MarshalToVT ¶ added in v0.11.0
func (*RowEvent) ProtoMessage ¶
func (*RowEvent) ProtoMessage()
func (*RowEvent) ProtoReflect ¶ added in v0.11.0
func (x *RowEvent) ProtoReflect() protoreflect.Message
func (*RowEvent) UnmarshalVT ¶ added in v0.11.0
type Rule ¶
type Rule struct { // Match can be a table name or a regular expression. // If it starts with a '/', it's a regular expression. // For example, "t" matches a table named "t", whereas // "/t.*" matches all tables that begin with 't'. Match string `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"` // Filter: If empty, all columns and rows of the matching tables // are sent. If it's a keyrange like "-80", only rows that // match the keyrange are sent. // If Match is a table name instead of a regular expression, // the Filter can also be a select expression like this: // "select * from t", same as an empty Filter, or // "select * from t where in_keyrange('-80')", same as "-80", or // "select col1, col2 from t where in_keyrange(col1, 'hash', '-80'), or // What is allowed in a select expression depends on whether // it's a vstreamer or vreplication request. For more details, // please refer to the specific package documentation. // On the vreplication side, Filter can also accept a special // "exclude" value, which will cause the matched tables // to be excluded. // TODO(sougou): support this on vstreamer side also. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Example: key="color", value="'red','green','blue'" ConvertEnumToText map[string]string `` /* 204-byte string literal not displayed */ // ConvertCharset: optional mapping, between column name and a CharsetConversion. // This hints to vreplication that columns are encoded from/to non-trivial charsets // The map is only populated when either "from" or "to" charset of a column are non-trivial // trivial charsets are utf8 and ascii variants. ConvertCharset map[string]*CharsetConversion `` /* 191-byte string literal not displayed */ // SourceUniqueKeyColumns represents the ordered columns in the index used by rowstreamer to iterate the table // It is comma delimited, as in col1,col2,col3 (tokens are escaped via net/url) SourceUniqueKeyColumns string `` /* 131-byte string literal not displayed */ // TargetUniqueKeyColumns represents the ordered columns in that index used by vcopier and vplayer to apply rows // It is comma delimited, as in col1,col2,col3 (tokens are escaped via net/url) TargetUniqueKeyColumns string `` /* 131-byte string literal not displayed */ // SourceUniqueKeyTargetColumns represents the names of columns in target table, mapped from the chosen unique // key on source tables (some columns may be renamed from source to target) SourceUniqueKeyTargetColumns string `` /* 151-byte string literal not displayed */ // ConvertIntToEnum lists any columns that are converted from an integral value into an enum. // such columns need to have special transofrmation of the data, from an integral format into a // string format. e.g. the value 0 needs to be converted to '0'. ConvertIntToEnum map[string]bool `` /* 202-byte string literal not displayed */ // ForceUniqueKey gives vtreamer a hint for `FORCE INDEX (...)` usage. ForceUniqueKey string `protobuf:"bytes,9,opt,name=force_unique_key,json=forceUniqueKey,proto3" json:"force_unique_key,omitempty"` // contains filtered or unexported fields }
Rule represents one rule in a Filter.
func (*Rule) CloneMessageVT ¶ added in v0.18.0
func (*Rule) Descriptor
deprecated
func (*Rule) GetConvertCharset ¶ added in v0.11.0
func (x *Rule) GetConvertCharset() map[string]*CharsetConversion
func (*Rule) GetConvertEnumToText ¶ added in v0.11.0
func (*Rule) GetConvertIntToEnum ¶ added in v0.16.0
func (*Rule) GetForceUniqueKey ¶ added in v0.19.0
func (*Rule) GetSourceUniqueKeyColumns ¶ added in v0.12.0
func (*Rule) GetSourceUniqueKeyTargetColumns ¶ added in v0.12.0
func (*Rule) GetTargetUniqueKeyColumns ¶ added in v0.12.0
func (*Rule) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶ added in v0.11.0
func (x *Rule) ProtoReflect() protoreflect.Message
func (*Rule) UnmarshalVT ¶ added in v0.11.0
type ShardGtid ¶
type ShardGtid 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"` Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` TablePKs []*TableLastPK `protobuf:"bytes,4,rep,name=table_p_ks,json=tablePKs,proto3" json:"table_p_ks,omitempty"` // contains filtered or unexported fields }
ShardGtid contains the GTID position for one shard. It's used in a request for requesting a starting position. It's used in a response to transmit the current position of a shard. It's also used in a Journal to indicate the list of targets and shard positions to migrate to.
func (*ShardGtid) CloneMessageVT ¶ added in v0.18.0
func (*ShardGtid) Descriptor
deprecated
func (*ShardGtid) GetKeyspace ¶
func (*ShardGtid) GetTablePKs ¶
func (x *ShardGtid) GetTablePKs() []*TableLastPK
func (*ShardGtid) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*ShardGtid) MarshalToVT ¶ added in v0.11.0
func (*ShardGtid) ProtoMessage ¶
func (*ShardGtid) ProtoMessage()
func (*ShardGtid) ProtoReflect ¶ added in v0.11.0
func (x *ShardGtid) ProtoReflect() protoreflect.Message
func (*ShardGtid) UnmarshalVT ¶ added in v0.11.0
type StreamKeyRangeRequest ¶
type StreamKeyRangeRequest struct { // where to start Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // what to get KeyRange *topodata.KeyRange `protobuf:"bytes,2,opt,name=key_range,json=keyRange,proto3" json:"key_range,omitempty"` // default charset on the player side Charset *Charset `protobuf:"bytes,3,opt,name=charset,proto3" json:"charset,omitempty"` // contains filtered or unexported fields }
StreamKeyRangeRequest is the payload to StreamKeyRange
func (*StreamKeyRangeRequest) CloneMessageVT ¶ added in v0.18.0
func (m *StreamKeyRangeRequest) CloneMessageVT() proto.Message
func (*StreamKeyRangeRequest) CloneVT ¶ added in v0.18.0
func (m *StreamKeyRangeRequest) CloneVT() *StreamKeyRangeRequest
func (*StreamKeyRangeRequest) Descriptor
deprecated
func (*StreamKeyRangeRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamKeyRangeRequest.ProtoReflect.Descriptor instead.
func (*StreamKeyRangeRequest) GetCharset ¶
func (x *StreamKeyRangeRequest) GetCharset() *Charset
func (*StreamKeyRangeRequest) GetKeyRange ¶
func (x *StreamKeyRangeRequest) GetKeyRange() *topodata.KeyRange
func (*StreamKeyRangeRequest) GetPosition ¶
func (x *StreamKeyRangeRequest) GetPosition() string
func (*StreamKeyRangeRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamKeyRangeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamKeyRangeRequest) MarshalToVT ¶ added in v0.11.0
func (m *StreamKeyRangeRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StreamKeyRangeRequest) MarshalVT ¶ added in v0.11.0
func (m *StreamKeyRangeRequest) MarshalVT() (dAtA []byte, err error)
func (*StreamKeyRangeRequest) ProtoMessage ¶
func (*StreamKeyRangeRequest) ProtoMessage()
func (*StreamKeyRangeRequest) ProtoReflect ¶ added in v0.11.0
func (x *StreamKeyRangeRequest) ProtoReflect() protoreflect.Message
func (*StreamKeyRangeRequest) Reset ¶
func (x *StreamKeyRangeRequest) Reset()
func (*StreamKeyRangeRequest) SizeVT ¶ added in v0.11.0
func (m *StreamKeyRangeRequest) SizeVT() (n int)
func (*StreamKeyRangeRequest) String ¶
func (x *StreamKeyRangeRequest) String() string
func (*StreamKeyRangeRequest) UnmarshalVT ¶ added in v0.11.0
func (m *StreamKeyRangeRequest) UnmarshalVT(dAtA []byte) error
type StreamKeyRangeResponse ¶
type StreamKeyRangeResponse struct { BinlogTransaction *BinlogTransaction `protobuf:"bytes,1,opt,name=binlog_transaction,json=binlogTransaction,proto3" json:"binlog_transaction,omitempty"` // contains filtered or unexported fields }
StreamKeyRangeResponse is the response from StreamKeyRange
func (*StreamKeyRangeResponse) CloneMessageVT ¶ added in v0.18.0
func (m *StreamKeyRangeResponse) CloneMessageVT() proto.Message
func (*StreamKeyRangeResponse) CloneVT ¶ added in v0.18.0
func (m *StreamKeyRangeResponse) CloneVT() *StreamKeyRangeResponse
func (*StreamKeyRangeResponse) Descriptor
deprecated
func (*StreamKeyRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamKeyRangeResponse.ProtoReflect.Descriptor instead.
func (*StreamKeyRangeResponse) GetBinlogTransaction ¶
func (x *StreamKeyRangeResponse) GetBinlogTransaction() *BinlogTransaction
func (*StreamKeyRangeResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamKeyRangeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamKeyRangeResponse) MarshalToVT ¶ added in v0.11.0
func (m *StreamKeyRangeResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StreamKeyRangeResponse) MarshalVT ¶ added in v0.11.0
func (m *StreamKeyRangeResponse) MarshalVT() (dAtA []byte, err error)
func (*StreamKeyRangeResponse) ProtoMessage ¶
func (*StreamKeyRangeResponse) ProtoMessage()
func (*StreamKeyRangeResponse) ProtoReflect ¶ added in v0.11.0
func (x *StreamKeyRangeResponse) ProtoReflect() protoreflect.Message
func (*StreamKeyRangeResponse) Reset ¶
func (x *StreamKeyRangeResponse) Reset()
func (*StreamKeyRangeResponse) SizeVT ¶ added in v0.11.0
func (m *StreamKeyRangeResponse) SizeVT() (n int)
func (*StreamKeyRangeResponse) String ¶
func (x *StreamKeyRangeResponse) String() string
func (*StreamKeyRangeResponse) UnmarshalVT ¶ added in v0.11.0
func (m *StreamKeyRangeResponse) UnmarshalVT(dAtA []byte) error
type StreamTablesRequest ¶
type StreamTablesRequest struct { // where to start Position string `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` // what to get Tables []string `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"` // default charset on the player side Charset *Charset `protobuf:"bytes,3,opt,name=charset,proto3" json:"charset,omitempty"` // contains filtered or unexported fields }
StreamTablesRequest is the payload to StreamTables
func (*StreamTablesRequest) CloneMessageVT ¶ added in v0.18.0
func (m *StreamTablesRequest) CloneMessageVT() proto.Message
func (*StreamTablesRequest) CloneVT ¶ added in v0.18.0
func (m *StreamTablesRequest) CloneVT() *StreamTablesRequest
func (*StreamTablesRequest) Descriptor
deprecated
func (*StreamTablesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamTablesRequest.ProtoReflect.Descriptor instead.
func (*StreamTablesRequest) GetCharset ¶
func (x *StreamTablesRequest) GetCharset() *Charset
func (*StreamTablesRequest) GetPosition ¶
func (x *StreamTablesRequest) GetPosition() string
func (*StreamTablesRequest) GetTables ¶
func (x *StreamTablesRequest) GetTables() []string
func (*StreamTablesRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamTablesRequest) MarshalToVT ¶ added in v0.11.0
func (m *StreamTablesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StreamTablesRequest) MarshalVT ¶ added in v0.11.0
func (m *StreamTablesRequest) MarshalVT() (dAtA []byte, err error)
func (*StreamTablesRequest) ProtoMessage ¶
func (*StreamTablesRequest) ProtoMessage()
func (*StreamTablesRequest) ProtoReflect ¶ added in v0.11.0
func (x *StreamTablesRequest) ProtoReflect() protoreflect.Message
func (*StreamTablesRequest) Reset ¶
func (x *StreamTablesRequest) Reset()
func (*StreamTablesRequest) SizeVT ¶ added in v0.11.0
func (m *StreamTablesRequest) SizeVT() (n int)
func (*StreamTablesRequest) String ¶
func (x *StreamTablesRequest) String() string
func (*StreamTablesRequest) UnmarshalVT ¶ added in v0.11.0
func (m *StreamTablesRequest) UnmarshalVT(dAtA []byte) error
type StreamTablesResponse ¶
type StreamTablesResponse struct { BinlogTransaction *BinlogTransaction `protobuf:"bytes,1,opt,name=binlog_transaction,json=binlogTransaction,proto3" json:"binlog_transaction,omitempty"` // contains filtered or unexported fields }
StreamTablesResponse is the response from StreamTables
func (*StreamTablesResponse) CloneMessageVT ¶ added in v0.18.0
func (m *StreamTablesResponse) CloneMessageVT() proto.Message
func (*StreamTablesResponse) CloneVT ¶ added in v0.18.0
func (m *StreamTablesResponse) CloneVT() *StreamTablesResponse
func (*StreamTablesResponse) Descriptor
deprecated
func (*StreamTablesResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamTablesResponse.ProtoReflect.Descriptor instead.
func (*StreamTablesResponse) GetBinlogTransaction ¶
func (x *StreamTablesResponse) GetBinlogTransaction() *BinlogTransaction
func (*StreamTablesResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *StreamTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StreamTablesResponse) MarshalToVT ¶ added in v0.11.0
func (m *StreamTablesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StreamTablesResponse) MarshalVT ¶ added in v0.11.0
func (m *StreamTablesResponse) MarshalVT() (dAtA []byte, err error)
func (*StreamTablesResponse) ProtoMessage ¶
func (*StreamTablesResponse) ProtoMessage()
func (*StreamTablesResponse) ProtoReflect ¶ added in v0.11.0
func (x *StreamTablesResponse) ProtoReflect() protoreflect.Message
func (*StreamTablesResponse) Reset ¶
func (x *StreamTablesResponse) Reset()
func (*StreamTablesResponse) SizeVT ¶ added in v0.11.0
func (m *StreamTablesResponse) SizeVT() (n int)
func (*StreamTablesResponse) String ¶
func (x *StreamTablesResponse) String() string
func (*StreamTablesResponse) UnmarshalVT ¶ added in v0.11.0
func (m *StreamTablesResponse) UnmarshalVT(dAtA []byte) error
type TableLastPK ¶
type TableLastPK struct { TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` Lastpk *query.QueryResult `protobuf:"bytes,3,opt,name=lastpk,proto3" json:"lastpk,omitempty"` // contains filtered or unexported fields }
func (*TableLastPK) CloneMessageVT ¶ added in v0.18.0
func (m *TableLastPK) CloneMessageVT() proto.Message
func (*TableLastPK) CloneVT ¶ added in v0.18.0
func (m *TableLastPK) CloneVT() *TableLastPK
func (*TableLastPK) Descriptor
deprecated
func (*TableLastPK) Descriptor() ([]byte, []int)
Deprecated: Use TableLastPK.ProtoReflect.Descriptor instead.
func (*TableLastPK) GetLastpk ¶
func (x *TableLastPK) GetLastpk() *query.QueryResult
func (*TableLastPK) GetTableName ¶
func (x *TableLastPK) GetTableName() string
func (*TableLastPK) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *TableLastPK) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TableLastPK) MarshalToVT ¶ added in v0.11.0
func (m *TableLastPK) MarshalToVT(dAtA []byte) (int, error)
func (*TableLastPK) MarshalVT ¶ added in v0.11.0
func (m *TableLastPK) MarshalVT() (dAtA []byte, err error)
func (*TableLastPK) ProtoMessage ¶
func (*TableLastPK) ProtoMessage()
func (*TableLastPK) ProtoReflect ¶ added in v0.11.0
func (x *TableLastPK) ProtoReflect() protoreflect.Message
func (*TableLastPK) Reset ¶
func (x *TableLastPK) Reset()
func (*TableLastPK) SizeVT ¶ added in v0.11.0
func (m *TableLastPK) SizeVT() (n int)
func (*TableLastPK) String ¶
func (x *TableLastPK) String() string
func (*TableLastPK) UnmarshalVT ¶ added in v0.11.0
func (m *TableLastPK) UnmarshalVT(dAtA []byte) error
type VEvent ¶
type VEvent struct { Type VEventType `protobuf:"varint,1,opt,name=type,proto3,enum=binlogdata.VEventType" json:"type,omitempty"` // Timestamp is the binlog timestamp in seconds. // The value should be ignored if 0. Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Gtid is set if the event type is GTID. Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` // Statement is set if the event type is DDL, DML or SAVEPOINT. Statement string `protobuf:"bytes,4,opt,name=statement,proto3" json:"statement,omitempty"` // RowEvent is set if the event type is ROW. RowEvent *RowEvent `protobuf:"bytes,5,opt,name=row_event,json=rowEvent,proto3" json:"row_event,omitempty"` // FieldEvent is set if the event type is FIELD. FieldEvent *FieldEvent `protobuf:"bytes,6,opt,name=field_event,json=fieldEvent,proto3" json:"field_event,omitempty"` // Vgtid is set if the event type is VGTID. // This event is only generated by VTGate's VStream function. Vgtid *VGtid `protobuf:"bytes,7,opt,name=vgtid,proto3" json:"vgtid,omitempty"` // Journal is set if the event type is JOURNAL. Journal *Journal `protobuf:"bytes,8,opt,name=journal,proto3" json:"journal,omitempty"` // Dml is set if the event type is INSERT, REPLACE, UPDATE or DELETE. Dml string `protobuf:"bytes,9,opt,name=dml,proto3" json:"dml,omitempty"` // CurrentTime specifies the current time when the message was sent. // This can be used to compenssate for clock skew. CurrentTime int64 `protobuf:"varint,20,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` // LastPK is the last PK for a table LastPKEvent *LastPKEvent `protobuf:"bytes,21,opt,name=last_p_k_event,json=lastPKEvent,proto3" json:"last_p_k_event,omitempty"` // the source keyspace Keyspace string `protobuf:"bytes,22,opt,name=keyspace,proto3" json:"keyspace,omitempty"` // the source shard Shard string `protobuf:"bytes,23,opt,name=shard,proto3" json:"shard,omitempty"` // indicate that we are being throttled right now Throttled bool `protobuf:"varint,24,opt,name=throttled,proto3" json:"throttled,omitempty"` // ThrottledReason is a human readable string that explains why the stream is throttled ThrottledReason string `protobuf:"bytes,25,opt,name=throttled_reason,json=throttledReason,proto3" json:"throttled_reason,omitempty"` // contains filtered or unexported fields }
VEvent represents a vstream event. A FieldEvent is sent once for every table, just before the first event for that table. The client is expected to cache this information and match it against the RowEvent which contains the table name. A GTID event always precedes a commitable event, which can be COMMIT, DDL or OTHER. OTHER events are non-material events that have no additional metadata.
func (*VEvent) CloneMessageVT ¶ added in v0.18.0
func (*VEvent) Descriptor
deprecated
func (*VEvent) GetCurrentTime ¶
func (*VEvent) GetFieldEvent ¶
func (x *VEvent) GetFieldEvent() *FieldEvent
func (*VEvent) GetJournal ¶
func (*VEvent) GetKeyspace ¶ added in v0.13.0
func (*VEvent) GetLastPKEvent ¶
func (x *VEvent) GetLastPKEvent() *LastPKEvent
func (*VEvent) GetRowEvent ¶
func (*VEvent) GetStatement ¶
func (*VEvent) GetThrottled ¶ added in v0.14.2
func (*VEvent) GetThrottledReason ¶ added in v0.21.0
func (*VEvent) GetTimestamp ¶
func (*VEvent) GetType ¶
func (x *VEvent) GetType() VEventType
func (*VEvent) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*VEvent) MarshalToVT ¶ added in v0.11.0
func (*VEvent) ProtoMessage ¶
func (*VEvent) ProtoMessage()
func (*VEvent) ProtoReflect ¶ added in v0.11.0
func (x *VEvent) ProtoReflect() protoreflect.Message
func (*VEvent) UnmarshalVT ¶ added in v0.11.0
type VEventType ¶
type VEventType int32
VEventType enumerates the event types. Many of these types will not be encountered in RBR mode.
const ( VEventType_UNKNOWN VEventType = 0 VEventType_GTID VEventType = 1 VEventType_BEGIN VEventType = 2 VEventType_COMMIT VEventType = 3 VEventType_ROLLBACK VEventType = 4 VEventType_DDL VEventType = 5 // INSERT, REPLACE, UPDATE, DELETE and SET will not be seen in RBR mode. VEventType_INSERT VEventType = 6 VEventType_REPLACE VEventType = 7 VEventType_UPDATE VEventType = 8 VEventType_DELETE VEventType = 9 VEventType_SET VEventType = 10 // OTHER is a dummy event. If encountered, the current GTID must be // recorded by the client to be able to resume. VEventType_OTHER VEventType = 11 VEventType_ROW VEventType = 12 VEventType_FIELD VEventType = 13 // HEARTBEAT is sent if there is inactivity. If a client does not // receive events beyond the hearbeat interval, it can assume that it's // lost connection to the vstreamer. VEventType_HEARTBEAT VEventType = 14 // VGTID is generated by VTGate's VStream that combines multiple // GTIDs. VEventType_VGTID VEventType = 15 VEventType_JOURNAL VEventType = 16 VEventType_VERSION VEventType = 17 VEventType_LASTPK VEventType = 18 VEventType_SAVEPOINT VEventType = 19 // COPY_COMPLETED is sent when VTGate's VStream copy operation is done. // If a client experiences some disruptions before receiving the event, // the client should restart the copy operation. VEventType_COPY_COMPLETED VEventType = 20 )
func (VEventType) Descriptor ¶ added in v0.11.0
func (VEventType) Descriptor() protoreflect.EnumDescriptor
func (VEventType) Enum ¶ added in v0.11.0
func (x VEventType) Enum() *VEventType
func (VEventType) EnumDescriptor
deprecated
func (VEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VEventType.Descriptor instead.
func (VEventType) Number ¶ added in v0.11.0
func (x VEventType) Number() protoreflect.EnumNumber
func (VEventType) String ¶
func (x VEventType) String() string
func (VEventType) Type ¶ added in v0.11.0
func (VEventType) Type() protoreflect.EnumType
type VGtid ¶
type VGtid struct { ShardGtids []*ShardGtid `protobuf:"bytes,1,rep,name=shard_gtids,json=shardGtids,proto3" json:"shard_gtids,omitempty"` // contains filtered or unexported fields }
A VGtid is a list of ShardGtids.
func (*VGtid) CloneMessageVT ¶ added in v0.18.0
func (*VGtid) Descriptor
deprecated
func (*VGtid) GetShardGtids ¶
func (*VGtid) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*VGtid) ProtoMessage ¶
func (*VGtid) ProtoMessage()
func (*VGtid) ProtoReflect ¶ added in v0.11.0
func (x *VGtid) ProtoReflect() protoreflect.Message
func (*VGtid) UnmarshalVT ¶ added in v0.11.0
type VReplicationWorkflowState ¶ added in v0.18.0
type VReplicationWorkflowState int32
VReplicationWorklfowState defines the valid states that a workflow can be in.
const ( VReplicationWorkflowState_Unknown VReplicationWorkflowState = 0 VReplicationWorkflowState_Init VReplicationWorkflowState = 1 VReplicationWorkflowState_Stopped VReplicationWorkflowState = 2 VReplicationWorkflowState_Copying VReplicationWorkflowState = 3 VReplicationWorkflowState_Running VReplicationWorkflowState = 4 VReplicationWorkflowState_Error VReplicationWorkflowState = 5 VReplicationWorkflowState_Lagging VReplicationWorkflowState = 6 )
func (VReplicationWorkflowState) Descriptor ¶ added in v0.18.0
func (VReplicationWorkflowState) Descriptor() protoreflect.EnumDescriptor
func (VReplicationWorkflowState) Enum ¶ added in v0.18.0
func (x VReplicationWorkflowState) Enum() *VReplicationWorkflowState
func (VReplicationWorkflowState) EnumDescriptor
deprecated
added in
v0.18.0
func (VReplicationWorkflowState) EnumDescriptor() ([]byte, []int)
Deprecated: Use VReplicationWorkflowState.Descriptor instead.
func (VReplicationWorkflowState) Number ¶ added in v0.18.0
func (x VReplicationWorkflowState) Number() protoreflect.EnumNumber
func (VReplicationWorkflowState) String ¶ added in v0.18.0
func (x VReplicationWorkflowState) String() string
func (VReplicationWorkflowState) Type ¶ added in v0.18.0
func (VReplicationWorkflowState) Type() protoreflect.EnumType
type VReplicationWorkflowSubType ¶ added in v0.15.0
type VReplicationWorkflowSubType int32
VReplicationWorkflowSubType define types of vreplication workflows.
const ( VReplicationWorkflowSubType_None VReplicationWorkflowSubType = 0 VReplicationWorkflowSubType_Partial VReplicationWorkflowSubType = 1 VReplicationWorkflowSubType_AtomicCopy VReplicationWorkflowSubType = 2 )
func (VReplicationWorkflowSubType) Descriptor ¶ added in v0.15.0
func (VReplicationWorkflowSubType) Descriptor() protoreflect.EnumDescriptor
func (VReplicationWorkflowSubType) Enum ¶ added in v0.15.0
func (x VReplicationWorkflowSubType) Enum() *VReplicationWorkflowSubType
func (VReplicationWorkflowSubType) EnumDescriptor
deprecated
added in
v0.15.0
func (VReplicationWorkflowSubType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VReplicationWorkflowSubType.Descriptor instead.
func (VReplicationWorkflowSubType) Number ¶ added in v0.15.0
func (x VReplicationWorkflowSubType) Number() protoreflect.EnumNumber
func (VReplicationWorkflowSubType) String ¶ added in v0.15.0
func (x VReplicationWorkflowSubType) String() string
func (VReplicationWorkflowSubType) Type ¶ added in v0.15.0
func (VReplicationWorkflowSubType) Type() protoreflect.EnumType
type VReplicationWorkflowType ¶ added in v0.14.0
type VReplicationWorkflowType int32
VReplicationWorkflowType define types of vreplication workflows.
const ( VReplicationWorkflowType_Materialize VReplicationWorkflowType = 0 VReplicationWorkflowType_MoveTables VReplicationWorkflowType = 1 VReplicationWorkflowType_CreateLookupIndex VReplicationWorkflowType = 2 VReplicationWorkflowType_Migrate VReplicationWorkflowType = 3 VReplicationWorkflowType_Reshard VReplicationWorkflowType = 4 VReplicationWorkflowType_OnlineDDL VReplicationWorkflowType = 5 )
func (VReplicationWorkflowType) Descriptor ¶ added in v0.14.0
func (VReplicationWorkflowType) Descriptor() protoreflect.EnumDescriptor
func (VReplicationWorkflowType) Enum ¶ added in v0.14.0
func (x VReplicationWorkflowType) Enum() *VReplicationWorkflowType
func (VReplicationWorkflowType) EnumDescriptor
deprecated
added in
v0.14.0
func (VReplicationWorkflowType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VReplicationWorkflowType.Descriptor instead.
func (VReplicationWorkflowType) Number ¶ added in v0.14.0
func (x VReplicationWorkflowType) Number() protoreflect.EnumNumber
func (VReplicationWorkflowType) String ¶ added in v0.14.0
func (x VReplicationWorkflowType) String() string
func (VReplicationWorkflowType) Type ¶ added in v0.14.0
func (VReplicationWorkflowType) Type() protoreflect.EnumType
type VStreamOptions ¶ added in v0.21.0
type VStreamOptions struct { InternalTables []string `protobuf:"bytes,1,rep,name=internal_tables,json=internalTables,proto3" json:"internal_tables,omitempty"` ConfigOverrides map[string]string `` /* 194-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VStreamOptions) CloneMessageVT ¶ added in v0.21.0
func (m *VStreamOptions) CloneMessageVT() proto.Message
func (*VStreamOptions) CloneVT ¶ added in v0.21.0
func (m *VStreamOptions) CloneVT() *VStreamOptions
func (*VStreamOptions) Descriptor
deprecated
added in
v0.21.0
func (*VStreamOptions) Descriptor() ([]byte, []int)
Deprecated: Use VStreamOptions.ProtoReflect.Descriptor instead.
func (*VStreamOptions) GetConfigOverrides ¶ added in v0.21.0
func (x *VStreamOptions) GetConfigOverrides() map[string]string
func (*VStreamOptions) GetInternalTables ¶ added in v0.21.0
func (x *VStreamOptions) GetInternalTables() []string
func (*VStreamOptions) MarshalToSizedBufferVT ¶ added in v0.21.0
func (m *VStreamOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamOptions) MarshalToVT ¶ added in v0.21.0
func (m *VStreamOptions) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamOptions) MarshalVT ¶ added in v0.21.0
func (m *VStreamOptions) MarshalVT() (dAtA []byte, err error)
func (*VStreamOptions) ProtoMessage ¶ added in v0.21.0
func (*VStreamOptions) ProtoMessage()
func (*VStreamOptions) ProtoReflect ¶ added in v0.21.0
func (x *VStreamOptions) ProtoReflect() protoreflect.Message
func (*VStreamOptions) Reset ¶ added in v0.21.0
func (x *VStreamOptions) Reset()
func (*VStreamOptions) SizeVT ¶ added in v0.21.0
func (m *VStreamOptions) SizeVT() (n int)
func (*VStreamOptions) String ¶ added in v0.21.0
func (x *VStreamOptions) String() string
func (*VStreamOptions) UnmarshalVT ¶ added in v0.21.0
func (m *VStreamOptions) UnmarshalVT(dAtA []byte) error
type VStreamRequest ¶
type VStreamRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *query.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *query.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Position string `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"` Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` TableLastPKs []*TableLastPK `protobuf:"bytes,6,rep,name=table_last_p_ks,json=tableLastPKs,proto3" json:"table_last_p_ks,omitempty"` Options *VStreamOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
VStreamRequest is the payload for VStreamer
func (*VStreamRequest) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamRequest) CloneMessageVT() proto.Message
func (*VStreamRequest) CloneVT ¶ added in v0.18.0
func (m *VStreamRequest) CloneVT() *VStreamRequest
func (*VStreamRequest) Descriptor
deprecated
func (*VStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use VStreamRequest.ProtoReflect.Descriptor instead.
func (*VStreamRequest) GetEffectiveCallerId ¶
func (x *VStreamRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*VStreamRequest) GetFilter ¶
func (x *VStreamRequest) GetFilter() *Filter
func (*VStreamRequest) GetImmediateCallerId ¶
func (x *VStreamRequest) GetImmediateCallerId() *query.VTGateCallerID
func (*VStreamRequest) GetOptions ¶ added in v0.21.0
func (x *VStreamRequest) GetOptions() *VStreamOptions
func (*VStreamRequest) GetPosition ¶
func (x *VStreamRequest) GetPosition() string
func (*VStreamRequest) GetTableLastPKs ¶
func (x *VStreamRequest) GetTableLastPKs() []*TableLastPK
func (*VStreamRequest) GetTarget ¶
func (x *VStreamRequest) GetTarget() *query.Target
func (*VStreamRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *VStreamRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamRequest) MarshalToVT ¶ added in v0.11.0
func (m *VStreamRequest) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamRequest) MarshalVT ¶ added in v0.11.0
func (m *VStreamRequest) MarshalVT() (dAtA []byte, err error)
func (*VStreamRequest) ProtoMessage ¶
func (*VStreamRequest) ProtoMessage()
func (*VStreamRequest) ProtoReflect ¶ added in v0.11.0
func (x *VStreamRequest) ProtoReflect() protoreflect.Message
func (*VStreamRequest) Reset ¶
func (x *VStreamRequest) Reset()
func (*VStreamRequest) SizeVT ¶ added in v0.11.0
func (m *VStreamRequest) SizeVT() (n int)
func (*VStreamRequest) String ¶
func (x *VStreamRequest) String() string
func (*VStreamRequest) UnmarshalVT ¶ added in v0.11.0
func (m *VStreamRequest) UnmarshalVT(dAtA []byte) error
type VStreamResponse ¶
type VStreamResponse struct { Events []*VEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
VStreamResponse is the response from VStreamer
func (*VStreamResponse) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamResponse) CloneMessageVT() proto.Message
func (*VStreamResponse) CloneVT ¶ added in v0.18.0
func (m *VStreamResponse) CloneVT() *VStreamResponse
func (*VStreamResponse) Descriptor
deprecated
func (*VStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use VStreamResponse.ProtoReflect.Descriptor instead.
func (*VStreamResponse) GetEvents ¶
func (x *VStreamResponse) GetEvents() []*VEvent
func (*VStreamResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *VStreamResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamResponse) MarshalToVT ¶ added in v0.11.0
func (m *VStreamResponse) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamResponse) MarshalVT ¶ added in v0.11.0
func (m *VStreamResponse) MarshalVT() (dAtA []byte, err error)
func (*VStreamResponse) ProtoMessage ¶
func (*VStreamResponse) ProtoMessage()
func (*VStreamResponse) ProtoReflect ¶ added in v0.11.0
func (x *VStreamResponse) ProtoReflect() protoreflect.Message
func (*VStreamResponse) Reset ¶
func (x *VStreamResponse) Reset()
func (*VStreamResponse) SizeVT ¶ added in v0.11.0
func (m *VStreamResponse) SizeVT() (n int)
func (*VStreamResponse) String ¶
func (x *VStreamResponse) String() string
func (*VStreamResponse) UnmarshalVT ¶ added in v0.11.0
func (m *VStreamResponse) UnmarshalVT(dAtA []byte) error
type VStreamResultsRequest ¶
type VStreamResultsRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *query.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *query.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
VStreamResultsRequest is the payload for VStreamResults The ids match VStreamRows, in case we decide to merge the two. The ids match VStreamRows, in case we decide to merge the two.
func (*VStreamResultsRequest) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamResultsRequest) CloneMessageVT() proto.Message
func (*VStreamResultsRequest) CloneVT ¶ added in v0.18.0
func (m *VStreamResultsRequest) CloneVT() *VStreamResultsRequest
func (*VStreamResultsRequest) Descriptor
deprecated
func (*VStreamResultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use VStreamResultsRequest.ProtoReflect.Descriptor instead.
func (*VStreamResultsRequest) GetEffectiveCallerId ¶
func (x *VStreamResultsRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*VStreamResultsRequest) GetImmediateCallerId ¶
func (x *VStreamResultsRequest) GetImmediateCallerId() *query.VTGateCallerID
func (*VStreamResultsRequest) GetQuery ¶
func (x *VStreamResultsRequest) GetQuery() string
func (*VStreamResultsRequest) GetTarget ¶
func (x *VStreamResultsRequest) GetTarget() *query.Target
func (*VStreamResultsRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *VStreamResultsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamResultsRequest) MarshalToVT ¶ added in v0.11.0
func (m *VStreamResultsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamResultsRequest) MarshalVT ¶ added in v0.11.0
func (m *VStreamResultsRequest) MarshalVT() (dAtA []byte, err error)
func (*VStreamResultsRequest) ProtoMessage ¶
func (*VStreamResultsRequest) ProtoMessage()
func (*VStreamResultsRequest) ProtoReflect ¶ added in v0.11.0
func (x *VStreamResultsRequest) ProtoReflect() protoreflect.Message
func (*VStreamResultsRequest) Reset ¶
func (x *VStreamResultsRequest) Reset()
func (*VStreamResultsRequest) SizeVT ¶ added in v0.11.0
func (m *VStreamResultsRequest) SizeVT() (n int)
func (*VStreamResultsRequest) String ¶
func (x *VStreamResultsRequest) String() string
func (*VStreamResultsRequest) UnmarshalVT ¶ added in v0.11.0
func (m *VStreamResultsRequest) UnmarshalVT(dAtA []byte) error
type VStreamResultsResponse ¶
type VStreamResultsResponse struct { Fields []*query.Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` Rows []*query.Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
VStreamResultsResponse is the response from VStreamResults The ids match VStreamRows, in case we decide to merge the two.
func (*VStreamResultsResponse) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamResultsResponse) CloneMessageVT() proto.Message
func (*VStreamResultsResponse) CloneVT ¶ added in v0.18.0
func (m *VStreamResultsResponse) CloneVT() *VStreamResultsResponse
func (*VStreamResultsResponse) Descriptor
deprecated
func (*VStreamResultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use VStreamResultsResponse.ProtoReflect.Descriptor instead.
func (*VStreamResultsResponse) GetFields ¶
func (x *VStreamResultsResponse) GetFields() []*query.Field
func (*VStreamResultsResponse) GetGtid ¶
func (x *VStreamResultsResponse) GetGtid() string
func (*VStreamResultsResponse) GetRows ¶
func (x *VStreamResultsResponse) GetRows() []*query.Row
func (*VStreamResultsResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *VStreamResultsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamResultsResponse) MarshalToVT ¶ added in v0.11.0
func (m *VStreamResultsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamResultsResponse) MarshalVT ¶ added in v0.11.0
func (m *VStreamResultsResponse) MarshalVT() (dAtA []byte, err error)
func (*VStreamResultsResponse) ProtoMessage ¶
func (*VStreamResultsResponse) ProtoMessage()
func (*VStreamResultsResponse) ProtoReflect ¶ added in v0.11.0
func (x *VStreamResultsResponse) ProtoReflect() protoreflect.Message
func (*VStreamResultsResponse) Reset ¶
func (x *VStreamResultsResponse) Reset()
func (*VStreamResultsResponse) SizeVT ¶ added in v0.11.0
func (m *VStreamResultsResponse) SizeVT() (n int)
func (*VStreamResultsResponse) String ¶
func (x *VStreamResultsResponse) String() string
func (*VStreamResultsResponse) UnmarshalVT ¶ added in v0.11.0
func (m *VStreamResultsResponse) UnmarshalVT(dAtA []byte) error
type VStreamRowsRequest ¶
type VStreamRowsRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *query.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *query.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Lastpk *query.QueryResult `protobuf:"bytes,5,opt,name=lastpk,proto3" json:"lastpk,omitempty"` Options *VStreamOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
VStreamRowsRequest is the payload for VStreamRows
func (*VStreamRowsRequest) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamRowsRequest) CloneMessageVT() proto.Message
func (*VStreamRowsRequest) CloneVT ¶ added in v0.18.0
func (m *VStreamRowsRequest) CloneVT() *VStreamRowsRequest
func (*VStreamRowsRequest) Descriptor
deprecated
func (*VStreamRowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use VStreamRowsRequest.ProtoReflect.Descriptor instead.
func (*VStreamRowsRequest) GetEffectiveCallerId ¶
func (x *VStreamRowsRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*VStreamRowsRequest) GetImmediateCallerId ¶
func (x *VStreamRowsRequest) GetImmediateCallerId() *query.VTGateCallerID
func (*VStreamRowsRequest) GetLastpk ¶
func (x *VStreamRowsRequest) GetLastpk() *query.QueryResult
func (*VStreamRowsRequest) GetOptions ¶ added in v0.21.0
func (x *VStreamRowsRequest) GetOptions() *VStreamOptions
func (*VStreamRowsRequest) GetQuery ¶
func (x *VStreamRowsRequest) GetQuery() string
func (*VStreamRowsRequest) GetTarget ¶
func (x *VStreamRowsRequest) GetTarget() *query.Target
func (*VStreamRowsRequest) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *VStreamRowsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamRowsRequest) MarshalToVT ¶ added in v0.11.0
func (m *VStreamRowsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamRowsRequest) MarshalVT ¶ added in v0.11.0
func (m *VStreamRowsRequest) MarshalVT() (dAtA []byte, err error)
func (*VStreamRowsRequest) ProtoMessage ¶
func (*VStreamRowsRequest) ProtoMessage()
func (*VStreamRowsRequest) ProtoReflect ¶ added in v0.11.0
func (x *VStreamRowsRequest) ProtoReflect() protoreflect.Message
func (*VStreamRowsRequest) Reset ¶
func (x *VStreamRowsRequest) Reset()
func (*VStreamRowsRequest) SizeVT ¶ added in v0.11.0
func (m *VStreamRowsRequest) SizeVT() (n int)
func (*VStreamRowsRequest) String ¶
func (x *VStreamRowsRequest) String() string
func (*VStreamRowsRequest) UnmarshalVT ¶ added in v0.11.0
func (m *VStreamRowsRequest) UnmarshalVT(dAtA []byte) error
type VStreamRowsResponse ¶
type VStreamRowsResponse struct { Fields []*query.Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` Pkfields []*query.Field `protobuf:"bytes,2,rep,name=pkfields,proto3" json:"pkfields,omitempty"` Gtid string `protobuf:"bytes,3,opt,name=gtid,proto3" json:"gtid,omitempty"` Rows []*query.Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` Lastpk *query.Row `protobuf:"bytes,5,opt,name=lastpk,proto3" json:"lastpk,omitempty"` // Throttled indicates that rowstreamer is being throttled right now Throttled bool `protobuf:"varint,6,opt,name=throttled,proto3" json:"throttled,omitempty"` // Heartbeat indicates that this is a heartbeat message Heartbeat bool `protobuf:"varint,7,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"` // ThrottledReason is a human readable string that explains why the stream is throttled ThrottledReason string `protobuf:"bytes,8,opt,name=throttled_reason,json=throttledReason,proto3" json:"throttled_reason,omitempty"` // contains filtered or unexported fields }
VStreamRowsResponse is the response from VStreamRows
func VStreamRowsResponseFromVTPool ¶ added in v0.11.0
func VStreamRowsResponseFromVTPool() *VStreamRowsResponse
func (*VStreamRowsResponse) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamRowsResponse) CloneMessageVT() proto.Message
func (*VStreamRowsResponse) CloneVT ¶ added in v0.18.0
func (m *VStreamRowsResponse) CloneVT() *VStreamRowsResponse
func (*VStreamRowsResponse) Descriptor
deprecated
func (*VStreamRowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use VStreamRowsResponse.ProtoReflect.Descriptor instead.
func (*VStreamRowsResponse) GetFields ¶
func (x *VStreamRowsResponse) GetFields() []*query.Field
func (*VStreamRowsResponse) GetGtid ¶
func (x *VStreamRowsResponse) GetGtid() string
func (*VStreamRowsResponse) GetHeartbeat ¶ added in v0.14.2
func (x *VStreamRowsResponse) GetHeartbeat() bool
func (*VStreamRowsResponse) GetLastpk ¶
func (x *VStreamRowsResponse) GetLastpk() *query.Row
func (*VStreamRowsResponse) GetPkfields ¶
func (x *VStreamRowsResponse) GetPkfields() []*query.Field
func (*VStreamRowsResponse) GetRows ¶
func (x *VStreamRowsResponse) GetRows() []*query.Row
func (*VStreamRowsResponse) GetThrottled ¶ added in v0.14.2
func (x *VStreamRowsResponse) GetThrottled() bool
func (*VStreamRowsResponse) GetThrottledReason ¶ added in v0.21.0
func (x *VStreamRowsResponse) GetThrottledReason() string
func (*VStreamRowsResponse) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *VStreamRowsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamRowsResponse) MarshalToVT ¶ added in v0.11.0
func (m *VStreamRowsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamRowsResponse) MarshalVT ¶ added in v0.11.0
func (m *VStreamRowsResponse) MarshalVT() (dAtA []byte, err error)
func (*VStreamRowsResponse) ProtoMessage ¶
func (*VStreamRowsResponse) ProtoMessage()
func (*VStreamRowsResponse) ProtoReflect ¶ added in v0.11.0
func (x *VStreamRowsResponse) ProtoReflect() protoreflect.Message
func (*VStreamRowsResponse) Reset ¶
func (x *VStreamRowsResponse) Reset()
func (*VStreamRowsResponse) ResetVT ¶ added in v0.11.0
func (m *VStreamRowsResponse) ResetVT()
func (*VStreamRowsResponse) ReturnToVTPool ¶ added in v0.11.0
func (m *VStreamRowsResponse) ReturnToVTPool()
func (*VStreamRowsResponse) SizeVT ¶ added in v0.11.0
func (m *VStreamRowsResponse) SizeVT() (n int)
func (*VStreamRowsResponse) String ¶
func (x *VStreamRowsResponse) String() string
func (*VStreamRowsResponse) UnmarshalVT ¶ added in v0.11.0
func (m *VStreamRowsResponse) UnmarshalVT(dAtA []byte) error
type VStreamTablesRequest ¶ added in v0.18.0
type VStreamTablesRequest struct { EffectiveCallerId *vtrpc.CallerID `protobuf:"bytes,1,opt,name=effective_caller_id,json=effectiveCallerId,proto3" json:"effective_caller_id,omitempty"` ImmediateCallerId *query.VTGateCallerID `protobuf:"bytes,2,opt,name=immediate_caller_id,json=immediateCallerId,proto3" json:"immediate_caller_id,omitempty"` Target *query.Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Options *VStreamOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
VStreamTablesRequest is the payload for VStreamTables
func (*VStreamTablesRequest) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamTablesRequest) CloneMessageVT() proto.Message
func (*VStreamTablesRequest) CloneVT ¶ added in v0.18.0
func (m *VStreamTablesRequest) CloneVT() *VStreamTablesRequest
func (*VStreamTablesRequest) Descriptor
deprecated
added in
v0.18.0
func (*VStreamTablesRequest) Descriptor() ([]byte, []int)
Deprecated: Use VStreamTablesRequest.ProtoReflect.Descriptor instead.
func (*VStreamTablesRequest) GetEffectiveCallerId ¶ added in v0.18.0
func (x *VStreamTablesRequest) GetEffectiveCallerId() *vtrpc.CallerID
func (*VStreamTablesRequest) GetImmediateCallerId ¶ added in v0.18.0
func (x *VStreamTablesRequest) GetImmediateCallerId() *query.VTGateCallerID
func (*VStreamTablesRequest) GetOptions ¶ added in v0.21.0
func (x *VStreamTablesRequest) GetOptions() *VStreamOptions
func (*VStreamTablesRequest) GetTarget ¶ added in v0.18.0
func (x *VStreamTablesRequest) GetTarget() *query.Target
func (*VStreamTablesRequest) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *VStreamTablesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamTablesRequest) MarshalToVT ¶ added in v0.18.0
func (m *VStreamTablesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamTablesRequest) MarshalVT ¶ added in v0.18.0
func (m *VStreamTablesRequest) MarshalVT() (dAtA []byte, err error)
func (*VStreamTablesRequest) ProtoMessage ¶ added in v0.18.0
func (*VStreamTablesRequest) ProtoMessage()
func (*VStreamTablesRequest) ProtoReflect ¶ added in v0.18.0
func (x *VStreamTablesRequest) ProtoReflect() protoreflect.Message
func (*VStreamTablesRequest) Reset ¶ added in v0.18.0
func (x *VStreamTablesRequest) Reset()
func (*VStreamTablesRequest) SizeVT ¶ added in v0.18.0
func (m *VStreamTablesRequest) SizeVT() (n int)
func (*VStreamTablesRequest) String ¶ added in v0.18.0
func (x *VStreamTablesRequest) String() string
func (*VStreamTablesRequest) UnmarshalVT ¶ added in v0.18.0
func (m *VStreamTablesRequest) UnmarshalVT(dAtA []byte) error
type VStreamTablesResponse ¶ added in v0.18.0
type VStreamTablesResponse struct { TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` Fields []*query.Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` Pkfields []*query.Field `protobuf:"bytes,3,rep,name=pkfields,proto3" json:"pkfields,omitempty"` Gtid string `protobuf:"bytes,4,opt,name=gtid,proto3" json:"gtid,omitempty"` Rows []*query.Row `protobuf:"bytes,5,rep,name=rows,proto3" json:"rows,omitempty"` Lastpk *query.Row `protobuf:"bytes,6,opt,name=lastpk,proto3" json:"lastpk,omitempty"` // contains filtered or unexported fields }
VStreamTablesResponse is the response from VStreamTables
func VStreamTablesResponseFromVTPool ¶ added in v0.18.0
func VStreamTablesResponseFromVTPool() *VStreamTablesResponse
func (*VStreamTablesResponse) CloneMessageVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) CloneMessageVT() proto.Message
func (*VStreamTablesResponse) CloneVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) CloneVT() *VStreamTablesResponse
func (*VStreamTablesResponse) Descriptor
deprecated
added in
v0.18.0
func (*VStreamTablesResponse) Descriptor() ([]byte, []int)
Deprecated: Use VStreamTablesResponse.ProtoReflect.Descriptor instead.
func (*VStreamTablesResponse) GetFields ¶ added in v0.18.0
func (x *VStreamTablesResponse) GetFields() []*query.Field
func (*VStreamTablesResponse) GetGtid ¶ added in v0.18.0
func (x *VStreamTablesResponse) GetGtid() string
func (*VStreamTablesResponse) GetLastpk ¶ added in v0.18.0
func (x *VStreamTablesResponse) GetLastpk() *query.Row
func (*VStreamTablesResponse) GetPkfields ¶ added in v0.18.0
func (x *VStreamTablesResponse) GetPkfields() []*query.Field
func (*VStreamTablesResponse) GetRows ¶ added in v0.18.0
func (x *VStreamTablesResponse) GetRows() []*query.Row
func (*VStreamTablesResponse) GetTableName ¶ added in v0.18.0
func (x *VStreamTablesResponse) GetTableName() string
func (*VStreamTablesResponse) MarshalToSizedBufferVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*VStreamTablesResponse) MarshalToVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*VStreamTablesResponse) MarshalVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) MarshalVT() (dAtA []byte, err error)
func (*VStreamTablesResponse) ProtoMessage ¶ added in v0.18.0
func (*VStreamTablesResponse) ProtoMessage()
func (*VStreamTablesResponse) ProtoReflect ¶ added in v0.18.0
func (x *VStreamTablesResponse) ProtoReflect() protoreflect.Message
func (*VStreamTablesResponse) Reset ¶ added in v0.18.0
func (x *VStreamTablesResponse) Reset()
func (*VStreamTablesResponse) ResetVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) ResetVT()
func (*VStreamTablesResponse) ReturnToVTPool ¶ added in v0.18.0
func (m *VStreamTablesResponse) ReturnToVTPool()
func (*VStreamTablesResponse) SizeVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) SizeVT() (n int)
func (*VStreamTablesResponse) String ¶ added in v0.18.0
func (x *VStreamTablesResponse) String() string
func (*VStreamTablesResponse) UnmarshalVT ¶ added in v0.18.0
func (m *VStreamTablesResponse) UnmarshalVT(dAtA []byte) error