Clickhouse.Result (Clickhouse v0.5.1) View Source

The results of a Clickhouse query.

Link to this section Summary

Link to this section Types

Specs

columns() :: [{name(), type()}, ...] | nil

Specs

data() :: [] | [list(), ...]

Specs

name() :: binary()

Specs

t() :: %Clickhouse.Result{
  client: Clickhouse.client(),
  columns: columns(),
  data: data(),
  format: Clickhouse.format(),
  raw: binary(),
  raw_format: binary()
}

Specs

type() :: atom() | nil

Link to this section Functions

Link to this function

finalize(result, columns, data)

View Source

Specs

finalize(t(), columns(), data()) :: t()
Link to this function

new(client, raw, raw_format)

View Source

Specs

new(Clickhouse.client(), binary(), binary()) :: t()