The UQL statement of algorithm execution starts with command algo()
, the name of the algorithm is to be specified in it, such as algo(degree)
. Following the command are algorithm parameters as listed below:
Parameter | Data Type | Specification | Description |
---|---|---|---|
params() |
obj | Mandatory | To configure the algorithm with objects wrapped by key-value (KV) pairs; see each algorithm chapter for the configuration details |
node_filter() |
obj | Filter | The filtering rules for all nodes; nodes do not satisfy the rules will be ignored |
edge_filter() |
obj | Filter | The filtering rules for all edges; edges do not satisfy the rules will be ignored |
Parameters
node_filter()
andedge_filter()
will be supported successively, thus they are not detailed in each algorithm chapter yet.
Besides the command and pararmeters, it is also required to appoint the execution method of the algorithm.