Skip to main content

grafeo_common/types/
mod.rs

1//! The core types you'll work with in Grafeo.
2//!
3//! Most of these are re-exported from the main `grafeo` crate, so you rarely
4//! need to import from here directly.
5//!
6//! - **IDs**: [`NodeId`], [`EdgeId`] - handles to graph elements
7//! - **Values**: [`Value`] - the dynamic type for properties
8//! - **Keys**: [`PropertyKey`] - interned property names
9//! - **Time**: [`Timestamp`] - for temporal properties
10
11mod date;
12mod duration;
13mod id;
14mod logical_type;
15mod property_map;
16mod time;
17mod timestamp;
18mod validity;
19mod value;
20mod zoned_datetime;
21
22pub use date::Date;
23pub use duration::Duration;
24pub use id::{EdgeId, EdgeTypeId, EpochId, IndexId, LabelId, NodeId, PropertyKeyId, TransactionId};
25pub use logical_type::LogicalType;
26pub use property_map::PropertyMap;
27pub use time::Time;
28pub use timestamp::Timestamp;
29pub use validity::ValidityTs;
30pub use value::{HashableValue, OrderableValue, OrderedFloat64, PropertyKey, Value};
31pub use zoned_datetime::ZonedDatetime;
32
33// Re-export ArcStr so downstream crates don't need a direct arcstr dependency.
34pub use arcstr::ArcStr;