Documentation ¶
Index ¶
- Variables
- type Doris
- func (ds *Doris) AddRule(config map[string]interface{}) error
- func (ds *Doris) Close()
- func (ds *Doris) DeleteRule(config map[string]interface{}) error
- func (ds *Doris) Execute(msgs []*msg.Msg, table *Table) 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) (*Table, error)
- func (ds *Doris) NewOutput(outputConfig interface{})
- func (ds *Doris) StartMetrics()
- func (ds *Doris) StartOutput(outputChan *channel.OutputChannel, rulesMap map[string]interface{})
- type Plugin
- type Starrocks
- func (sr *Starrocks) AddRule(config map[string]interface{}) error
- func (sr *Starrocks) Close()
- func (sr *Starrocks) DeleteRule(config map[string]interface{}) error
- func (sr *Starrocks) Execute(msgs []*msg.Msg, table *Table) 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) (*Table, error)
- func (sr *Starrocks) NewOutput(outputConfig interface{})
- func (sr *Starrocks) StartMetrics()
- func (sr *Starrocks) StartOutput(outputChan *channel.OutputChannel, rulesMap map[string]interface{})
- type Table
- type TableColumn
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteColumn = "_delete_sign_"
View Source
var DeleteCondition = fmt.Sprintf("%s=1", DeleteColumn)
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, rulesMap map[string]interface{})
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) NewOutput ¶ added in v0.3.0
func (sr *Starrocks) NewOutput(outputConfig interface{})
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, rulesMap map[string]interface{})
type TableColumn ¶ added in v0.3.0
type TableColumn struct {
Name string
}
Click to show internal directories.
Click to hide internal directories.