Clickhouse.Interface.HTTP (Clickhouse v0.5.2) View Source

An interface to interact with a Clickhouse server via HTTP.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Executes a query via HTTP.

Starts the HTTP interface server.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

execute(Clickhouse.Query.t()) ::
  {:error, Clickhouse.Error.t()} | {:ok, Clickhouse.Result.t()}

Executes a query via HTTP.

Specs

start_link(keyword()) :: GenServer.on_start()

Starts the HTTP interface server.