pub struct CanonicalGraphSnapshotExport {
pub graph_commit_epoch: u64,
pub logical_checksum: u64,
pub stable_identity: CanonicalSnapshotIdentityAudit,
pub nodes: Vec<CanonicalSnapshotNode>,
pub relationships: Vec<CanonicalSnapshotRelationship>,
}Fields§
§graph_commit_epoch: u64§logical_checksum: u64§stable_identity: CanonicalSnapshotIdentityAudit§nodes: Vec<CanonicalSnapshotNode>§relationships: Vec<CanonicalSnapshotRelationship>Implementations§
Source§impl CanonicalGraphSnapshotExport
impl CanonicalGraphSnapshotExport
Sourcepub fn from_rows(
graph_commit_epoch: u64,
nodes: Vec<CanonicalSnapshotNode>,
relationships: Vec<CanonicalSnapshotRelationship>,
) -> Self
pub fn from_rows( graph_commit_epoch: u64, nodes: Vec<CanonicalSnapshotNode>, relationships: Vec<CanonicalSnapshotRelationship>, ) -> Self
Build a canonical snapshot at a host-owned source watermark.
Importers use this at the boundary where a foreign graph has already been read consistently. Keeping checksum and stable-identity derivation here prevents each host integration from reimplementing that contract.
pub fn with_stable_id_mapping(&self, mapping: &CanonicalStableIdMapping) -> Self
pub fn hawdb_lightning_bootstrap_manifest( &self, relational_stream: &HawDBLightningRelationalStream, ) -> HawDBLightningBootstrapManifest
pub fn hawdb_lightning_graph_stream(&self) -> HawDBLightningGraphStream
pub fn validate(&self) -> CanonicalGraphSnapshotValidation
Trait Implementations§
Source§impl Clone for CanonicalGraphSnapshotExport
impl Clone for CanonicalGraphSnapshotExport
Source§impl Debug for CanonicalGraphSnapshotExport
impl Debug for CanonicalGraphSnapshotExport
impl Eq for CanonicalGraphSnapshotExport
impl StructuralPartialEq for CanonicalGraphSnapshotExport
Auto Trait Implementations§
impl Freeze for CanonicalGraphSnapshotExport
impl RefUnwindSafe for CanonicalGraphSnapshotExport
impl Send for CanonicalGraphSnapshotExport
impl Sync for CanonicalGraphSnapshotExport
impl Unpin for CanonicalGraphSnapshotExport
impl UnsafeUnpin for CanonicalGraphSnapshotExport
impl UnwindSafe for CanonicalGraphSnapshotExport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more