Skip to main content

delete_edges

Function delete_edges 

Source
pub fn delete_edges<S: BuildHasher>(
    dir: &Path,
    edge_uuids: &HashSet<[u8; 16], S>,
) -> Result<u64, GfError>
Expand description

Delete the given edges by edge_uuid, rewriting every topology/edges/*.parquet file and dropping the same edges’ rows from any edge_properties/*.parquet.

All rewrites stage and commit as one batch (#790).

Returns the number of edge rows removed.

§Errors

Returns GfError::Storage on any I/O, Arrow, or Parquet failure.