chload

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CHLoad

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

func New

func New(chConn chutils.CHConnector, gzipCompressionLevel config.GzipComprLevel) *CHLoad

func (*CHLoad) Exec

func (c *CHLoad) Exec(query string) error

func (*CHLoad) Flush

func (c *CHLoad) Flush(tableName config.ChTableName, columns []string) error

func (*CHLoad) Query

func (c *CHLoad) Query(query string) ([][]string, error)

func (*CHLoad) Write

func (c *CHLoad) Write(p []byte) (int, error)

func (*CHLoad) WriteByte

func (c *CHLoad) WriteByte(p byte) error

type CHLoader

type CHLoader interface {
	utils.Writer

	Flush(tableName config.ChTableName, columns []string) error
	Exec(string) error
	Query(string) ([][]string, error)
}

Jump to

Keyboard shortcuts

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