|
GPUdb C++ API
Version 7.2.3.0
|
A set of parameters for GPUdb::getGraphEntities. More...
#include <gpudb/protocol/get_graph_entities.h>
Public Member Functions | |
| GetGraphEntitiesRequest () | |
| Constructs a GetGraphEntitiesRequest object with default parameters. More... | |
| GetGraphEntitiesRequest (const std::string &graphName_, const int64_t offset_, const int64_t limit_, const std::map< std::string, std::string > &options_) | |
| Constructs a GetGraphEntitiesRequest object with the specified parameters. More... | |
Public Attributes | |
| std::string | graphName |
| Name of the graph from which to retrieve entities. More... | |
| int64_t | offset |
| Starting index of the entities to retrieve (0-based). More... | |
| int64_t | limit |
| Number of entities to retrieve starting from offset. More... | |
| std::map< std::string, std::string > | options |
| Optional parameters. More... | |
A set of parameters for GPUdb::getGraphEntities.
Retrieves node or edge entities from an existing graph, with pagination support via offset and limit. Use GPUdb::showGraph to obtain the total number of nodes and edges.
Definition at line 21 of file get_graph_entities.h.
|
inline |
Constructs a GetGraphEntitiesRequest object with default parameters.
Definition at line 26 of file get_graph_entities.h.
|
inline |
Constructs a GetGraphEntitiesRequest object with the specified parameters.
| [in] | graphName_ | Name of the graph from which to retrieve entities. |
| [in] | offset_ | Starting index of the entities to retrieve (0-based). The default value is 0. |
| [in] | limit_ | Number of entities to retrieve starting from offset_. A value of -1 returns all entities from the offset to the end. Note: the entitiesInt or entitiesString array size will be 2x this value for nodes (stride 2) or 4x for edges (stride 4). The default value is 10000. |
| [in] | options_ | Optional parameters.
|
Definition at line 82 of file get_graph_entities.h.
| std::string gpudb::GetGraphEntitiesRequest::graphName |
Name of the graph from which to retrieve entities.
Definition at line 93 of file get_graph_entities.h.
| int64_t gpudb::GetGraphEntitiesRequest::limit |
Number of entities to retrieve starting from offset.
A value of -1 returns all entities from the offset to the end. Note: the entitiesInt or entitiesString array size will be 2x this value for nodes (stride 2) or 4x for edges (stride 4). The default value is 10000.
Definition at line 109 of file get_graph_entities.h.
| int64_t gpudb::GetGraphEntitiesRequest::offset |
Starting index of the entities to retrieve (0-based).
The default value is 0.
Definition at line 99 of file get_graph_entities.h.
| std::map<std::string, std::string> gpudb::GetGraphEntitiesRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 135 of file get_graph_entities.h.