Module: Tina4Ultipa

Defined in:
lib/tina4_ultipa/codec.rb,
lib/tina4_ultipa.rb,
lib/tina4_ultipa/client.rb,
lib/tina4_ultipa/errors.rb,
lib/tina4_ultipa/version.rb

Overview

Encode/decode gqldb TypedValue <-> Ruby values.

Grounded against the official gqldb-nodejs SDK decoder and verified live against gqldb-grpc 6.2.130 CE. All multi-byte integers are little-endian. Mirrors the Python reference _codec.py, which passes all live tests.

Inside composites (node/edge/map/list/table props) each value is a TypedValueEntry: type:u8 · isNull:u8 · dataLen:u32 · data - a 1-byte type plus a 1-byte is-null (NOT a u16 type); a set is-null yields nil regardless of data.

Defined Under Namespace

Modules: Codec Classes: Client, ConnectError, Error, Result

Constant Summary collapse

DEFAULT_PORT =
60_061
VERSION =
"0.1.0"