Skip to main content
  • showGraph

    public ShowGraphResponse showGraph(ShowGraphRequest request) throws GPUdbException
    Shows information and characteristics of graphs that exist on the graph server.
    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.
  • showGraph

    public ShowGraphResponse showGraph(String graphName, Map<String,String> options) throws GPUdbException
    Shows information and characteristics of graphs that exist on the graph server.
    Parameters:
    graphName - Name of the graph on which to retrieve information. If left as the default value, information about all graphs is returned. The default value is ”.
    options - Optional parameters.
    • SHOW_ORIGINAL_REQUEST: If set to TRUE, the request that was originally used to create the graph is also returned as JSON. 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.
    • EXPORT_GRAPH_SCHEMA: If true, generates the graph ontology (schema) as a DOT format string in the response info field under the key ‘dot’. Supported values:The default value is FALSE.
    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.