Skip to main content

Module types

Module types 

Source
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.

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.
EdgeTypeId
Unique identifier for an edge type in the catalog.
EpochId
Identifies an epoch for memory management.
HashableValue
A hashable wrapper around Value for 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.
OrderedFloat64
A wrapper around f64 that implements Ord with total ordering.
PropertyKey
An interned property name - cheap to clone and compare.
PropertyKeyId
Unique identifier for a property key in the catalog.
PropertyMap
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.
TransactionId
Identifies a transaction for MVCC versioning.
ValidityTs
Reverse-ordered validity timestamp for efficient disk-storage scans.
ZonedDatetime
A datetime with a fixed UTC offset.

Enums§

LogicalType
Describes the type of a value or column.
OrderableValue
An orderable wrapper around Value for use in B-tree indexes and range queries.
Value
A dynamically-typed property value.