Expand description
Store lifecycle and memory accounting. Store lifecycle and memory accounting.
Modules§
- durability
- Explicit per-store and per-commit durability policy.
- lock
- Store ownership via a process-local registry and an OS file lock.
Structs§
- Cancel
Token - A clonable, thread-safe request to cancel one query without partial results.
- Cascade
Rule - A child namespace’s ownership reference to a parent namespace.
- Deadline
- A monotonic absolute query deadline.
- Document
Count - Exact live-row count from one pinned store generation.
- Document
Fields - Bit-set selecting the optional fields copied by
Store::get_documents. - Document
Group - One group and its exact live-document count.
- Document
Group Counts - Grouped live-document counts from one pinned store generation.
- Document
Scan Cursor - Opaque-to-callers continuation for one published store generation.
- Document
Scan Page - One bounded page returned by
Store::scan_documents. - Document
Scan Request - One bounded document-scan request.
- Graph
Search Options - Traversal controls carried only when a caller explicitly selects the graph tier.
- InMemory
Segment - One complete already-built segment whose vector buffers can be adopted by a store.
- Live
Namespace Mutation - A same-process writable participant and its ordered mutations.
- Materialized
Row - One owned source row corresponding to a ranked query hit.
- Namespace
Mutation - One namespace’s ordered upserts, deletes, then predicate delete.
- Namespace
Root Id - Random, nonzero identity of a complete namespace root, independent of its path.
- Open
Migrations - Changes completed by this open. Format versions remain manifest v2 / WAL v1.
- Open
Options - Store-open configuration.
- Prepared
Segment - Store-owned, exactly accounted anonymous buffers waiting to be sealed.
- Published
Snapshot - One atomically published generation and its immutable segment readers.
- Query
Cancellation - Cheap cooperative stop check shared by one query and its snapshot lease.
- Query
Filter - Validated scan-compatible query constraints. Ranking statistics remain corpus-wide.
- Query
Materializer - Rank-addressed text access available only inside a Store query callback.
- Scan
Rescore Options - Controls the candidate frontier of each active or sealed segment.
- Search
Options - Store-search controls, separating scan worker budget from tier selection.
- Snapshot
Lease - One admitted read’s strong ownership of its published snapshot.
- Stats
- One point-in-time snapshot of resources owned by an open
Store. - Store
- One explicitly closeable embedded-store handle.
- Stored
Document - One live document copied from a single pinned store generation.
- System
Monotonic Clock - The standard-library monotonic clock used by ordinary stores.
Enums§
- Access
Mode - Filesystem authority requested for one store handle.
- Deadline
Error - Failure while constructing a monotonic deadline.
- Document
Group Value - The value shared by every document of one group.
- Document
Scan Source - Source position named by a document-scan continuation.
- Hybrid
Preparation Error - Preserves a deferred vector producer’s typed error separately from search.
- InMemory
Segment Factors - Owned vector-factor buffers for one already-built in-memory segment.
- Materialization
Error - A ranked row could not be materialized faithfully.
- Query
Control - The mandatory cooperative stop mechanism carried by one store query.
- Query
Error - Typed failure from a store-admitted query.
- Scan
Direction - Direction of an attribute-ordered document scan.
- Scan
Order - Deterministic ordering used by
Store::scan_documents. - Search
Tier - Per-query execution tier at the public store seam.
- Snapshot
Target Reason - Why a snapshot target was rejected.
- Store
Error - An open, lifecycle, or close operation was rejected.
- Store
Error Kind - Coarse, exhaustive classification of a
StoreError, stable for hosts that map engine failures onto their own status codes. Every variant ofStoreErrormaps to exactly one kind; adding a variant is a compile error here until it is classified. - Store
State - Explicit lifecycle state for one store handle.
Constants§
- DEFAULT_
READER_ DRAIN_ TIMEOUT - Default grace period given to admitted readers before close cancellation.
- MAX_
DOCUMENT_ GROUP_ LIMIT - Largest group
limitaccepted byStore::count_documents_grouped. - MAX_
DOCUMENT_ SCAN_ LIMIT - Largest document page accepted by the core and C ABI.
Traits§
- Monotonic
Clock - A monotonic time source.
Functions§
- namespace_
batch - Atomically commits ordered namespace mutations through one root rename.
- namespace_
batch_ live - Commits changes through caller-owned writable namespace handles.
- namespace_
declare_ cascade - Durably declares a cascade while owning the root and participant writer locks. Participants supply the existing parent/child specs; mutation fields must be empty.
- namespace_
delete_ cascade - Deletes explicit IDs and all declared transitive dependants in one root commit.
Supply every reachable namespace with its existing options. Only
deletesmay be populated. All ZE-239 closed-writer and logical-deletion limits apply. - namespace_
relocate - Converts a complete legacy namespace root into an absent destination.