ingester

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUploadStageFailed = errors.New("upload stage failed")
	ErrCopyIntoFailed    = errors.New("copy into failed")
)

Functions

This section is empty.

Types

type DatabendIngester

type DatabendIngester interface {
	IngestData(threadNum int, columns []string, batchJsonData [][]interface{}) error

	GetAllSyncedCount() (int, error)
	DoRetry(f retry.RetryableFunc) error
	// contains filtered or unexported methods
}

func NewDatabendIngester

func NewDatabendIngester(cfg *config.Config) DatabendIngester

type DatabendIngesterStatsData

type DatabendIngesterStatsData struct {
	BytesPerSecond float64
	RowsPerSecondd float64
}

type DatabendIngesterStatsRecorder

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

func NewDatabendIntesterStatsRecorder

func NewDatabendIntesterStatsRecorder() *DatabendIngesterStatsRecorder

func (*DatabendIngesterStatsRecorder) RecordMetric

func (stats *DatabendIngesterStatsRecorder) RecordMetric(bytes int, rows int)

func (*DatabendIngesterStatsRecorder) Stats

Jump to

Keyboard shortcuts

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