mssql

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMssqlReader

func NewMssqlReader(meta *reader.Meta, conf conf.MapConf) (reader.Reader, error)

Types

type MssqlReader

type MssqlReader struct {
	Cron *cron.Cron //定时任务
	// contains filtered or unexported fields
}

func (*MssqlReader) Close

func (r *MssqlReader) Close() error

func (*MssqlReader) Name

func (r *MssqlReader) Name() string

func (*MssqlReader) ReadData

func (r *MssqlReader) ReadData() (models.Data, int64, error)

func (*MssqlReader) ReadLine

func (r *MssqlReader) ReadLine() (string, error)

func (*MssqlReader) SetMode

func (r *MssqlReader) SetMode(mode string, v interface{}) error

func (*MssqlReader) Source

func (r *MssqlReader) Source() string

func (*MssqlReader) Start

func (r *MssqlReader) Start() error

func (*MssqlReader) Status

func (r *MssqlReader) Status() models.StatsInfo

func (*MssqlReader) SyncMeta

func (r *MssqlReader) SyncMeta()

SyncMeta 从队列取数据时同步队列,作用在于保证数据不重复

Jump to

Keyboard shortcuts

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