volc

package
v1.0.115 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EntryType_name = map[int32]string{
		0: "UNKNOWN_ENTRY",
		1: "BEGIN",
		2: "COMMIT",
		3: "DML",
		4: "DDL",
	}
	EntryType_value = map[string]int32{
		"UNKNOWN_ENTRY": 0,
		"BEGIN":         1,
		"COMMIT":        2,
		"DML":           3,
		"DDL":           4,
	}
)

Enum value maps for EntryType.

View Source
var (
	SrcType_name = map[int32]string{
		0: "UNKNOWN_SRC",
		1: "MySQL",
		2: "PostgreSQL",
	}
	SrcType_value = map[string]int32{
		"UNKNOWN_SRC": 0,
		"MySQL":       1,
		"PostgreSQL":  2,
	}
)

Enum value maps for SrcType.

View Source
var (
	DMLType_name = map[int32]string{
		0: "OTHER_DML",
		1: "INSERT",
		2: "UPDATE",
		3: "DELETE",
	}
	DMLType_value = map[string]int32{
		"OTHER_DML": 0,
		"INSERT":    1,
		"UPDATE":    2,
		"DELETE":    3,
	}
)

Enum value maps for DMLType.

View Source
var (
	DDLType_name = map[int32]string{
		0:  "OTHER_DDL",
		2:  "CREATE_TABLE",
		3:  "ALTER_TABLE",
		4:  "DROP_TABLE",
		5:  "RENAME_TABLE",
		6:  "TRUNCATE_TABLE",
		7:  "CREATE_VIEW",
		8:  "ALTER_VIEW",
		9:  "DROP_VIEW",
		10: "CREATE_INDEX",
		11: "DROP_INDEX",
		12: "CREATE_FUNCTION",
		13: "DROP_FUNCTION",
		14: "CREATE_PROCEDURE",
		15: "DROP_PROCEDURE",
	}
	DDLType_value = map[string]int32{
		"OTHER_DDL":        0,
		"CREATE_TABLE":     2,
		"ALTER_TABLE":      3,
		"DROP_TABLE":       4,
		"RENAME_TABLE":     5,
		"TRUNCATE_TABLE":   6,
		"CREATE_VIEW":      7,
		"ALTER_VIEW":       8,
		"DROP_VIEW":        9,
		"CREATE_INDEX":     10,
		"DROP_INDEX":       11,
		"CREATE_FUNCTION":  12,
		"DROP_FUNCTION":    13,
		"CREATE_PROCEDURE": 14,
		"DROP_PROCEDURE":   15,
	}
)

Enum value maps for DDLType.

View Source
var (
	ColumnType_name = map[int32]string{
		0: "UNKNOWN",
		1: "STRING",
		2: "BINARY",
		3: "INTEGER",
		4: "UNSIGNED_INTEGER",
		5: "FLOAT",
		6: "DECIMAL",
		7: "BOOL",
		8: "DATETIME",
	}
	ColumnType_value = map[string]int32{
		"UNKNOWN":          0,
		"STRING":           1,
		"BINARY":           2,
		"INTEGER":          3,
		"UNSIGNED_INTEGER": 4,
		"FLOAT":            5,
		"DECIMAL":          6,
		"BOOL":             7,
		"DATETIME":         8,
	}
)

Enum value maps for ColumnType.

Functions

This section is empty.

Types

type BeginEvent

type BeginEvent struct {
	TransactionId *string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	File          *string `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"`
	Offset        *string `protobuf:"bytes,3,opt,name=offset" json:"offset,omitempty"`
	Props         []*Prop `protobuf:"bytes,4,rep,name=props" json:"props,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginEvent) Descriptor deprecated

func (*BeginEvent) Descriptor() ([]byte, []int)

Deprecated: Use BeginEvent.ProtoReflect.Descriptor instead.

func (*BeginEvent) GetFile

func (x *BeginEvent) GetFile() string

func (*BeginEvent) GetOffset

func (x *BeginEvent) GetOffset() string

func (*BeginEvent) GetProps

func (x *BeginEvent) GetProps() []*Prop

func (*BeginEvent) GetTransactionId

func (x *BeginEvent) GetTransactionId() string

func (*BeginEvent) ProtoMessage

func (*BeginEvent) ProtoMessage()

func (*BeginEvent) ProtoReflect

func (x *BeginEvent) ProtoReflect() protoreflect.Message

func (*BeginEvent) Reset

func (x *BeginEvent) Reset()

func (*BeginEvent) String

func (x *BeginEvent) String() string

type Column

type Column struct {
	IsNull *bool `protobuf:"varint,1,opt,name=is_null,json=isNull" json:"is_null,omitempty"`
	// Types that are assignable to Value:
	//	*Column_StringValue
	//	*Column_BinaryValue
	//	*Column_FloatValue
	//	*Column_Int64Value
	//	*Column_Uint64Value
	//	*Column_BoolValue
	Value isColumn_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Column) Descriptor deprecated

func (*Column) Descriptor() ([]byte, []int)

Deprecated: Use Column.ProtoReflect.Descriptor instead.

func (*Column) GetBinaryValue

func (x *Column) GetBinaryValue() []byte

func (*Column) GetBoolValue

func (x *Column) GetBoolValue() bool

func (*Column) GetFloatValue

func (x *Column) GetFloatValue() float64

func (*Column) GetInt64Value

func (x *Column) GetInt64Value() int64

func (*Column) GetIsNull

func (x *Column) GetIsNull() bool

func (*Column) GetStringValue

func (x *Column) GetStringValue() string

func (*Column) GetUint64Value

func (x *Column) GetUint64Value() uint64

func (*Column) GetValue

func (m *Column) GetValue() isColumn_Value

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) ProtoReflect

func (x *Column) ProtoReflect() protoreflect.Message

func (*Column) Reset

func (x *Column) Reset()

func (*Column) String

func (x *Column) String() string

type ColumnDef

type ColumnDef struct {
	Props      []*Prop     `protobuf:"bytes,1,rep,name=props" json:"props,omitempty"`
	Index      *int32      `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
	Type       *ColumnType `protobuf:"varint,3,opt,name=type,enum=volc.ColumnType" json:"type,omitempty"`
	OriginType *string     `protobuf:"bytes,4,opt,name=origin_type,json=originType" json:"origin_type,omitempty"`
	Name       *string     `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
	Charset    *string     `protobuf:"bytes,6,opt,name=charset" json:"charset,omitempty"`
	IsNullable *bool       `protobuf:"varint,7,opt,name=is_nullable,json=isNullable" json:"is_nullable,omitempty"`
	IsUnsigned *bool       `protobuf:"varint,8,opt,name=is_unsigned,json=isUnsigned" json:"is_unsigned,omitempty"`
	// contains filtered or unexported fields
}

func (*ColumnDef) Descriptor deprecated

func (*ColumnDef) Descriptor() ([]byte, []int)

Deprecated: Use ColumnDef.ProtoReflect.Descriptor instead.

func (*ColumnDef) GetCharset

func (x *ColumnDef) GetCharset() string

func (*ColumnDef) GetIndex

func (x *ColumnDef) GetIndex() int32

func (*ColumnDef) GetIsNullable

func (x *ColumnDef) GetIsNullable() bool

func (*ColumnDef) GetIsUnsigned

func (x *ColumnDef) GetIsUnsigned() bool

func (*ColumnDef) GetName

func (x *ColumnDef) GetName() string

func (*ColumnDef) GetOriginType

func (x *ColumnDef) GetOriginType() string

func (*ColumnDef) GetProps

func (x *ColumnDef) GetProps() []*Prop

func (*ColumnDef) GetType

func (x *ColumnDef) GetType() ColumnType

func (*ColumnDef) ProtoMessage

func (*ColumnDef) ProtoMessage()

func (*ColumnDef) ProtoReflect

func (x *ColumnDef) ProtoReflect() protoreflect.Message

func (*ColumnDef) Reset

func (x *ColumnDef) Reset()

func (*ColumnDef) String

func (x *ColumnDef) String() string

type ColumnType

type ColumnType int32
const (
	ColumnType_UNKNOWN          ColumnType = 0
	ColumnType_STRING           ColumnType = 1
	ColumnType_BINARY           ColumnType = 2
	ColumnType_INTEGER          ColumnType = 3 // store as int64 value
	ColumnType_UNSIGNED_INTEGER ColumnType = 4 // store as  uint64 value
	ColumnType_FLOAT            ColumnType = 5 // store as float value
	ColumnType_DECIMAL          ColumnType = 6 // store as string value
	ColumnType_BOOL             ColumnType = 7
	ColumnType_DATETIME         ColumnType = 8 //store in string value in RFC3339Nano format
)

func (ColumnType) Descriptor

func (ColumnType) Descriptor() protoreflect.EnumDescriptor

func (ColumnType) Enum

func (x ColumnType) Enum() *ColumnType

func (ColumnType) EnumDescriptor deprecated

func (ColumnType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ColumnType.Descriptor instead.

func (ColumnType) Number

func (x ColumnType) Number() protoreflect.EnumNumber

func (ColumnType) String

func (x ColumnType) String() string

func (ColumnType) Type

func (*ColumnType) UnmarshalJSON deprecated

func (x *ColumnType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Column_BinaryValue

type Column_BinaryValue struct {
	BinaryValue []byte `protobuf:"bytes,3,opt,name=binary_value,json=binaryValue,oneof"`
}

type Column_BoolValue

type Column_BoolValue struct {
	BoolValue bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue,oneof"`
}

type Column_FloatValue

type Column_FloatValue struct {
	FloatValue float64 `protobuf:"fixed64,4,opt,name=float_value,json=floatValue,oneof"`
}

type Column_Int64Value

type Column_Int64Value struct {
	Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,oneof"`
}

type Column_StringValue

type Column_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,oneof"`
}

type Column_Uint64Value

type Column_Uint64Value struct {
	Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,oneof"`
}

type CommitEvent

type CommitEvent struct {
	TransactionId *string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	File          *string `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"`
	Offset        *string `protobuf:"bytes,3,opt,name=offset" json:"offset,omitempty"`
	Props         []*Prop `protobuf:"bytes,4,rep,name=props" json:"props,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitEvent) Descriptor deprecated

func (*CommitEvent) Descriptor() ([]byte, []int)

Deprecated: Use CommitEvent.ProtoReflect.Descriptor instead.

func (*CommitEvent) GetFile

func (x *CommitEvent) GetFile() string

func (*CommitEvent) GetOffset

func (x *CommitEvent) GetOffset() string

func (*CommitEvent) GetProps

func (x *CommitEvent) GetProps() []*Prop

func (*CommitEvent) GetTransactionId

func (x *CommitEvent) GetTransactionId() string

func (*CommitEvent) ProtoMessage

func (*CommitEvent) ProtoMessage()

func (*CommitEvent) ProtoReflect

func (x *CommitEvent) ProtoReflect() protoreflect.Message

func (*CommitEvent) Reset

func (x *CommitEvent) Reset()

func (*CommitEvent) String

func (x *CommitEvent) String() string

type DDLEvent

type DDLEvent struct {
	Sql      *string  `protobuf:"bytes,1,opt,name=sql" json:"sql,omitempty"`
	ExecTime *int64   `protobuf:"varint,2,opt,name=exec_time,json=execTime" json:"exec_time,omitempty"` // unit: second
	ErrCode  *int32   `protobuf:"varint,3,opt,name=err_code,json=errCode" json:"err_code,omitempty"`
	Props    []*Prop  `protobuf:"bytes,4,rep,name=props" json:"props,omitempty"`
	Type     *DDLType `protobuf:"varint,5,opt,name=type,enum=volc.DDLType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*DDLEvent) Descriptor deprecated

func (*DDLEvent) Descriptor() ([]byte, []int)

Deprecated: Use DDLEvent.ProtoReflect.Descriptor instead.

func (*DDLEvent) GetErrCode

func (x *DDLEvent) GetErrCode() int32

func (*DDLEvent) GetExecTime

func (x *DDLEvent) GetExecTime() int64

func (*DDLEvent) GetProps

func (x *DDLEvent) GetProps() []*Prop

func (*DDLEvent) GetSql

func (x *DDLEvent) GetSql() string

func (*DDLEvent) GetType

func (x *DDLEvent) GetType() DDLType

func (*DDLEvent) ProtoMessage

func (*DDLEvent) ProtoMessage()

func (*DDLEvent) ProtoReflect

func (x *DDLEvent) ProtoReflect() protoreflect.Message

func (*DDLEvent) Reset

func (x *DDLEvent) Reset()

func (*DDLEvent) String

func (x *DDLEvent) String() string

type DDLType

type DDLType int32
const (
	DDLType_OTHER_DDL        DDLType = 0
	DDLType_CREATE_TABLE     DDLType = 2
	DDLType_ALTER_TABLE      DDLType = 3
	DDLType_DROP_TABLE       DDLType = 4
	DDLType_RENAME_TABLE     DDLType = 5
	DDLType_TRUNCATE_TABLE   DDLType = 6
	DDLType_CREATE_VIEW      DDLType = 7
	DDLType_ALTER_VIEW       DDLType = 8
	DDLType_DROP_VIEW        DDLType = 9
	DDLType_CREATE_INDEX     DDLType = 10
	DDLType_DROP_INDEX       DDLType = 11
	DDLType_CREATE_FUNCTION  DDLType = 12
	DDLType_DROP_FUNCTION    DDLType = 13
	DDLType_CREATE_PROCEDURE DDLType = 14
	DDLType_DROP_PROCEDURE   DDLType = 15
)

func (DDLType) Descriptor

func (DDLType) Descriptor() protoreflect.EnumDescriptor

func (DDLType) Enum

func (x DDLType) Enum() *DDLType

func (DDLType) EnumDescriptor deprecated

func (DDLType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DDLType.Descriptor instead.

func (DDLType) Number

func (x DDLType) Number() protoreflect.EnumNumber

func (DDLType) String

func (x DDLType) String() string

func (DDLType) Type

func (DDLType) Type() protoreflect.EnumType

func (*DDLType) UnmarshalJSON deprecated

func (x *DDLType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DMLEvent

type DMLEvent struct {
	Type       *DMLType     `protobuf:"varint,1,opt,name=type,enum=volc.DMLType" json:"type,omitempty"`
	TableId    *string      `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	UseIndex   *Index       `protobuf:"bytes,3,opt,name=use_index,json=useIndex" json:"use_index,omitempty"`
	ColumnDefs []*ColumnDef `protobuf:"bytes,4,rep,name=column_defs,json=columnDefs" json:"column_defs,omitempty"`
	Rows       []*Row       `protobuf:"bytes,5,rep,name=rows" json:"rows,omitempty"`
	Props      []*Prop      `protobuf:"bytes,6,rep,name=props" json:"props,omitempty"`
	// contains filtered or unexported fields
}

func (*DMLEvent) Descriptor deprecated

func (*DMLEvent) Descriptor() ([]byte, []int)

Deprecated: Use DMLEvent.ProtoReflect.Descriptor instead.

func (*DMLEvent) GetColumnDefs

func (x *DMLEvent) GetColumnDefs() []*ColumnDef

func (*DMLEvent) GetProps

func (x *DMLEvent) GetProps() []*Prop

func (*DMLEvent) GetRows

func (x *DMLEvent) GetRows() []*Row

func (*DMLEvent) GetTableId

func (x *DMLEvent) GetTableId() string

func (*DMLEvent) GetType

func (x *DMLEvent) GetType() DMLType

func (*DMLEvent) GetUseIndex

func (x *DMLEvent) GetUseIndex() *Index

func (*DMLEvent) ProtoMessage

func (*DMLEvent) ProtoMessage()

func (*DMLEvent) ProtoReflect

func (x *DMLEvent) ProtoReflect() protoreflect.Message

func (*DMLEvent) Reset

func (x *DMLEvent) Reset()

func (*DMLEvent) String

func (x *DMLEvent) String() string

type DMLType

type DMLType int32
const (
	DMLType_OTHER_DML DMLType = 0
	DMLType_INSERT    DMLType = 1
	DMLType_UPDATE    DMLType = 2
	DMLType_DELETE    DMLType = 3
)

func (DMLType) Descriptor

func (DMLType) Descriptor() protoreflect.EnumDescriptor

func (DMLType) Enum

func (x DMLType) Enum() *DMLType

func (DMLType) EnumDescriptor deprecated

func (DMLType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DMLType.Descriptor instead.

func (DMLType) Number

func (x DMLType) Number() protoreflect.EnumNumber

func (DMLType) String

func (x DMLType) String() string

func (DMLType) Type

func (DMLType) Type() protoreflect.EnumType

func (*DMLType) UnmarshalJSON deprecated

func (x *DMLType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Entry

type Entry struct {
	Version   *int32     `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	Props     []*Prop    `protobuf:"bytes,2,rep,name=props" json:"props,omitempty"`
	SrcType   *SrcType   `protobuf:"varint,3,opt,name=src_type,json=srcType,enum=volc.SrcType" json:"src_type,omitempty"`
	EntryType *EntryType `protobuf:"varint,4,opt,name=entry_type,json=entryType,enum=volc.EntryType" json:"entry_type,omitempty"`
	Timestamp *int64     `protobuf:"varint,5,opt,name=timestamp" json:"timestamp,omitempty"`
	ServerId  *string    `protobuf:"bytes,6,opt,name=server_id,json=serverId" json:"server_id,omitempty"`
	Database  *string    `protobuf:"bytes,7,opt,name=database" json:"database,omitempty"`
	Table     *string    `protobuf:"bytes,8,opt,name=table" json:"table,omitempty"`
	// Types that are assignable to Event:
	//	*Entry_DmlEvent
	//	*Entry_DdlEvent
	//	*Entry_CommitEvent
	//	*Entry_BeginEvent
	Event isEntry_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

func (*Entry) Descriptor() ([]byte, []int)

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetBeginEvent

func (x *Entry) GetBeginEvent() *BeginEvent

func (*Entry) GetCommitEvent

func (x *Entry) GetCommitEvent() *CommitEvent

func (*Entry) GetDatabase

func (x *Entry) GetDatabase() string

func (*Entry) GetDdlEvent

func (x *Entry) GetDdlEvent() *DDLEvent

func (*Entry) GetDmlEvent

func (x *Entry) GetDmlEvent() *DMLEvent

func (*Entry) GetEntryType

func (x *Entry) GetEntryType() EntryType

func (*Entry) GetEvent

func (m *Entry) GetEvent() isEntry_Event

func (*Entry) GetProps

func (x *Entry) GetProps() []*Prop

func (*Entry) GetServerId

func (x *Entry) GetServerId() string

func (*Entry) GetSrcType

func (x *Entry) GetSrcType() SrcType

func (*Entry) GetTable

func (x *Entry) GetTable() string

func (*Entry) GetTimestamp

func (x *Entry) GetTimestamp() int64

func (*Entry) GetVersion

func (x *Entry) GetVersion() int32

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

func (x *Entry) ProtoReflect() protoreflect.Message

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type EntryType

type EntryType int32
const (
	EntryType_UNKNOWN_ENTRY EntryType = 0
	EntryType_BEGIN         EntryType = 1
	EntryType_COMMIT        EntryType = 2
	EntryType_DML           EntryType = 3
	EntryType_DDL           EntryType = 4
)

func (EntryType) Descriptor

func (EntryType) Descriptor() protoreflect.EnumDescriptor

func (EntryType) Enum

func (x EntryType) Enum() *EntryType

func (EntryType) EnumDescriptor deprecated

func (EntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EntryType.Descriptor instead.

func (EntryType) Number

func (x EntryType) Number() protoreflect.EnumNumber

func (EntryType) String

func (x EntryType) String() string

func (EntryType) Type

func (*EntryType) UnmarshalJSON deprecated

func (x *EntryType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Entry_BeginEvent

type Entry_BeginEvent struct {
	BeginEvent *BeginEvent `protobuf:"bytes,24,opt,name=begin_event,json=beginEvent,oneof"`
}

type Entry_CommitEvent

type Entry_CommitEvent struct {
	CommitEvent *CommitEvent `protobuf:"bytes,23,opt,name=commit_event,json=commitEvent,oneof"`
}

type Entry_DdlEvent

type Entry_DdlEvent struct {
	DdlEvent *DDLEvent `protobuf:"bytes,22,opt,name=ddl_event,json=ddlEvent,oneof"`
}

type Entry_DmlEvent

type Entry_DmlEvent struct {
	DmlEvent *DMLEvent `protobuf:"bytes,21,opt,name=dml_event,json=dmlEvent,oneof"`
}

type Index

type Index struct {
	Name        *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	ColumnIndex []int32 `protobuf:"varint,2,rep,name=column_index,json=columnIndex" json:"column_index,omitempty"`
	// contains filtered or unexported fields
}

func (*Index) Descriptor deprecated

func (*Index) Descriptor() ([]byte, []int)

Deprecated: Use Index.ProtoReflect.Descriptor instead.

func (*Index) GetColumnIndex

func (x *Index) GetColumnIndex() []int32

func (*Index) GetName

func (x *Index) GetName() string

func (*Index) ProtoMessage

func (*Index) ProtoMessage()

func (*Index) ProtoReflect

func (x *Index) ProtoReflect() protoreflect.Message

func (*Index) Reset

func (x *Index) Reset()

func (*Index) String

func (x *Index) String() string

type Prop

type Prop struct {
	Key   *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Prop) Descriptor deprecated

func (*Prop) Descriptor() ([]byte, []int)

Deprecated: Use Prop.ProtoReflect.Descriptor instead.

func (*Prop) GetKey

func (x *Prop) GetKey() string

func (*Prop) GetValue

func (x *Prop) GetValue() string

func (*Prop) ProtoMessage

func (*Prop) ProtoMessage()

func (*Prop) ProtoReflect

func (x *Prop) ProtoReflect() protoreflect.Message

func (*Prop) Reset

func (x *Prop) Reset()

func (*Prop) String

func (x *Prop) String() string

type Row

type Row struct {
	BeforeCols []*Column `protobuf:"bytes,1,rep,name=before_cols,json=beforeCols" json:"before_cols,omitempty"`
	AfterCols  []*Column `protobuf:"bytes,2,rep,name=after_cols,json=afterCols" json:"after_cols,omitempty"`
	// contains filtered or unexported fields
}

func (*Row) Descriptor deprecated

func (*Row) Descriptor() ([]byte, []int)

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetAfterCols

func (x *Row) GetAfterCols() []*Column

func (*Row) GetBeforeCols

func (x *Row) GetBeforeCols() []*Column

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) ProtoReflect

func (x *Row) ProtoReflect() protoreflect.Message

func (*Row) Reset

func (x *Row) Reset()

func (*Row) String

func (x *Row) String() string

type SrcType

type SrcType int32
const (
	SrcType_UNKNOWN_SRC SrcType = 0
	SrcType_MySQL       SrcType = 1
	SrcType_PostgreSQL  SrcType = 2
)

func (SrcType) Descriptor

func (SrcType) Descriptor() protoreflect.EnumDescriptor

func (SrcType) Enum

func (x SrcType) Enum() *SrcType

func (SrcType) EnumDescriptor deprecated

func (SrcType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SrcType.Descriptor instead.

func (SrcType) Number

func (x SrcType) Number() protoreflect.EnumNumber

func (SrcType) String

func (x SrcType) String() string

func (SrcType) Type

func (SrcType) Type() protoreflect.EnumType

func (*SrcType) UnmarshalJSON deprecated

func (x *SrcType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL