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.IndexedRecord
public class AdminShowJobsResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.adminShowJobs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminShowJobsResponse.InfoA set of string constants for theAdminShowJobsResponseparameterinfo.
-
Constructor Summary
Constructors Constructor Description AdminShowJobsResponse()Constructs an AdminShowJobsResponse object with default parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(int index)This method supports the Avro framework and is not intended to be called directly by the user.List<String>getAuthId()static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getEndpointName()List<String>getFlags()Map<String,String>getInfo()Additional information.List<Long>getJobId()List<String>getQueryText()org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getSourceIp()List<String>getStatus()List<Long>getTimeReceived()List<String>getUserData()inthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.AdminShowJobsResponsesetAuthId(List<String> authId)AdminShowJobsResponsesetEndpointName(List<String> endpointName)AdminShowJobsResponsesetFlags(List<String> flags)AdminShowJobsResponsesetInfo(Map<String,String> info)Additional information.AdminShowJobsResponsesetJobId(List<Long> jobId)AdminShowJobsResponsesetQueryText(List<String> queryText)AdminShowJobsResponsesetSourceIp(List<String> sourceIp)AdminShowJobsResponsesetStatus(List<String> status)AdminShowJobsResponsesetTimeReceived(List<Long> timeReceived)AdminShowJobsResponsesetUserData(List<String> userData)StringtoString()
-
-
-
Method Detail
-
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
public AdminShowJobsResponse setJobId(List<Long> jobId)
- Parameters:
jobId- The new value forjobId.- Returns:
thisto mimic the builder pattern.
-
setStatus
public AdminShowJobsResponse setStatus(List<String> status)
- Parameters:
status- The new value forstatus.- Returns:
thisto mimic the builder pattern.
-
setEndpointName
public AdminShowJobsResponse setEndpointName(List<String> endpointName)
- Parameters:
endpointName- The new value forendpointName.- Returns:
thisto mimic the builder pattern.
-
setTimeReceived
public AdminShowJobsResponse setTimeReceived(List<Long> timeReceived)
- Parameters:
timeReceived- The new value fortimeReceived.- Returns:
thisto mimic the builder pattern.
-
setAuthId
public AdminShowJobsResponse setAuthId(List<String> authId)
- Parameters:
authId- The new value forauthId.- Returns:
thisto mimic the builder pattern.
-
setSourceIp
public AdminShowJobsResponse setSourceIp(List<String> sourceIp)
- Parameters:
sourceIp- The new value forsourceIp.- Returns:
thisto mimic the builder pattern.
-
setQueryText
public AdminShowJobsResponse setQueryText(List<String> queryText)
- Parameters:
queryText- The new value forqueryText.- Returns:
thisto mimic the builder pattern.
-
setUserData
public AdminShowJobsResponse setUserData(List<String> userData)
- Parameters:
userData- The new value foruserData.- Returns:
thisto mimic the builder pattern.
-
setFlags
public AdminShowJobsResponse setFlags(List<String> flags)
- Parameters:
flags- The new value forflags.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> 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 of
info.
-
setInfo
public AdminShowJobsResponse setInfo(Map<String,String> info)
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.GenericContainer- Returns:
- The schema object describing this class.
-
get
public Object get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to get- Returns:
- value of the field with the given index.
- Throws:
IndexOutOfBoundsException
-
put
public void put(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to setvalue- the value to set- Throws:
IndexOutOfBoundsException
-
-