Expand description
The core types you’ll work with in Grafeo.
Most of these are re-exported from the main grafeo crate, so you rarely
need to import from here directly.
- IDs:
NodeId,EdgeId- handles to graph elements - Values:
Value- the dynamic type for properties - Keys:
PropertyKey- interned property names - Time:
Timestamp- for temporal properties
Structs§
- ArcStr
- A better atomically-reference counted string type.
- Date
- A calendar date, stored as days since Unix epoch (1970-01-01).
- Duration
- An ISO 8601 duration with separate month, day, and nanosecond components.
- EdgeId
- Identifies an edge (relationship) in the graph.
- Edge
Type Id - Unique identifier for an edge type in the catalog.
- EpochId
- Identifies an epoch for memory management.
- Hashable
Value - A hashable wrapper around
Valuefor use in hash-based indexes. - IndexId
- Unique identifier for an index in the catalog.
- LabelId
- Unique identifier for a label in the catalog.
- NodeId
- Identifies a node in the graph.
- Ordered
Float64 - A wrapper around
f64that implementsOrdwith total ordering. - Property
Key - An interned property name - cheap to clone and compare.
- Property
KeyId - Unique identifier for a property key in the catalog.
- Property
Map - A compact, ordered property map.
- Time
- A time of day with optional UTC offset.
- Timestamp
- A point in time, stored as microseconds since Unix epoch.
- Transaction
Id - Identifies a transaction for MVCC versioning.
- Validity
Ts - Reverse-ordered validity timestamp for efficient disk-storage scans.
- Zoned
Datetime - A datetime with a fixed UTC offset.
Enums§
- Logical
Type - Describes the type of a value or column.
- Orderable
Value - An orderable wrapper around
Valuefor use in B-tree indexes and range queries. - Value
- A dynamically-typed property value.