ExScylla.Types.QueryResultRaw (ex_scylla v0.10.2)

Copy Markdown

Elixir-only decoded shape for query_raw / execute_raw performance paths (not a 1:1 Rust struct). See Rust QueryResult for the driver type this wraps at the protocol level.

A raw representation of a query result for maximum performance. Instead of %ExScylla.Types.Row{columns: [{:type, value}]}, the rows field contains a simple list of lists of values [[value]].

Summary

Types

t()

@type t() :: %ExScylla.Types.QueryResultRaw{
  column_types: [term()],
  paging_state: binary() | nil,
  rows: [[term()]] | nil,
  rows_count: non_neg_integer() | nil,
  serialized_size: non_neg_integer(),
  tracing_id: binary() | nil,
  warnings: [String.t()]
}