◆ getGraphEntities() [1/4]
| GetGraphEntitiesResponse gpudb::GPUdb::getGraphEntities | ( | const GetGraphEntitiesRequest & | request_ | ) | const |
Retrieves node or edge entities from an existing graph, with pagination support via offset and limit.
Use showGraph to obtain the total number of nodes and edges.
Parameters
| [in] | request_ | Request object containing the parameters for the operation. |
Returns
Response object containing the result of the operation.
◆ getGraphEntities() [2/4]
| GetGraphEntitiesResponse & gpudb::GPUdb::getGraphEntities | ( | const GetGraphEntitiesRequest & | request_, |
| GetGraphEntitiesResponse & | response_ ) const |
◆ getGraphEntities() [3/4]
| GetGraphEntitiesResponse gpudb::GPUdb::getGraphEntities | ( | const std::string & | graphName, |
| const int64_t | offset, | ||
| const int64_t | limit, | ||
| const std::map< std::string, std::string > & | options ) const |
Retrieves node or edge entities from an existing graph, with pagination support via offset and limit.
Use showGraph to obtain the total number of nodes and edges.
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.
|
Returns
Response object containing the result of the operation.
◆ getGraphEntities() [4/4]
| GetGraphEntitiesResponse & gpudb::GPUdb::getGraphEntities | ( | const std::string & | graphName, |
| const int64_t | offset, | ||
| const int64_t | limit, | ||
| const std::map< std::string, std::string > & | options, | ||
| GetGraphEntitiesResponse & | response_ ) const |
Retrieves node or edge entities from an existing graph, with pagination support via offset and limit.
Use showGraph to obtain the total number of nodes and edges.
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.
|
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).