ClickHouse.Interface.HTTP (ClickHouse v0.17.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 network interface.

Streams the next results of a query via HTTP.

Starts a query result stream via HTTP.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

execute(client, query, opts \\ [])

View Source

Specs

Executes a query via HTTP.

Specs

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

Starts the HTTP network interface.

Link to this function

stream_next(client, stream)

View Source

Specs

Streams the next results of a query via HTTP.

Link to this function

stream_start(client, query, opts \\ [])

View Source

Specs

Starts a query result stream via HTTP.