There are two kinds of execution result of Ultipa graph algorithms: Algorithm Results and Algorithm Statistics. Some algorithms can return both whereas others only return one of them. The type of result to be returned is determined by the specified execution method.
Algorithm results is a data stream of multiple columns. For instance, there are two columns contained in the results of the Degree algorithm, which are the unique identifiers of nodes (column name is
_uuid) and the calculated degrees of nodes (column name is
degree). Example as below:
Algorithm statistics is a data row of one or multiple KVs (Key-Value). For instance, the statistics of the Louvain algorithm contains two KVs, the two keys are the community count (
community_count) and modularity of the community (
modularity). Example as below: