1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Canonical value model, identifiers, key layout, encodings, and the
//! maintained-key constants shared by storage, LMPG, and the query engine.
//!
//! This crate defines the vocabulary every other crate agrees on: tenant and
//! record/relationship identities, the order-preserving scalar encoding used
//! by occurrence values and range scans, and the byte-exact key constructors
//! (for example [`keys::occ_key`] and [`keys::presence_key`]). Keeping the
//! key layout here is what lets a persisted database remain readable across
//! engine versions.
/// Replicated command batches, mutations and preconditions.
/// Binary codec of [`command::CommitBatch`] for the WAL, outcome payloads
/// and replication.
/// Canonical date/datetime parsing and formatting helpers.
/// Order-preserving byte encodings for the scalar value model.
/// Error type shared by the canonical type layer.
/// Stable hashing helpers and hash domains.
/// Tenant, record, relationship and dense-ordinal identifiers.
/// Declared secondary indexes.
/// Byte-exact key constructors for the tenant keyspace.
/// Logical types, catalog state, cardinality and nullability.
/// Name tokens and spelling similarity for labels and properties.
/// Occurrence rows, headers and property/embedding metadata.
/// Canonical tenant policy payloads for authorization.
/// Planner value-distribution summaries (estimates, never results).
/// Scalar value model and JSON conversion helpers.
/// Matching a search text against stored values.
pub use TypesError;
/// Convenience alias for a [`std::result::Result`] over [`TypesError`].
pub type Result<T> = Result;