Documentation ¶
Index ¶
- type Canal
- type HBaseInstance
- type Instance
- func (ins *Instance) Check(ev *canal.RowsEvent) (ts []*Target)
- func (ins *Instance) Close()
- func (ins *Instance) Error() string
- func (ins *Instance) OnDDL(pos mysql.Position, qe *replication.QueryEvent) error
- func (ins *Instance) OnGTID(mysql.GTIDSet) error
- func (ins *Instance) OnPosSynced(pos mysql.Position, force bool) error
- func (ins *Instance) OnRotate(re *replication.RotateEvent) error
- func (ins *Instance) OnRow(ev *canal.RowsEvent) error
- func (ins *Instance) OnXID(mysql.Position) error
- func (ins *Instance) Start()
- func (ins *Instance) String() string
- type Table
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canal ¶
type Canal struct {
// contains filtered or unexported fields
}
Canal is canal.
func (*Canal) CheckMaster ¶
CheckMaster check master status.
type HBaseInstance ¶
type HBaseInstance struct {
// contains filtered or unexported fields
}
HBaseInstance hbase canal instance
func NewHBaseInstance ¶
func NewHBaseInstance(c *conf.HBaseInsConf) (ins *HBaseInstance, err error)
NewHBaseInstance new canal instance
func (*HBaseInstance) Error ¶
func (ins *HBaseInstance) Error() string
Error returns instance error.
func (*HBaseInstance) String ¶
func (ins *HBaseInstance) String() string
type Instance ¶
Instance canal instance
func NewInstance ¶
NewInstance new canal instance
func (*Instance) OnDDL ¶
func (ins *Instance) OnDDL(pos mysql.Position, qe *replication.QueryEvent) error
OnDDL OnDDL
func (*Instance) OnPosSynced ¶
OnPosSynced OnPosSynced
func (*Instance) OnRotate ¶
func (ins *Instance) OnRotate(re *replication.RotateEvent) error
OnRotate OnRotate
Source Files ¶
Click to show internal directories.
Click to hide internal directories.