Skip to main content

Module types

Module types 

Source
Expand description

Core type system: LogicalType, PhysicalType, Value, InternalID, date/time types.

Structs§

Date
Date representation (days since epoch).
InternalID
A 4-byte aligned, 8-byte internal node/rel identifier.
Interval
Interval (duration).
Timestamp
Timestamp representation (microseconds since epoch).
TimestampTZ
Timestamp with timezone.

Enums§

LogicalTypeID
Logical type identifiers for Akar’s type system.
PhysicalTypeID
Physical type identifiers for in-memory representation.
Value
A Akar value — the runtime representation of any data type.

Functions§

extract_f64_list
Extract a Vec<f64> from a Value (expects Value::List of numbers).
physical_type_from_logical
Map a LogicalTypeID to its corresponding PhysicalTypeID.
pk_value_to_string
Render a Value as the canonical string key used by hash indexes on primary keys.
value_to_csv_string
Render a Value as a CSV cell: Null becomes an empty field, anything else uses the canonical scalar rendering (pk_value_to_string).