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 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 ¶
func (stats *DatabendIngesterStatsRecorder) Stats(statsWindow time.Duration) DatabendIngesterStatsData
Click to show internal directories.
Click to hide internal directories.