database

package
v0.0.0-...-bea810b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickhouseNativeClient

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

func NewNativeClient

func NewNativeClient(host string, port uint16, username string, password string) (*ClickhouseNativeClient, error)

func (*ClickhouseNativeClient) ExecuteStatement

func (c *ClickhouseNativeClient) ExecuteStatement(id string, statement string) (data.Frame, error)

func (*ClickhouseNativeClient) Ping

func (c *ClickhouseNativeClient) Ping() error

func (*ClickhouseNativeClient) ReadTable

func (c *ClickhouseNativeClient) ReadTable(databaseName string, tableName string, excludeColumns []string, orderBy data.OrderBy, limit int64) (data.Frame, error)

func (*ClickhouseNativeClient) ReadTableNamesForDatabase

func (c *ClickhouseNativeClient) ReadTableNamesForDatabase(databaseName string) ([]string, error)

func (*ClickhouseNativeClient) Version

func (c *ClickhouseNativeClient) Version() (string, error)

Jump to

Keyboard shortcuts

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