Package com.gpudb.protocol
Class AdminAlterJobsRequest
java.lang.Object
com.gpudb.protocol.AdminAlterJobsRequest
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of parameters for
GPUdb.adminAlterJobs.
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.
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theAdminAlterJobsRequestparameteraction.static final classA set of string constants for theAdminAlterJobsRequestparameteroptions.Constructor Summary
ConstructorsConstructorDescriptionConstructs an AdminAlterJobsRequest object with default parameters.Constructs an AdminAlterJobsRequest object with the specified parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.Action to be performed on the jobs specified by job_ids.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Jobs to be modified.Optional parameters.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.Action to be performed on the jobs specified by job_ids.Jobs to be modified.setOptions(Map<String, String> options) Optional parameters.toString()
Constructor Details
AdminAlterJobsRequest
public AdminAlterJobsRequest()Constructs an AdminAlterJobsRequest object with default parameters.AdminAlterJobsRequest
Constructs an AdminAlterJobsRequest object with the specified parameters.
Method Details
getClassSchema
public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Returns:The schema for the class.setJobIds
Jobs to be modified.Parameters:jobIds- The new value forjobIds.Returns:thisto mimic the builder pattern.setAction
Action to be performed on the jobs specified by job_ids. Supported values:Parameters:action- The new value foraction.Returns:thisto mimic the builder pattern.getSchema
public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getSchemain interfaceorg.apache.avro.generic.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: