Package com.gpudb.protocol
Class AdminShowJobsResponse
java.lang.Object
com.gpudb.protocol.AdminShowJobsResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.adminShowJobs.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theAdminShowJobsResponseparameterinfo.Constructor Summary
ConstructorsConstructorDescriptionConstructs an AdminShowJobsResponse object with default 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.The identifier of the submitting or execute-as user for each job.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The endpoint each job is executing (e.g. “/insert/records”).getFlags()Flags associated with each job.getInfo()Additional information.getJobId()The identifiers of the running or completed jobs.The text of the query associated with each job, when applicable.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The IP address from which each job request originated.The current status of each job.The epoch time, in milliseconds, at which each job was received.Arbitrary user-provided data associated with each job.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.The identifier of the submitting or execute-as user for each job.setEndpointName(List<String> endpointName) The endpoint each job is executing (e.g. “/insert/records”).Flags associated with each job.Additional information.The identifiers of the running or completed jobs.setQueryText(List<String> queryText) The text of the query associated with each job, when applicable.setSourceIp(List<String> sourceIp) The IP address from which each job request originated.The current status of each job.setTimeReceived(List<Long> timeReceived) The epoch time, in milliseconds, at which each job was received.setUserData(List<String> userData) Arbitrary user-provided data associated with each job.toString()
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.setJobId
The identifiers of the running or completed jobs.Parameters:jobId- The new value forjobId.Returns:thisto mimic the builder pattern.setStatus
The current status of each job.Parameters:status- The new value forstatus.Returns:thisto mimic the builder pattern.setEndpointName
The endpoint each job is executing (e.g. “/insert/records”).Parameters:endpointName- The new value forendpointName.Returns:thisto mimic the builder pattern.setTimeReceived
The epoch time, in milliseconds, at which each job was received.Parameters:timeReceived- The new value fortimeReceived.Returns:thisto mimic the builder pattern.setAuthId
The identifier of the submitting or execute-as user for each job.Parameters:authId- The new value forauthId.Returns:thisto mimic the builder pattern.setSourceIp
The IP address from which each job request originated.Parameters:sourceIp- The new value forsourceIp.Returns:thisto mimic the builder pattern.setQueryText
The text of the query associated with each job, when applicable.Parameters:queryText- The new value forqueryText.Returns:thisto mimic the builder pattern.setUserData
Arbitrary user-provided data associated with each job.Parameters:userData- The new value foruserData.Returns:thisto mimic the builder pattern.setFlags
Flags associated with each job.Parameters:flags- The new value forflags.Returns:thisto mimic the builder pattern.getInfo
Additional information.JOB_TAG: The job tag specified by the user or if unspecified by user, an internally generated unique identifier for the job across clusters.WORKER_INFO: Worker job information as JSON.
Map.Returns:The current value ofinfo.setInfo
Additional information.JOB_TAG: The job tag specified by the user or if unspecified by user, an internally generated unique identifier for the job across clusters.WORKER_INFO: Worker job information as JSON.
Map.Parameters:info- The new value forinfo.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: