Module terminus_store::layer
source · Expand description
Logic for working with layers.
Databases in terminus-store are stacks of layers. The first layer in such a stack is a base layer, which contains an intial data set. On top of that, each layer stores additions and removals.
Re-exports§
pub use id_map::*;
Modules§
- Base layer implementation.
- Child layer implementation
Structs§
- A base layer.
- A builder for a base layer.
- Second phase of base layer building.
- A child layer.
- A builder for a child layer.
- Second phase of child layer building.
- A triple, stored as numerical ids.
- A triple where the subject, predicate and object can all either be fully resolved to an id, or unresolved.
- A layer builder
- A triple stored as strings.
Enums§
- The type of an object in a triple.
- Either a resolved id or an unresolved inner type.
Traits§
- A layer containing dictionary entries and triples.
- A layer builder trait with no generic typing.