A set of parameters for GPUdb::deleteGraph. More…
#include <gpudb/protocol/delete_graph.h>
Public Member Functions | |
| DeleteGraphRequest () | |
| Constructs a DeleteGraphRequest object with default parameters. | |
| DeleteGraphRequest (const std::string &graphName_, const std::map< std::string, std::string > &options_) | |
| Constructs a DeleteGraphRequest object with the specified parameters. | |
Public Attributes | |
| std::string | graphName |
| Name of the graph to be deleted. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::deleteGraph.
Deletes an existing graph from the graph server and/or persist.
Definition at line 18 of file delete_graph.h.
Constructor & Destructor Documentation
◆ DeleteGraphRequest() [1/2]
| inline |
Constructs a DeleteGraphRequest object with default parameters.
Definition at line 23 of file delete_graph.h.
◆ DeleteGraphRequest() [2/2]
| inline |
Constructs a DeleteGraphRequest object with the specified parameters.
| [in] | graphName_ | Name of the graph to be deleted. |
| [in] | options_ | Optional parameters.
|
Definition at line 64 of file delete_graph.h.
Member Data Documentation
◆ graphName
| std::string gpudb::DeleteGraphRequest::graphName |
Name of the graph to be deleted.
Definition at line 73 of file delete_graph.h.
◆ options
| std::map<std::string, std::string> gpudb::DeleteGraphRequest::options |
Optional parameters.
- delete_graph_delete_persist: If set to true, the graph is removed from the server and persist. If set to false, the graph is removed from the server but is left in persist. The graph can be reloaded from persist if it is recreated with the same ‘graph_name’. Supported values:The default value is delete_graph_true.
- delete_graph_server_id: Indicates which graph server(s) to send the request to. Default is to send to get information about all the servers.
The default value is an empty map.
Definition at line 98 of file delete_graph.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/delete_graph.h