struct Clickhoused::Packets::Query

Defined in:

clickhoused/packets/query.cr

Constructors

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(id : String, client_name : String, client_version : Clickhoused::Version, client_tcp_protocol_version : UInt64, body : String, quota_key : String, compression : Bool, initial_user : String, initial_address : String, settings : Array(Clickhoused::Packets::Setting) = [] of Setting, parameters : Array(Clickhoused::Parameter) = [] of Parameter) #

[View source]

Instance Method Detail

def body : String #

[View source]
def body=(body : String) #

[View source]
def client_name : String #

[View source]
def client_name=(client_name : String) #

[View source]
def client_tcp_protocol_version : UInt64 #

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

[View source]
def client_version : Version #

[View source]
def client_version=(client_version : Version) #

[View source]
def compression : Bool #

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

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

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def initial_address : String #

[View source]
def initial_address=(initial_address : String) #

[View source]
def initial_user : String #

[View source]
def initial_user=(initial_user : String) #

[View source]
def parameters : Array(Parameter) #

[View source]
def parameters=(parameters : Array(Parameter)) #

[View source]
def quota_key : String #

[View source]
def quota_key=(quota_key : String) #

[View source]
def settings : Array(Setting) #

[View source]
def settings=(settings : Array(Setting)) #

[View source]