clickhouse_compress

package module
v0.0.0-...-dc6c291 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: BSD-2-Clause Imports: 2 Imported by: 0

README

clickhouse_compress

Function that implements LZ4 compression in pure go for ClickHouse

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(buf []byte) []byte

Compress is a function that returns compressed buffer. Format of clickhouse compression can be seen here: https://github.com/yandex/ClickHouse/blob/5b113df16c6b9e6464cb55fb04280a8a5480794a/dbms/src/IO/CompressedReadBufferBase.cpp#L41

func Send

func Send(host string, table string, body []byte) error

Send sends data to clickhouse and returns errors if any

Types

This section is empty.

Jump to

Keyboard shortcuts

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