abstract struct Clickhoused::Packets::Block
Direct Known Subclasses
- Clickhoused::Packets::Data
- Clickhoused::Packets::Extremes
- Clickhoused::Packets::ProfileEvents
- Clickhoused::Packets::Totals
Defined in:
clickhoused/packets/block.crConstructors
Class Method Summary
- .decode(reader : Reader, revision : UInt64, packet : UInt8, timezone : Time::Location)
- .decode_block_info(reader : Reader)
Instance Method Summary
- #columns : Array(Column)
- #columns=(columns : Array(Column))
- #encode(writer : Writer, revision : UInt64)
- #encode_block_info(writer : Writer)
- #encode_header(writer : Writer, revision : UInt64)
- #names : Array(String)
- #names=(names : Array(String))
- #packet : UInt8 | Nil
- #packet=(packet : UInt8 | Nil)
- #rows
- #timezone : Time::Location | Nil
- #timezone=(timezone : Time::Location | Nil)
Instance methods inherited from struct Clickhoused::Packet
initialize
initialize
Constructor methods inherited from struct Clickhoused::Packet
new
new
Constructor Detail
def self.new(names : Array(String) = [] of String, packet : UInt8 | Nil = nil, columns : Array(Clickhoused::Column) = [] of Column, timezone : Nil | Time::Location = nil)
#