public class ShowProcStatusRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showProcStatus
.
Shows the statuses of running or completed proc instances. Results are
grouped by run ID (as returned from GPUdb.executeProc
) 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
A set of string constants for the
ShowProcStatusRequest
parameter options . |
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()
Optional parameters.
|
String |
getRunId()
The run ID of a specific proc instance for which the status will be
returned.
|
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)
Optional parameters.
|
ShowProcStatusRequest |
setRunId(String runId)
The run ID of a specific proc instance for which the status will be
returned.
|
String |
toString() |
public ShowProcStatusRequest()
public ShowProcStatusRequest(String runId, Map<String,String> options)
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 GPUdb.executeProc
. If runId
is not
specified, return statuses for all proc
instances where a matching run tag was provided
to GPUdb.executeProc
. The default value is ''.
Map
.public static org.apache.avro.Schema getClassSchema()
public String getRunId()
runId
.public ShowProcStatusRequest setRunId(String runId)
runId
- The new value for runId
.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
.
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
GPUdb.executeProc
. If runId
is not
specified, return statuses for all proc instances where a
matching run tag was provided to GPUdb.executeProc
. The default value is ''.
Map
.options
.public ShowProcStatusRequest setOptions(Map<String,String> options)
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
GPUdb.executeProc
. If runId
is not
specified, return statuses for all proc instances where a
matching run tag was provided to GPUdb.executeProc
. The default value is ''.
Map
.options
- The new value for options
.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 © 2025. All rights reserved.