QuackDB.Protocol.Value (quackdb v0.2.0)

Copy Markdown View Source

Scalar value conversion for decoded DuckDB vectors.

Converts fixed-width physical values into Elixir terms such as booleans, integers, floats, Date, DateTime, Decimal, and DuckDB-specific temporal and interval structs.

Summary

Functions

decode_fixed(binary, type, atom)

@spec decode_fixed(binary(), map(), atom()) ::
  QuackDB.Protocol.Reader.read_result(term())

decode_sequence(arg1, value)

@spec decode_sequence(map(), integer()) :: term()