Expand description
Standalone OxGraph-native database engine.
oxgraph-db is a product layer above the topology substrate. It owns
durable database identity, cataloged physical projections, properties,
indexes, native OxQL execution, and embedded
transaction semantics. Foundation crates remain storage- and
meaning-neutral.
Modules§
- projection
- Materialized graph and hypergraph projection views.
Structs§
- Bool
- Boolean value-type marker (corresponds to
PropertyType::Boolean). - Bound
- Resolved name→id handles for an applied
Schema. - Catalog
- Db catalog for names, schemas, projections, and indexes.
- Catalog
Summary - Catalog-size summary.
- Checkpoint
Generation - Immutable checkpoint generation identifier.
- Commit
Seq - Monotonic committed transaction sequence.
- Db
- Open OXGDB database handle.
- Element
- An owned element view: id, labels, and all properties in one read.
- Element
Id - Stable canonical element identifier.
- Element
Record - One visible canonical element.
- Equality
Index - An equality index whose indexed key has value type
T. - Graph
Projection Definition - Graph projection definition.
- Graph
Projection Spec - A binary graph-projection declaration over a set of relation types.
- Hypergraph
Projection Definition - Hypergraph projection definition.
- Incidence
Id - Stable canonical incidence identifier.
- Incidence
Record - One visible incidence in canonical database coordinates.
- Index
Entry - Catalog entry for one index.
- IndexId
- Stable catalog index identifier.
- Int
- Integer value-type marker (corresponds to
PropertyType::Integer). - Key
- A property key that carries its value type
Tin the type system. - Label
Definition - Catalog entry for one element or relation label.
- LabelId
- Stable catalog label identifier.
- Prepared
Query - Prepared query plan.
- Projection
Entry - Catalog entry for one projection.
- Projection
Id - Stable catalog projection identifier.
- Properties
- A typed, owned property bag for one subject.
- Property
KeyDefinition - Catalog entry for one typed property key.
- Property
KeyId - Stable catalog property-key identifier.
- Query
Result - Query result materialized for JSON, CLI, and embedded consumers.
- Query
Row - One query result row.
- Range
Index - A range index whose indexed key has value type
T. - ReadPin
- Reader pin identifying the visible database generation.
- Reader
- Read transaction over a pinned snapshot.
- Relation
- An owned relation view: id, type, labels, and all properties in one read.
- Relation
Id - Stable canonical relation identifier.
- Relation
Record - One visible canonical relation.
- Relation
Type Definition - Catalog entry for one relation type.
- Relation
Type Id - Stable catalog relation-type identifier.
- Role
Definition - Catalog entry for one structural incidence role.
- RoleId
- Stable canonical structural role identifier.
- Schema
- A declarative catalog schema, applied once to obtain a
Boundhandle bag. - Stats
- Snapshot of database status.
- Subgraph
- A discovered subgraph: nodes in BFS first-discovery order plus the projection edges among them.
- Text
- Text value-type marker (corresponds to
PropertyType::Text). - Transaction
Id - Monotonic writer transaction identifier.
- Traversed
Edge - One edge traversed by a
walk. - Traversed
Node - One node discovered by a
walk. - Walk
- Bounds for a bounded graph projection
walk. - Writer
- Single writer transaction.
Enums§
- Checkpoint
Policy - Auto-checkpoint policy: decides when a dirty commit should fold the delta-log into a fresh base generation, bounding the log tail that recovery must replay.
- Commit
Outcome - The durable result of a
Db::write: whether a frame landed, and at which commit sequence. - DbError
- Errors raised by the
OxGraphdatabase product. - Direction
- Direction a graph navigation expands along.
- Index
Definition - Index definition stored in the catalog.
- Match
- Lookup input for a cataloged index.
- Projection
Definition - Physical projection definition stored in the catalog.
- Property
Family - Subject family accepted by a property key.
- Property
Subject - Subject that can own properties.
- Property
Type - Supported scalar property types.
- Property
Value - One typed property value.
- Query
Value - Query value variants used by
OxQL.
Traits§
- Assignable
- A Rust value that may be assigned to a property of value type
T. - Readable
- A Rust value that can be read back from a property of value type
T. - Value
Type - A scalar value type usable as a typed-handle marker.