Skip to main content
  • showProcStatus

    public ShowProcStatusResponse showProcStatus(ShowProcStatusRequest request) throws GPUdbException
    Shows the statuses of running or completed proc instances. Results are grouped by run ID (as returned from executeProc) and data segment ID (each invocation of the proc command on a data segment is assigned a data segment ID).
    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.
  • showProcStatus

    public ShowProcStatusResponse showProcStatus(String runId, Map<String,String> options) throws GPUdbException
    Shows the statuses of running or completed proc instances. Results are grouped by run ID (as returned from executeProc) and data segment ID (each invocation of the proc command on a data segment is assigned a data segment ID).
    Parameters:
    runId - The run ID of a specific proc instance for which the status will be returned. If a proc with a matching run ID is not found, the response will be empty. If not specified, the statuses of all executed proc instances will be returned. The default value is ”.
    options - Optional parameters.
    • CLEAR_COMPLETE: If set to TRUE, if a proc instance has completed (either successfully or unsuccessfully) then its status will be cleared and no longer returned in subsequent calls. Supported values:The default value is FALSE.
    • RUN_TAG: If runId is specified, return the status for a proc instance that has a matching run ID and a matching run tag that was provided to executeProc. If runId is not specified, return statuses for all proc instances where a matching run tag was provided to executeProc. The default value is ”.
    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.