pub async fn repartition_graph( &self, graph_name: String, ) -> Result<RepartitionGraphResponse, KineticaError>
Rebalance existing partitioned graph network.
Rebalances an existing partitioned graph.
IMPORTANT: It’s highly recommended that you review the Graphs and Solvers concepts documentation, the Graph REST Tutorial, and/or some graph examples before using this endpoint.
graph_name- Name of the graph resource to rebalance.
pub async fn repartition_graph_with_opts( &self, graph_name: String, options: RepartitionGraphRequestOptions, ) -> Result<RepartitionGraphResponse, KineticaError>
Rebalance existing partitioned graph network.
Rebalances an existing partitioned graph.
IMPORTANT: It’s highly recommended that you review the Graphs and Solvers concepts documentation, the Graph REST Tutorial, and/or some graph examples before using this endpoint.
graph_name- Name of the graph resource to rebalance.options- The optional parameters; any left unset take the server’s defaults.
pub async fn repartition_graph_raw( &self, request: &RepartitionGraphRequest, ) -> Result<RepartitionGraphResponse, KineticaError>
Sends a pre-built RepartitionGraphRequest to the /repartition/graph endpoint.
pub async fn repartition_graph_from_url( &self, url: &str, request: &RepartitionGraphRequest, ) -> Result<RepartitionGraphResponse, KineticaError>
Sends a pre-built RepartitionGraphRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.