struct Clickhoused::Packets::Progress

Defined in:

clickhoused/packets/progress.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(rows : UInt64, bytes : UInt64, total_rows : UInt64, wrote_rows : UInt64 | Nil = nil, wrote_bytes : UInt64 | Nil = nil, with_client : Bool = false, elapsed : Time::Span | Nil = nil) #

[View source]

Class Method Detail

def self.decode(reader : Reader, revision : UInt64) #

[View source]

Instance Method Detail

def bytes : UInt64 #

[View source]
def bytes=(bytes : UInt64) #

[View source]
def elapsed : Time::Span | Nil #

[View source]
def elapsed=(elapsed : Time::Span | Nil) #

[View source]
def encode(buffer : Buffer) #

[View source]
def rows : UInt64 #

[View source]
def rows=(rows : UInt64) #

[View source]
def total_rows : UInt64 #

[View source]
def total_rows=(total_rows : UInt64) #

[View source]
def with_client : Bool #

[View source]
def with_client=(with_client : Bool) #

[View source]
def wrote_bytes : UInt64 | Nil #

[View source]
def wrote_bytes=(wrote_bytes : UInt64 | Nil) #

[View source]
def wrote_rows : UInt64 | Nil #

[View source]
def wrote_rows=(wrote_rows : UInt64 | Nil) #

[View source]