clickhouse

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickHouseAdapter

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

func NewClickHouseAdapter

func NewClickHouseAdapter(config *Config) (*ClickHouseAdapter, error)

func (*ClickHouseAdapter) ReadRequest

func (*ClickHouseAdapter) WriteRequest

func (ch *ClickHouseAdapter) WriteRequest(ctx context.Context, req *prompb.WriteRequest) (int, error)

type Config added in v0.0.2

type Config struct {
	Address  string
	Database string
	Username string
	Password string
	Table    string

	ReadIgnoreLabel string
	ReadIgnoreHints bool

	Debug bool
}

Jump to

Keyboard shortcuts

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