Expand description
Handshake frames and per-operation limits for the native binary protocol.
Structs§
- Hello
AckFrame - Server’s response to a
HelloFrame. - Hello
Error Frame - Frame sent by the server when it rejects a
HelloFrame. - Hello
Frame - First frame sent by the client after TCP connection.
- Limits
- Per-operation capability limits negotiated during the connection handshake.
Enums§
- Hello
Error Code - Error code sent in a
HelloErrorFramewhen the server rejects a handshake.
Constants§
- CAP_
COLUMNAR - Capability bit: server supports columnar scan.
- CAP_
CRDT - Capability bit: server supports CRDT sync.
- CAP_FTS
- Capability bit: server supports full-text search opcodes.
- CAP_
GRAPHRAG - Capability bit: server supports GraphRAG fusion (
GraphRagFusionopcode). - CAP_
MSGPACK - Capability bit: connection uses MessagePack framing (always set for native protocol).
- CAP_
SPATIAL - Capability bit: server supports spatial operations.
- CAP_
STREAMING - Capability bit: server supports streaming (partial-response chunking).
- CAP_
TIMESERIES - Capability bit: server supports timeseries operations.
- DEFAULT_
NATIVE_ PORT - Default server port for the native protocol.
- FRAME_
HEADER_ LEN - Length of the frame header (4-byte big-endian u32 payload length).
- HELLO_
ACK_ MAGIC - Magic bytes for
HelloAckFrame: b“NDBA“. - HELLO_
ERROR_ MAGIC - Magic bytes for
HelloErrorFrame:b"NDBE". - HELLO_
ERROR_ MAGIC_ U32 - Magic for
HelloErrorFrameas au32(big-endian: 0x4E44_4245). - HELLO_
MAGIC - Magic bytes for
HelloFrame: b“NDBH“. - MAX_
FRAME_ SIZE - Maximum frame payload size (16 MiB).
- PROTO_
VERSION - Current native protocol version advertised in
HelloFrame. - PROTO_
VERSION_ MAX - Maximum protocol version this server can speak.
- PROTO_
VERSION_ MIN - Minimum protocol version this server accepts from clients.