ClickHouse-Encoder
view release on metacpan or search on metacpan
lib/ClickHouse/Encoder/TCP.pm view on Meta::CPAN
# Compression flags in Query packet
use constant COMPRESSION_DISABLE => 0;
use constant COMPRESSION_ENABLE => 1;
# Varint and length-prefixed string codecs are XS-backed; the bound
# subs (pack_varint, unpack_varint, pack_string, unpack_string)
# live in PACKAGE = ClickHouse::Encoder::TCP inside Encoder.xs.
# ----- client packets ------------------------------------------------
# Hello packet: announces our protocol revision and credentials.
#
# pack_hello(
# client_name => 'ClickHouse::Encoder', # default
# major => 1, # default
# minor => 0, # default
# revision => 54429, # default
# database => 'default',
# user => 'default',
# password => '',
# );
( run in 1.301 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )