Expand description
Core type definitions for native backend
This module provides all the core structs, enums, and error types needed for the native graph database file format, organized into logical submodules.
Structs§
- Edge
Flags - Edge flags bitfield for marking edge state
- Edge
Record - Edge record structure for API compatibility (V1-style fields for operations) This is converted to CompactEdgeRecord for V2 storage
- File
Header - File header structure for native graph database
- Node
Flags - Node flags bitfield for marking node state
Enums§
- CpuProfile
- CPU Profile for performance optimizations
- Native
Backend Error - Comprehensive error type for native backend operations
Functions§
- node_
slot_ offset - Calculate the file offset for a given node’s slot
Type Aliases§
- File
Offset - File offset within the graph database file
- Native
Edge Id - Native edge identifier (alias for i64 to match existing EdgeId)
- Native
Node Id - Native node identifier (alias for i64 to match existing NodeId)
- Native
Result - Result type alias for native backend operations
- Node
Record - V2-only node record type alias for backward compatibility
- Record
Size - Size of variable-length records