Documentation ¶
Index ¶
- Variables
- type ChOperator
- type ChProxyOperator
- type CkGroupOperator
- func (cgo *CkGroupOperator) BatchInsert(insertData [][]interface{}, insertQuery string, indexOfPrimKey int) error
- func (cgo *CkGroupOperator) MysqlBatchInsert(insertData [][]interface{}, insertQuery string, arr []util.DataType, ...) error
- func (cgo *CkGroupOperator) ObtainClickHouseKV(targetDB, targetTable string) (map[string]string, error)
- type ClickHouseDescType
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ChOperator ¶
type ChOperator interface { MysqlBatchInsert(insertData [][]interface{}, insertQuery string, arr []util.DataType, indexOfFlag, indexOfInsertID, indexOfPrimKeys int) error ObtainClickHouseKV(targetDB, targetTable string) (map[string]string, error) BatchInsert(insertData [][]interface{}, insertQuery string, indexOfPrimKey int) error }
func NewChOperator ¶
func NewChOperator(shards [][]string) (ChOperator, error)
type ChProxyOperator ¶
type ChProxyOperator struct {
// contains filtered or unexported fields
}
func (*ChProxyOperator) BatchInsert ¶
func (*ChProxyOperator) ObtainClickHouseKV ¶
func (cpo *ChProxyOperator) ObtainClickHouseKV(targetDB, targetTable string) (map[string]string, error)
type CkGroupOperator ¶
type CkGroupOperator struct {
// contains filtered or unexported fields
}
func (*CkGroupOperator) BatchInsert ¶
func (cgo *CkGroupOperator) BatchInsert(insertData [][]interface{}, insertQuery string, indexOfPrimKey int) error
func (*CkGroupOperator) MysqlBatchInsert ¶
func (*CkGroupOperator) ObtainClickHouseKV ¶
func (cgo *CkGroupOperator) ObtainClickHouseKV(targetDB, targetTable string) (map[string]string, error)
type ClickHouseDescType ¶
Click to show internal directories.
Click to hide internal directories.