9.49 OPG_APIS.PR_CLEANUP
Format
OPG_APIS.PR_CLEANUP( edge_tab_name IN VARCHAR2, wt_node_pr IN OUT VARCHAR2, wt_node_nextpr IN OUT VARCHAR2, wt_edge_tab_deg IN OUT VARCHAR2, wt_delta IN OUT VARCHAR2, options IN VARCHAR2 DEFAULT NULL);
Description
Performs cleanup after performing page rank calculations.
Parameters
- edge_tab_name
-
Name of the property graph edge table.
- wt_node_pr
-
Name of the working table to hold the page rank values of the vertices.
- wt_node_next_pr
-
Name of the working table to hold the page rank values of the vertices in the next iteration.
- wt_edge_tab_deg
-
Name of the working table to hold edges and node degree information.
- wt_delta
-
Name of the working table to hold information about some special vertices.
- options
-
Additional settings for the operation. An optional string with one or more (comma-separated) of the following values:
-
CREATE_UNDIRECTED=T
-
REUSE_UNDIRECTED_TAB=T
-
Usage Notes
You do not need to do cleanup after each call to the OPG_APIS.PR procedure. You can run several page rank calculations before calling the OPG_APIS.PR_CLEANUP procedure.
Examples
The following example does the cleanup work after running page rank calculations in a property graph named mypg
.
EXECUTE OPG_APIS.PR_CLEANUP('mypgGE$', wt_pr, wt_npr, wt3, wt4, null);
Parent topic: OPG_APIS Package Subprograms