class Clickhoused::Connection

Defined in:

clickhoused/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host, port, database, username, password) #

[View source]

Instance Method Detail

def close #

[View source]
def flush #

[View source]
def handshake(database : String, username : String, password : String) #

[View source]
def read_data(kind : T.class, packet : UInt8, compressible : Bool) forall T #

[View source]
def read_packet : ServerPacket #

[View source]
def revision : UInt64 #

def revision=(revision : UInt64) #

[View source]
def revision? : UInt64 | Nil #

def send_cancel #

[View source]
def send_data(block : Packets::Block, name : String) #

[View source]
def send_ping #

[View source]
def send_query(body : String, options : QueryOptions) #

[View source]
def server : Packets::ServerHello #

def server=(server : Packets::ServerHello) #

[View source]
def server? : Packets::ServerHello | Nil #