Skip to main content
Source

pub async fn alter_graph( &self, graph_name: String, action: String, action_arg: String, ) -> Result<AlterGraphResponse, KineticaError>

Admin graph server commands.

For internal use only: Graph server admin command.

  • graph_name - Graph on which the operation should be applied.

    If empty, then it will apply to all graphs.

    This request can be sent from the graph server to the graph client, or from the client to the server depending on the type of operation.

  • action - Operation to be applied.

  • action_arg - Action specific argument.

Source

pub async fn alter_graph_with_opts( &self, graph_name: String, action: String, action_arg: String, options: AlterGraphRequestOptions, ) -> Result<AlterGraphResponse, KineticaError>

Admin graph server commands.

For internal use only: Graph server admin command.

  • graph_name - Graph on which the operation should be applied.

    If empty, then it will apply to all graphs.

    This request can be sent from the graph server to the graph client, or from the client to the server depending on the type of operation.

  • action - Operation to be applied.

  • action_arg - Action specific argument.

  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built AlterGraphRequest to the /alter/graph endpoint.

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