Skip to main content
  • deleteGraph

    public DeleteGraphResponse deleteGraph(DeleteGraphRequest request) throws GPUdbException
    Deletes an existing graph from the graph server and/or persist.
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • deleteGraph

    public DeleteGraphResponse deleteGraph(String graphName, Map<String,String> options) throws GPUdbException
    Deletes an existing graph from the graph server and/or persist.
    Parameters:
    graphName - Name of the graph to be deleted.
    options - Optional parameters.
    • DELETE_PERSIST: If set to TRUE, the graph is removed from the server and persist. If set to FALSE, the graph is removed from the server but is left in persist. The graph can be reloaded from persist if it is recreated with the same ‘graph_name’. Supported values:The default value is TRUE.
    • SERVER_ID: Indicates which graph server(s) to send the request to. Default is to send to get information about all the servers.
    The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.