dbwriter

package
v0.0.0-...-9634a1a Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CACHE_SIZE = 10240
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DbWriter

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

func NewDbWriter

func NewDbWriter(addrs []string, user, password, clusterName, storagePolicy string, ckWriterCfg config.CKWriterConfig, flowMetricsTtl flowmetricsconfig.FlowMetricsTTL, coldStorages map[string]*ckdb.ColdStorage) (*DbWriter, error)

func (*DbWriter) Close

func (w *DbWriter) Close()

func (*DbWriter) Put

func (w *DbWriter) Put(items ...interface{}) error

Jump to

Keyboard shortcuts

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