Documentation ¶
Index ¶
- Constants
- Variables
- type Doris
- func (ds *Doris) AddRule(config map[string]interface{}) error
- func (ds *Doris) Close()
- func (ds *Doris) Configure(pipelineName string, configOutput map[string]interface{}) error
- func (ds *Doris) DeleteRule(config map[string]interface{}) error
- func (ds *Doris) Execute(msgs []*msg.Msg, table *schema.Table, targetSchema string, targetTable string) error
- func (ds *Doris) ExecuteSQL(cmd string, args ...interface{}) (rr *mysql.Result, err error)
- func (ds *Doris) GetRules() interface{}
- func (ds *Doris) GetTable(db string, table string) (*schema.Table, error)
- func (ds *Doris) IsPaused() bool
- func (ds *Doris) NewOutput(outputConfig interface{}, rulesMap map[string]interface{}, ...)
- func (ds *Doris) Pause() error
- func (ds *Doris) Resume() error
- func (ds *Doris) SendData(content []string, table *schema.Table, targetSchema string, targetTable string, ...) error
- func (ds *Doris) StartMetrics()
- func (ds *Doris) StartOutput(outputChan *channel.OutputChannel)
- type Mysql
- func (m *Mysql) AddRule(config map[string]interface{}) error
- func (m *Mysql) Close()
- func (m *Mysql) Configure(pipelineName string, configOutput map[string]interface{}) error
- func (m *Mysql) DeleteRule(config map[string]interface{}) error
- func (m *Mysql) Execute(msgs []*msg.Msg, table *schema.Table, targetSchema string, targetTable string) error
- func (m *Mysql) ExecuteSQL(cmd string, args ...interface{}) (rr *mysql.Result, err error)
- func (m *Mysql) GetRules() interface{}
- func (m *Mysql) GetTable(db string, table string) (*schema.Table, error)
- func (m *Mysql) IsPaused() bool
- func (m *Mysql) NewOutput(outputConfig interface{}, rulesMap map[string]interface{}, ...)
- func (m *Mysql) Pause() error
- func (m *Mysql) Resume() error
- func (m *Mysql) RewriteExecute(event *msg.Msg, table *schema.Table, targetSchema string, targetTable string) error
- func (m *Mysql) StartMetrics()
- func (m *Mysql) StartOutput(outputChan *channel.OutputChannel)
- type Starrocks
- func (sr *Starrocks) AddRule(config map[string]interface{}) error
- func (sr *Starrocks) Close()
- func (sr *Starrocks) Configure(pipelineName string, configOutput map[string]interface{}) error
- func (sr *Starrocks) DeleteRule(config map[string]interface{}) error
- func (sr *Starrocks) Execute(msgs []*msg.Msg, table *schema.Table, targetSchema string, targetTable string) error
- func (sr *Starrocks) ExecuteSQL(cmd string, args ...interface{}) (rr *mysql.Result, err error)
- func (sr *Starrocks) GetRules() interface{}
- func (sr *Starrocks) GetTable(db string, table string) (*schema.Table, error)
- func (sr *Starrocks) IsPaused() bool
- func (sr *Starrocks) NewOutput(outputConfig interface{}, rulesMap map[string]interface{}, ...)
- func (sr *Starrocks) Pause() error
- func (sr *Starrocks) Resume() error
- func (sr *Starrocks) SendData(content []string, table *schema.Table, targetSchema string, targetTable string, ...) error
- func (sr *Starrocks) StartMetrics()
- func (sr *Starrocks) StartOutput(outputChan *channel.OutputChannel)
Constants ¶
View Source
const DorisName = "doris"
View Source
const MysqlName = "mysql"
View Source
const StarrocksName = "starrocks"
Variables ¶
View Source
var DeleteColumn = "_delete_sign_"
View Source
var DeleteCondition = fmt.Sprintf("%s=1", DeleteColumn)
View Source
var RetryCount = 3
View Source
var RetryInterval = 5
Functions ¶
This section is empty.
Types ¶
type Doris ¶ added in v0.3.0
type Doris struct { *config.DorisConfig // contains filtered or unexported fields }
func (*Doris) DeleteRule ¶ added in v0.3.0
func (*Doris) ExecuteSQL ¶ added in v0.3.1
func (*Doris) StartMetrics ¶ added in v0.3.0
func (ds *Doris) StartMetrics()
func (*Doris) StartOutput ¶ added in v0.3.0
func (ds *Doris) StartOutput(outputChan *channel.OutputChannel)
type Mysql ¶ added in v0.4.0
type Mysql struct { *config.MysqlConfig // contains filtered or unexported fields }
func (*Mysql) DeleteRule ¶ added in v0.4.0
func (*Mysql) ExecuteSQL ¶ added in v0.4.0
func (*Mysql) RewriteExecute ¶ added in v0.4.0
func (*Mysql) StartMetrics ¶ added in v0.4.0
func (m *Mysql) StartMetrics()
func (*Mysql) StartOutput ¶ added in v0.4.0
func (m *Mysql) StartOutput(outputChan *channel.OutputChannel)
type Starrocks ¶
type Starrocks struct { *config.StarrocksConfig // contains filtered or unexported fields }
func (*Starrocks) DeleteRule ¶ added in v0.3.0
func (*Starrocks) ExecuteSQL ¶ added in v0.3.1
func (*Starrocks) StartMetrics ¶ added in v0.3.0
func (sr *Starrocks) StartMetrics()
func (*Starrocks) StartOutput ¶ added in v0.3.0
func (sr *Starrocks) StartOutput(outputChan *channel.OutputChannel)
Click to show internal directories.
Click to hide internal directories.