View Source ClickHouse.Result (ClickHouse v0.30.1)

The results of a ClickHouse query.

Link to this section Summary

Types

The name of the column.

The names and data types of columns.

The rows returned from ClickHouse.

t()

The result of a ClickHouse query.

Link to this section Types

@type column_name() :: binary()

The name of the column.

@type columns() :: [{column_name(), ClickHouse.data_type()}, ...] | nil

The names and data types of columns.

@type rows() :: [] | [list(), ...] | nil

The rows returned from ClickHouse.

@type t() :: %ClickHouse.Result{
  columns: columns(),
  compressed: boolean(),
  format: ClickHouse.Format.t(),
  meta: map(),
  raw: binary(),
  rows: rows()
}

The result of a ClickHouse query.

Link to this section Functions

@spec decode(t()) :: t()
Link to this function

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

View Source
@spec new(ClickHouse.Client.t(), binary(), binary(), map(), boolean()) :: t()