CPC G06F 16/24539 (2019.01) | 34 Claims |
1. A computer-executed method comprising:
a database management system (DBMS) maintaining a database that stores a particular graph object that defines a plurality of vertices and a plurality of edges in a plurality of graph database objects wherein the plurality of graph database objects includes a first graph database object that stores the plurality of vertices and a second graph database object that stores the plurality of edges;
compiling a query that calls a graph analytics function (GAF) having the particular graph object as an input argument, comprising generating one or more temporary database objects for a cursor of the query;
executing the query during a particular execution of the cursor, comprising:
invoking the GAF over the particular graph object to produce a plurality of GAF-computed values that are temporary and alive during execution of the query,
storing the plurality of GAF-computed values in the one or more temporary database objects, and
utilizing the plurality of GAF-computed values in the one or more temporary database objects to produce a result set for the query that includes at least a portion of the plurality of GAF-computed values; and
returning the result set as a result of the query;
wherein the method is performed by one or more computing devices.
|