public class ShowProcStatusRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showProcStatus(ShowProcStatusRequest)
.
Shows the statuses of running or completed proc instances. Results are
grouped by run ID (as returned from GPUdb.executeProc(ExecuteProcRequest)
) and data segment ID (each
invocation of the proc command on a data segment is assigned a data segment
ID).
Modifier and Type | Class and Description |
---|---|
static class |
ShowProcStatusRequest.Options
Optional parameters.
|
Constructor and Description |
---|
ShowProcStatusRequest()
Constructs a ShowProcStatusRequest object with default parameters.
|
ShowProcStatusRequest(String runId,
Map<String,String> options)
Constructs a ShowProcStatusRequest object with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,String> |
getOptions() |
String |
getRunId() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowProcStatusRequest |
setOptions(Map<String,String> options) |
ShowProcStatusRequest |
setRunId(String runId) |
String |
toString() |
public ShowProcStatusRequest()
public ShowProcStatusRequest(String runId, Map<String,String> options)
runId
- The run ID of a specific running or completed proc
instance for which the status will be returned. If the run
ID is not found, nothing will be returned. If not
specified, the statuses of all running and completed 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
.
Map
.public static org.apache.avro.Schema getClassSchema()
public String getRunId()
public ShowProcStatusRequest setRunId(String runId)
runId
- The run ID of a specific running or completed proc
instance for which the status will be returned. If the run
ID is not found, nothing will be returned. If not
specified, the statuses of all running and completed proc
instances will be returned. The default value is ''.this
to mimic the builder pattern.public Map<String,String> getOptions()
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
.
Map
.public ShowProcStatusRequest setOptions(Map<String,String> options)
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
.
Map
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2019. All rights reserved.