Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
ClickHouse::Codecs::ColumnCodec
Inherits
Reference
<
Object
Constants
MAX_BYTES = (64 * 1024) * 1024
MAX_VALUES = 1000000
Constructors
new
(reader :
Protocol::Reader
|
Nil
= nil, writer :
Protocol::Writer
|
Nil
= nil)
Source
Instance methods
read
(type :
Types::Type
, rows :
Int32
) :
Array
(
Value
)
Source
read_string
(maximum :
Int32
=
MAX_BYTES
) :
String
Source
validate
(type :
Types::Type
) :
Nil
Source
write
(type :
Types::Type
, values :
Array
(
Value
)) :
Nil
Source