abstract struct Clickhoused::Packets::Block

Direct Known Subclasses

Defined in:

clickhoused/packets/block.cr

Constructors

Class Method Summary

Instance Method Summary

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) #

[View source]

Class Method Detail

def self.decode(reader : Reader, revision : UInt64, packet : UInt8, timezone : Time::Location) #

[View source]
def self.decode_block_info(reader : Reader) #

[View source]

Instance Method Detail

def columns : Array(Column) #

[View source]
def columns=(columns : Array(Column)) #

[View source]
def encode(writer : Writer, revision : UInt64) #

[View source]
def encode_block_info(writer : Writer) #

[View source]
def encode_header(writer : Writer, revision : UInt64) #

[View source]
def names : Array(String) #

[View source]
def names=(names : Array(String)) #

[View source]
def packet : UInt8 | Nil #

[View source]
def packet=(packet : UInt8 | Nil) #

[View source]
def rows #

[View source]
def timezone : Time::Location | Nil #

[View source]
def timezone=(timezone : Time::Location | Nil) #

[View source]