ClickHouse.Result (ClickHouse v0.10.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(), ...] | nil

Specs

name() :: binary()

Specs

t() :: %ClickHouse.Result{
  client: ClickHouse.client(),
  columns: columns(),
  compressed: boolean(),
  data: data(),
  format: ClickHouse.format(),
  meta: map(),
  raw: binary(),
  raw_format: binary()
}

Specs

type() :: atom() | nil

Link to this section Functions

Specs

decode(t()) :: {:ok, t()} | {:error, ClickHouse.FormatError.t()}
Link to this function

new(client, raw, raw_format, meta, compressed)

View Source

Specs

new(ClickHouse.client(), binary(), binary(), map(), boolean()) :: t()