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 fromoffset. A value of -1 returns all entities from the offset to the end. Note: theentities_intorentities_stringarray size will be 2x this value for nodes (stride 2) or 4x for edges (stride 4).
Source
pub async fn get_graph_entities_with_opts( &self, graph_name: String, offset: i64, limit: i64, options: GetGraphEntitiesRequestOptions, ) -> 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 fromoffset. A value of -1 returns all entities from the offset to the end. Note: theentities_intorentities_stringarray 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.
Source
pub async fn get_graph_entities_raw( &self, request: &GetGraphEntitiesRequest, ) -> Result<GetGraphEntitiesResponse, KineticaError>
Sends a pre-built GetGraphEntitiesRequest to the /get/graph/entities endpoint.
Source
pub async fn get_graph_entities_from_url( &self, url: &str, request: &GetGraphEntitiesRequest, ) -> Result<GetGraphEntitiesResponse, KineticaError>
Sends a pre-built GetGraphEntitiesRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.