Skip to main content

Module conversion

Module conversion 

Source
Expand description

Data type conversions for streaming executor

Converts between Vertex/Edge and row representations.

Functionsยง

edge_to_row
Convert an Edge to row representation
edges_to_rows
Convert Edge collection to rows, filtering by partition range. Only edges whose source ID can be parsed as i64 are matched against the range; non-numeric source IDs are excluded.
vertex_to_row
Convert a Vertex to row representation
vertices_to_rows
Convert Vertex collection to rows, filtering by partition range. Range uses i64 to match the real vertex ID type and avoid silent truncation of values >= 2^32 or negative IDs.