Documentation ¶
Index ¶
- type CheckPoint
- type ColumnResolverFunc
- type Rdb
- func (m *Rdb) CheckPointToString() string
- func (m *Rdb) Collect(collector ilogtail.Collector, ...) error
- func (m *Rdb) Init(context ilogtail.Context, rdbFunc RdbFunc) (int, error)
- func (m *Rdb) InitCheckPointFromString(val string)
- func (m *Rdb) ParseRows(rows *sql.Rows, columnResolverFuncMap map[string]ColumnResolverFunc, ...) int
- func (m *Rdb) SaveCheckPoint(collector ilogtail.Collector)
- func (m *Rdb) Start(collector ilogtail.Collector, connStr string, rdbFunc RdbFunc, ...) error
- func (m *Rdb) Stop() error
- type RdbFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckPoint ¶
type ColumnResolverFunc ¶
type Rdb ¶
type Rdb struct { ColumnsHash map[string]string ConnectionRetryTime int ConnectionRetryWaitMs int Driver string Address string Port int DataBase string User string Password string PasswordPath string DialTimeOutMs int ReadTimeOutMs int Limit bool PageSize int MaxSyncSize int StateMent string StateMentPath string CheckPoint bool CheckPointColumn string // int or time CheckPointColumnType string CheckPointStart string CheckPointSavePerPage bool IntervalMs int Shutdown chan struct{} Context ilogtail.Context // contains filtered or unexported fields }
func (*Rdb) CheckPointToString ¶
func (*Rdb) InitCheckPointFromString ¶
func (*Rdb) SaveCheckPoint ¶
Click to show internal directories.
Click to hide internal directories.