ClickHouse::Config
Constructors
from_string(value : String, *, tls_ca : String | Nil = nil, tls_hostname : String | Nil = nil, tls_verify : Bool | Nil = nil, compression : Symbol | Nil = nil, **options) : self
Sourcenew(host : String = "127.0.0.1", port : Int32 = 9000, database : String = "default", username : String = "default", password : String = "", tls : Bool = false, tls_verify : Bool = true, tls_ca : String | Nil = nil, tls_hostname : String | Nil = nil, compression : Symbol = :none, connect_timeout : Time::Span = 5.seconds, read_timeout : Time::Span = 30.seconds, write_timeout : Time::Span = 30.seconds, query_timeout : Time::Span = 30.seconds, batch_size : Int32 = 1000, batch_bytes : Int32 = (8 * 1024) * 1024, max_result_rows : Int32 = 1000000, max_result_bytes : Int32 = (64 * 1024) * 1024)
SourceInstance methods
batch_bytes
Sourcebatch_size
Sourcecompression
Sourceconnect_timeout
Sourcedatabase
Sourcehost
SourceAppends this struct's name and instance variables names and values to the given IO.
struct Point
def initialize(@x : Int32, @y : Int32)
end
end
p1 = Point.new 1, 2
p1.to_s # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"
max_result_bytes
Sourcemax_result_rows
Sourcepassword
Sourceport
Sourcequery_timeout
Sourceread_timeout
Sourcetls?
Sourcetls_ca
Sourcetls_hostname
Sourcetls_verify?
Sourceusername
Sourcewrite_timeout
Source