ClickHouse.Interface behaviour (ClickHouse v0.12.0) View Source
A behaviour to implement a network interface with a ClickHouse server.
Link to this section Summary
Callbacks
A callback to execute a query with the network interface.
A callback to start the network interface.
Link to this section Types
Specs
t() :: module()
The ClickHouse network interface.
Link to this section Callbacks
Specs
execute(query :: ClickHouse.Query.t()) :: {:ok, ClickHouse.Result.t()} | {:error, ClickHouse.error()}
A callback to execute a query with the network interface.
Specs
start_link(keyword()) :: GenServer.on_start()
A callback to start the network interface.