Clickhouse.Interface behaviour (Clickhouse v0.3.1) View Source

A behaviour to implement an interface to interact with a Clickhouse server.

Link to this section Summary

Functions

Executes a query with an interface.

Link to this section Functions

Specs

execute(Clickhouse.Query.t()) :: any()

Executes a query with an interface.

Link to this section Callbacks

Specs

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

Specs

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