class Clickhouse
- Clickhouse
- Reference
- Object
Included Modules
Defined in:
clickhouse.cr:10clickhouse.cr:19
clickhouse/query_builder.cr
clickhouse/query_tokenizer.cr
Constructors
Instance Method Summary
- #connect_timeout : Float64
- #connect_timeout=(v : Float64) : Float64
-
#connect_timeout=(v : Nil)
nil
assignments are always ignored - #connect_timeout? : Float64 | Nil
- #database : String
- #database=(v : String) : String
-
#database=(v : Nil)
nil
assignments are always ignored - #database? : String | Nil
- #dns_timeout : Float64
- #dns_timeout=(v : Float64) : Float64
-
#dns_timeout=(v : Nil)
nil
assignments are always ignored - #dns_timeout? : Float64 | Nil
- #host : String
- #host=(v : String) : String
-
#host=(v : Nil)
nil
assignments are always ignored - #host? : String | Nil
- #logger : Log
- #logger=(v : Log) : Log
-
#logger=(v : Nil)
nil
assignments are always ignored - #logger? : Log | Nil
- #password : String
- #password=(v : String) : String
-
#password=(v : Nil)
nil
assignments are always ignored - #password? : String | Nil
- #port : Int32
- #port=(v : Int32) : Int32
-
#port=(v : Nil)
nil
assignments are always ignored - #port? : Int32 | Nil
- #profile : String
- #profile=(v : String) : String
-
#profile=(v : Nil)
nil
assignments are always ignored - #profile? : String | Nil
- #read_timeout : Float64
- #read_timeout=(v : Float64) : Float64
-
#read_timeout=(v : Nil)
nil
assignments are always ignored - #read_timeout? : Float64 | Nil
- #uri : URI
- #uri=(v : URI) : URI
-
#uri=(v : Nil)
nil
assignments are always ignored - #uri? : URI | Nil
- #user : String
- #user=(v : String) : String
-
#user=(v : Nil)
nil
assignments are always ignored - #user? : String | Nil
Instance methods inherited from module Clickhouse::Reflection
database(name : String) : Database
database,
databases : Array(Database)
databases,
table(database : String, name : String) : Table
table,
tables(database : String) : Array(Table)
tables
Instance methods inherited from module Clickhouse::Executable
before_execute(&callback : HTTP::Client, HTTP::Request -> )
before_execute,
execute(&) : Responseexecute(sql : String) : Response
execute(req : Request) : Response
execute(req : InsertRequest) : Response execute, execute_as_csv(sql : String) : Array(Array(String)) execute_as_csv, execute_as_json(sql : String) : String execute_as_json, insert(sql : String) : Response insert
Constructor Detail
def self.new(host = nil, port = nil, database = nil, user = nil, password = nil, profile = nil, logger = nil, dns_timeout = nil, connect_timeout = nil, read_timeout = nil)
#