handlers

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMLKey

type DMLKey struct {
	Schema      string
	TablePrefix string
	TableName   string
}

type DumpTask

type DumpTask struct {
	Dml  dbvendor.DMLSchema
	Args []interface{}
}

type VastbaseEventHandler

type VastbaseEventHandler struct {
	// contains filtered or unexported fields
}

func (*VastbaseEventHandler) Close

func (h *VastbaseEventHandler) Close()

func (*VastbaseEventHandler) ConvertColType2ColumnType

func (h *VastbaseEventHandler) ConvertColType2ColumnType(colType int) (vbType string, err error)

func (*VastbaseEventHandler) ConvertDataType2ColumnType

func (h *VastbaseEventHandler) ConvertDataType2ColumnType(dataType parser.DataType) (vbType string, err error)

func (*VastbaseEventHandler) ConvertSourceTable2TargetTable

func (h *VastbaseEventHandler) ConvertSourceTable2TargetTable(source *schema.Table, target *dbvendor.Table) error

func (*VastbaseEventHandler) Migrate

func (h *VastbaseEventHandler) Migrate() error

func (*VastbaseEventHandler) OnDDL

func (h *VastbaseEventHandler) OnDDL(header *replication.EventHeader, nextPos mysql.Position, queryEvent *replication.QueryEvent) error

func (*VastbaseEventHandler) OnGTID

func (*VastbaseEventHandler) OnPosSynced

func (h *VastbaseEventHandler) OnPosSynced(header *replication.EventHeader, pos mysql.Position, set mysql.GTIDSet, force bool) error

func (*VastbaseEventHandler) OnRotate

func (h *VastbaseEventHandler) OnRotate(header *replication.EventHeader, rotateEvent *replication.RotateEvent) error

func (*VastbaseEventHandler) OnRow

func (*VastbaseEventHandler) OnTableChanged

func (h *VastbaseEventHandler) OnTableChanged(header *replication.EventHeader, schema string, table string) error

func (*VastbaseEventHandler) OnXID

func (h *VastbaseEventHandler) OnXID(header *replication.EventHeader, nextPos mysql.Position) error

func (*VastbaseEventHandler) String

func (h *VastbaseEventHandler) String() string

Jump to

Keyboard shortcuts

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