clickhouse-haskell-0.1.2.0: A Haskell library as database client for Clickhouse
Safe HaskellNone
LanguageHaskell2010

Database.ClickHouseDriver.Column

Description

This module contains the implementations of serialization and deserialization of Clickhouse data types.

Synopsis

Serialize and deserialize

readColumn Source #

Arguments

:: ServerInfo

Server information is needed in case of some parameters are missing

-> Int

number of rows

-> ByteString

data type

-> Reader (Vector ClickhouseType) 

writeColumn Source #

Arguments

:: Context

context contains client information and server information

-> ByteString

column name

-> ByteString

column type (String, Int, etc)

-> Vector ClickhouseType

items to be serialized.

-> Writer Builder

result wrapped in a customized Writer Monad used for concatenating string builders.

Operations on ClickhouseType

putStrLn :: Vector (Vector ClickhouseType) -> IO () Source #

print in format