Skip to main content
  • killProc

    public KillProcResponse killProc(KillProcRequest request) throws GPUdbException
    Kills a running proc instance.
    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.
  • killProc

    public KillProcResponse killProc(String runId, Map<String,String> options) throws GPUdbException
    Kills a running proc instance.
    Parameters:
    runId - The run ID of a running proc instance. If a proc with a matching run ID is not found or the proc instance has already completed, no procs will be killed. If not specified, all running proc instances will be killed. The default value is ”.
    options - Optional parameters.
    • RUN_TAG: If runId is specified, kill the proc instance that has a matching run ID and a matching run tag that was provided to executeProc. If runId is not specified, kill the proc instance(s) where a matching run tag was provided to executeProc. The default value is ”.
    • CLEAR_EXECUTE_AT_STARTUP: If TRUE, kill and remove the instance of the proc matching the auto-start run ID that was created to run when the database is started. The auto-start run ID was returned from executeProc and can be retrieved using showProc. 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.