Graph Data Science

execution mode

How a GDS algorithm returns its results. One of stats, stream, mutate, write or estimate.

Example

The same algorithm over the same projection, run two ways.

cypher
CALL gds.degree.stream('people')
YIELD nodeId, score
RETURN gds.util.asNode(nodeId).name AS person, score
cypher
CALL gds.degree.write('people', { writeProperty: 'degree' })
YIELD nodePropertiesWritten
RETURN nodePropertiesWritten

stream returns a row for each node and stores nothing. write stores each score on its node in the database and returns how many it wrote.

Lessons that use this term

The lesson and course links below open in a new tab.

No published lesson uses this term yet.

All glossary terms