class Clickhoused::Packets::Setting

Defined in:

clickhoused/packets/query.cr

Constant Summary

SETTING_FLAG_CUSTOM = 2
SETTING_FLAG_IMPORTANT = 1

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, value : BigInt | Bool | Float32 | Float64 | Int128 | Int16 | Int32 | Int8 | String | Time | UInt128 | UInt16 | UInt32 | UInt64 | UInt8 | Nil, important : Bool = false, custom : Bool = false) #

[View source]

Instance Method Detail

def custom : Bool #

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

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

[View source]
def important : Bool #

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

[View source]
def key : String #

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

[View source]
def value : ValueType #

[View source]
def value=(value : ValueType) #

[View source]