clickhouse_api

package
v2.27.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TestSet string = "examples_clickhouse_api"

Variables

This section is empty.

Functions

func AppendStruct

func AppendStruct() error

func ArrayInsertRead

func ArrayInsertRead() error

func AsyncInsert

func AsyncInsert() error

func Auth

func Auth() error

func BatchInsert

func BatchInsert() error

func BatchWithReleaseConnection added in v2.13.0

func BatchWithReleaseConnection() error

func BindParameters

func BindParameters() error

func ClientInfo added in v2.6.0

func ClientInfo() error

func ColumnInsert

func ColumnInsert() error

func Compress

func Compress() error

func Connect

func Connect() error

func ConvertedInsert

func ConvertedInsert() error

func CustomTypes added in v2.5.0

func CustomTypes() error

func DynamicScan

func DynamicScan() error

func Exec

func Exec() error

func ExternalData

func ExternalData() error

func GeoInsertRead

func GeoInsertRead() error

func GetNativeConnection

func GetNativeConnection(settings clickhouse.Settings, tlsConfig *tls.Config, compression *clickhouse.Compression) (driver.Conn, error)

func GetNativeConnectionWithOptions added in v2.6.0

func GetNativeConnectionWithOptions(settings clickhouse.Settings, tlsConfig *tls.Config, compression *clickhouse.Compression) (driver.Conn, error)

func InsertReadJSON

func InsertReadJSON() error

func IterableOrderedMapInsertRead added in v2.17.0

func IterableOrderedMapInsertRead() error

func MapInsertRead

func MapInsertRead() error

func MultiHostRandomVersion added in v2.26.0

func MultiHostRandomVersion() error

func MultiHostRoundRobinVersion

func MultiHostRoundRobinVersion() error

func MultiHostVersion

func MultiHostVersion() error

func NestedFlattened

func NestedFlattened() error

func NestedUnFlattened

func NestedUnFlattened() error

func NewOrderedMap added in v2.17.0

func NewOrderedMap() column.IterableOrderedMap

func NewOrderedMapIterator added in v2.17.0

func NewOrderedMapIterator(om *OrderedMap) column.MapIterator

func NullableInsertRead

func NullableInsertRead() error

func OpenTelemetry

func OpenTelemetry() error

func PingWithSettings

func PingWithSettings() error

func ProgressProfileLogs

func ProgressProfileLogs() error

func QueryRow

func QueryRow() error

func QueryRows

func QueryRows() error

func QueryWithParameters added in v2.5.0

func QueryWithParameters() error

func ReadComplexJSON

func ReadComplexJSON() error

func ReadWriteBigInt

func ReadWriteBigInt() error

func ReadWriteDecimal

func ReadWriteDecimal() error

func SSLNoVerifyVersion

func SSLNoVerifyVersion() error

func SSLVersion

func SSLVersion() error

func ScanStruct

func ScanStruct() error

func SelectStruct

func SelectStruct() error

func SpecialBind

func SpecialBind() error

func TupleInsertRead

func TupleInsertRead() error

func UUIDInsertRead

func UUIDInsertRead() error

func UseContext

func UseContext() error

Types

type OrderedMap added in v2.17.0

type OrderedMap struct {
	Keys   []any
	Values []any
}

OrderedMap is a simple (non thread safe) ordered map

func (*OrderedMap) Iterator added in v2.17.0

func (om *OrderedMap) Iterator() column.MapIterator

func (*OrderedMap) Put added in v2.17.0

func (om *OrderedMap) Put(key any, value any)

type OrderedMapIter added in v2.17.0

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

func (*OrderedMapIter) Key added in v2.17.0

func (i *OrderedMapIter) Key() any

func (*OrderedMapIter) Next added in v2.17.0

func (i *OrderedMapIter) Next() bool

func (*OrderedMapIter) Value added in v2.17.0

func (i *OrderedMapIter) Value() any

type YourBatch added in v2.13.0

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

func New added in v2.13.0

func New(ctx context.Context, conn driver.Conn, insertStatement string) (*YourBatch, error)

func (*YourBatch) Append added in v2.13.0

func (b *YourBatch) Append(col1 uint64, col2 string) error

func (*YourBatch) Send added in v2.13.0

func (b *YourBatch) Send() error

Jump to

Keyboard shortcuts

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