Skip to main content

◆ 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

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.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ getGraphEntities() [3/4]

GetGraphEntitiesResponse gpudb::GPUdb::getGraphEntities (const std::string &graphName,
const int64_toffset,
const int64_tlimit,
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]graphNameName of the graph from which to retrieve entities.
[in]offsetStarting index of the entities to retrieve (0-based). The default value is 0.
[in]limitNumber 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]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ getGraphEntities() [4/4]

GetGraphEntitiesResponse & gpudb::GPUdb::getGraphEntities (const std::string &graphName,
const int64_toffset,
const int64_tlimit,
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]graphNameName of the graph from which to retrieve entities.
[in]offsetStarting index of the entities to retrieve (0-based). The default value is 0.
[in]limitNumber 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]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).