showProcStatus
Shows the statuses of running or completed proc instances. Results are grouped by run ID (as returned fromexecuteProc) and data segment ID (each invocation of the proc command on a data segment is assigned a data segment ID).Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject 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 fromexecuteProc) 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 toTRUE, 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 isFALSE.RUN_TAG: IfrunIdis specified, return the status for a proc instance that has a matching run ID and a matching run tag that was provided toexecuteProc. IfrunIdis not specified, return statuses for all proc instances where a matching run tag was provided toexecuteProc. The default value is ”.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.