clickhouse

package
v0.0.0-...-cba6ad5 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DriverChronus = "chronus"

Functions

This section is empty.

Types

type Option

type Option struct {
	//Addrs     string `json:"addrs,omitempty"`
	Urls      []string `json:"urls"`
	DbName    string   `json:"dbName,omitempty"`
	Table     string   `json:"table,omitempty"`
	TimeField string   `json:"timestamp_field,omitempty"`
}

type Transport

type Transport struct {
}

func GetTransport

func GetTransport() *Transport

func NewTransport

func NewTransport() *Transport

func (*Transport) CreateTable

func (this *Transport) CreateTable(ctx context.Context, endpoints []string, sql string) error

func (*Transport) ExceSQL

func (this *Transport) ExceSQL(ctx context.Context, Endpoints []string, SQL string) error

func (*Transport) TableInfo

func (this *Transport) TableInfo(ctx context.Context, Endpoints []string, tableName string) (elem *grammar.ClickHouseListener, err error)

func (*Transport) TableList

func (this *Transport) TableList(ctx context.Context, Endpoints []string) (elem []string, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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