package neodriver

  1. Overview
  2. Docs

Module NeodriverSource

Friendly names for the whole Neo4j driver.

Aggregates the public API of all packages under a single namespace, so consumers can `open Neodriver` and use Packstream, Errors, Config, Addressing, Deadline, Conn, Session, Tx, Transport, Tls_client, Bolt, State, Values, Temporal, Hydration, Capabilities, Neo4jResult, Summary and Driver directly.

PackStream binary serialization.

Error taxonomy.

Configuration records.

Server addresses and URI parsing.

Deadlines.

Temporal value types.

Rich value types.

Hydration.

Sourcemodule Capabilities = Neodriver_core.Capabilities

Per-version Bolt protocol capabilities.

Sourcemodule Routing_table = Neodriver_core.Routing_table

Routing tables for neo4j:// (routed) drivers.

Sourcemodule Auth_manager = Neodriver_core.Auth_manager

Authentication tokens and auth managers.

An immutable set of bookmark string values (causal chaining).

Sourcemodule Bookmark_manager = Neodriver_core.Bookmark_manager

Bookmark managers (sharing bookmarks across sessions).

Minimal Bolt connection (connect, authenticate, run/pull/discard, transactions).

Per-session connection: auto-commit queries, explicit and managed transactions.

Explicit transactions (BEGIN/COMMIT/ROLLBACK).

Eio-based TCP transport with Bolt message framing.

Sourcemodule Tls_client = Neodriver_eio.Tls_client

TLS client settings: the trust anchors (System, Trust_all or custom certificates) used to validate server certificates.

Loading PEM private keys, including the legacy OpenSSL-encrypted form.

Bolt protocol messages (send/receive and response interpretation).

Bolt server-state machine.

Minimal routing for neo4j:// drivers (routing tables + per-address pools).

Sourcemodule Neo4jResult = Neodriver_eio.Neo4jResult

A lazily-streamed query result (next/peek/fetch/consume/single).

Sourcemodule EagerResult = Neodriver_eio.EagerResult

An in-memory (eager) query result (keys / records / summary).

The summary of a query result (counters, plan, notifications, ...).

Eio backend entry point (Driver.connect).

Logging infrastructure (Logs sources, connection ids, value formatting and the NEO4J_LOG_LEVEL / NEO4J_LOG_SCOPES environment control).