API Reference barrel v#1.0.0

View Source

Modules

Barrel: the embeddable edge database.

barrel application module.

A live BQL query: one process per SUBSCRIBE statement, pushing the initial snapshot and then add/change/remove deltas to its owner.

Supervisor for live BQL queries: one temporary worker per SUBSCRIBE statement.

BQL execution in barrel: collection sources delegate to the docdb executor; table-function sources (vector_top_k, bm25_top_k, hybrid_top_k) run here, where the vector store and the embedder live.

Composed database lifecycle manager.

Embedding policy for record-mode databases.

Vector backfill for a freshly-branched record database.

Read-through docstore adapter for record-mode databases.

Record indexer: drives vector indexing from the embed outbox.

Supervisor for record-mode indexers: one transient barrel_record_indexer child per record-mode database, started when the database opens and stopped when it closes. A crashed indexer restarts with the same config and re-drives pending outbox entries (processing is idempotent).

barrel top level supervisor.