Skip to main content
Source

pub async fn get_graph_entities( &self, graph_name: String, offset: i64, limit: i64, ) -> Result<GetGraphEntitiesResponse, KineticaError>

Retrieve graph nodes or edges.

Retrieves node or edge entities from an existing graph, with pagination support via offset and limit. Use /show/graph to obtain the total number of nodes and edges.

  • graph_name - Name of the graph from which to retrieve entities.
  • offset - Starting index of the entities to retrieve (0-based).
  • limit - Number of entities to retrieve starting from offset. A value of -1 returns all entities from the offset to the end. Note: the entities_int or entities_string array size will be 2x this value for nodes (stride 2) or 4x for edges (stride 4).

Retrieve graph nodes or edges.

Retrieves node or edge entities from an existing graph, with pagination support via offset and limit. Use /show/graph to obtain the total number of nodes and edges.

  • graph_name - Name of the graph from which to retrieve entities.
  • offset - Starting index of the entities to retrieve (0-based).
  • limit - Number of entities to retrieve starting from offset. A value of -1 returns all entities from the offset to the end. Note: the entities_int or entities_string array size will be 2x this value for nodes (stride 2) or 4x for edges (stride 4).
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built GetGraphEntitiesRequest to the /get/graph/entities endpoint.

Sends a pre-built GetGraphEntitiesRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.