data

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTypeID

func GetTypeID(s string) (interface{}, error)

Types

type IDType

type IDType struct {
	Type string `json:"type"`
	ID   string `json:"id"`
}

type Mongo2ClickHouseModel

type Mongo2ClickHouseModel struct {
	// contains filtered or unexported fields
}

func NewMongo2ClickHouseModel

func NewMongo2ClickHouseModel(mongoConn *mongo.Client, chOperator *choperator.ChOperator, controller *chan bool, etcdHosts []string) *Mongo2ClickHouseModel

func (*Mongo2ClickHouseModel) MongoInertIntoClickHouse

func (mg *Mongo2ClickHouseModel) MongoInertIntoClickHouse(job *config.Job, tableName, idType string, batchSize int) (string, error)

type Mysql2ClickHouse

type Mysql2ClickHouse struct {
	// contains filtered or unexported fields
}

func NewMysql2ClickHouseModel

func NewMysql2ClickHouseModel(mysqlConn *sql.DB, chOperator *choperator.ChOperator, controller *chan bool, etcdHosts []string) *Mysql2ClickHouse

func (*Mysql2ClickHouse) MysqlInertIntoClickHouse

func (mc *Mysql2ClickHouse) MysqlInertIntoClickHouse(job *config.Job) (string, error)

Jump to

Keyboard shortcuts

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