public class AdminAlterJobsRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminAlterJobs(AdminAlterJobsRequest)
.
Perform the requested action on a list of one or more job(s). Based on the type of job and the current state of execution, the action may not be successfully executed. The final result of the attempted actions for each specified job is returned in the status array of the response. See Job Manager for more information.
Modifier and Type | Class and Description |
---|---|
static class |
AdminAlterJobsRequest.Action
Action to be performed on the jobs specified by job_ids.
|
Constructor and Description |
---|
AdminAlterJobsRequest()
Constructs an AdminAlterJobsRequest object with default parameters.
|
AdminAlterJobsRequest(List<Integer> jobIds,
String action,
Map<String,String> options)
Constructs an AdminAlterJobsRequest 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.
|
String |
getAction() |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Integer> |
getJobIds() |
Map<String,String> |
getOptions() |
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.
|
AdminAlterJobsRequest |
setAction(String action) |
AdminAlterJobsRequest |
setJobIds(List<Integer> jobIds) |
AdminAlterJobsRequest |
setOptions(Map<String,String> options) |
String |
toString() |
public AdminAlterJobsRequest()
public static org.apache.avro.Schema getClassSchema()
public AdminAlterJobsRequest setJobIds(List<Integer> jobIds)
jobIds
- Jobs to be modified.this
to mimic the builder pattern.public String getAction()
public AdminAlterJobsRequest setAction(String action)
action
- Action to be performed on the jobs specified by job_ids.
Supported values:
this
to mimic the builder pattern.public Map<String,String> getOptions()
Map
.public AdminAlterJobsRequest setOptions(Map<String,String> options)
options
- Optional parameters. The default value is an empty
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.