Skip to main content

resolve_sync_rows

Function resolve_sync_rows 

Source
pub fn resolve_sync_rows(
    edges: &[EdgeRow],
    raw_rows: &[RawSyncRow],
) -> Result<Vec<SyncRow>, PostgresGraphError>
Expand description

Resolves persisted sync rows using the current relational edge scan.

§Errors

Returns PostgresGraphError::Build when dense assignment fails, or PostgresGraphError::Sync when a row cannot be decoded or resolved.

§Performance

This function is O(n log n + m + r log r) for edge scan size and row count r.