Package com.gpudb.protocol
Class ShowProcStatusResponse
- java.lang.Object
-
- com.gpudb.protocol.ShowProcStatusResponse
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer,org.apache.avro.generic.IndexedRecord
public class ShowProcStatusResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.showProcStatus.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShowProcStatusResponse.OutputA set of string constants for theShowProcStatusResponseparameteroutput.static classShowProcStatusResponse.OverallStatusesA set of string constants for theShowProcStatusResponseparameteroverallStatuses.static classShowProcStatusResponse.StatusesA set of string constants for theShowProcStatusResponseparameterstatuses.
-
Constructor Summary
Constructors Constructor Description ShowProcStatusResponse()Constructs a ShowProcStatusResponse 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.Map<String,Map<String,ByteBuffer>>getBinParams()The binary params passed toGPUdb.executeProcfor the returned run IDs.Map<String,Map<String,Map<String,ByteBuffer>>>getBinResults()Binary results for the returned run IDs, grouped by data segment ID.static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Map<String,String>getInfo()Additional information.Map<String,Map<String,List<String>>>getInputColumnNames()The input column names passed toGPUdb.executeProcfor the returned run IDs, supplemented with the column names for input tables not included in the input column name map.Map<String,List<String>>getInputTableNames()The input table names passed toGPUdb.executeProcfor the returned run IDs.Map<String,Map<String,String>>getMessages()Messages containing additional status information for the returned run IDs, grouped by data segment ID.Map<String,Map<String,String>>getOptions()The optional parameters passed toGPUdb.executeProcfor the returned run IDs.Map<String,Map<String,Map<String,List<String>>>>getOutput()Output lines for the returned run IDs, grouped by data segment ID.Map<String,List<String>>getOutputTableNames()The output table names passed toGPUdb.executeProcfor the returned run IDs.Map<String,String>getOverallStatuses()Overall statuses for the returned run IDs.Map<String,Map<String,String>>getParams()The string params passed toGPUdb.executeProcfor the returned run IDs.Map<String,String>getProcNames()The proc names corresponding to the returned run IDs.Map<String,Map<String,Map<String,String>>>getResults()String results for the returned run IDs, grouped by data segment ID.org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.Map<String,Map<String,String>>getStatuses()Statuses for the returned run IDs, grouped by data segment ID.Map<String,Map<String,Map<String,Long>>>getTimings()Timing information for the returned run IDs, grouped by data segment ID.inthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.ShowProcStatusResponsesetBinParams(Map<String,Map<String,ByteBuffer>> binParams)The binary params passed toGPUdb.executeProcfor the returned run IDs.ShowProcStatusResponsesetBinResults(Map<String,Map<String,Map<String,ByteBuffer>>> binResults)Binary results for the returned run IDs, grouped by data segment ID.ShowProcStatusResponsesetInfo(Map<String,String> info)Additional information.ShowProcStatusResponsesetInputColumnNames(Map<String,Map<String,List<String>>> inputColumnNames)The input column names passed toGPUdb.executeProcfor the returned run IDs, supplemented with the column names for input tables not included in the input column name map.ShowProcStatusResponsesetInputTableNames(Map<String,List<String>> inputTableNames)The input table names passed toGPUdb.executeProcfor the returned run IDs.ShowProcStatusResponsesetMessages(Map<String,Map<String,String>> messages)Messages containing additional status information for the returned run IDs, grouped by data segment ID.ShowProcStatusResponsesetOptions(Map<String,Map<String,String>> options)The optional parameters passed toGPUdb.executeProcfor the returned run IDs.ShowProcStatusResponsesetOutput(Map<String,Map<String,Map<String,List<String>>>> output)Output lines for the returned run IDs, grouped by data segment ID.ShowProcStatusResponsesetOutputTableNames(Map<String,List<String>> outputTableNames)The output table names passed toGPUdb.executeProcfor the returned run IDs.ShowProcStatusResponsesetOverallStatuses(Map<String,String> overallStatuses)Overall statuses for the returned run IDs.ShowProcStatusResponsesetParams(Map<String,Map<String,String>> params)The string params passed toGPUdb.executeProcfor the returned run IDs.ShowProcStatusResponsesetProcNames(Map<String,String> procNames)The proc names corresponding to the returned run IDs.ShowProcStatusResponsesetResults(Map<String,Map<String,Map<String,String>>> results)String results for the returned run IDs, grouped by data segment ID.ShowProcStatusResponsesetStatuses(Map<String,Map<String,String>> statuses)Statuses for the returned run IDs, grouped by data segment ID.ShowProcStatusResponsesetTimings(Map<String,Map<String,Map<String,Long>>> timings)Timing information for the returned run IDs, grouped by data segment ID.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.
-
getProcNames
public Map<String,String> getProcNames()
The proc names corresponding to the returned run IDs.- Returns:
- The current value of
procNames.
-
setProcNames
public ShowProcStatusResponse setProcNames(Map<String,String> procNames)
The proc names corresponding to the returned run IDs.- Parameters:
procNames- The new value forprocNames.- Returns:
thisto mimic the builder pattern.
-
getParams
public Map<String,Map<String,String>> getParams()
The string params passed toGPUdb.executeProcfor the returned run IDs.- Returns:
- The current value of
params.
-
setParams
public ShowProcStatusResponse setParams(Map<String,Map<String,String>> params)
The string params passed toGPUdb.executeProcfor the returned run IDs.- Parameters:
params- The new value forparams.- Returns:
thisto mimic the builder pattern.
-
getBinParams
public Map<String,Map<String,ByteBuffer>> getBinParams()
The binary params passed toGPUdb.executeProcfor the returned run IDs.- Returns:
- The current value of
binParams.
-
setBinParams
public ShowProcStatusResponse setBinParams(Map<String,Map<String,ByteBuffer>> binParams)
The binary params passed toGPUdb.executeProcfor the returned run IDs.- Parameters:
binParams- The new value forbinParams.- Returns:
thisto mimic the builder pattern.
-
getInputTableNames
public Map<String,List<String>> getInputTableNames()
The input table names passed toGPUdb.executeProcfor the returned run IDs.- Returns:
- The current value of
inputTableNames.
-
setInputTableNames
public ShowProcStatusResponse setInputTableNames(Map<String,List<String>> inputTableNames)
The input table names passed toGPUdb.executeProcfor the returned run IDs.- Parameters:
inputTableNames- The new value forinputTableNames.- Returns:
thisto mimic the builder pattern.
-
getInputColumnNames
public Map<String,Map<String,List<String>>> getInputColumnNames()
The input column names passed toGPUdb.executeProcfor the returned run IDs, supplemented with the column names for input tables not included in the input column name map.- Returns:
- The current value of
inputColumnNames.
-
setInputColumnNames
public ShowProcStatusResponse setInputColumnNames(Map<String,Map<String,List<String>>> inputColumnNames)
The input column names passed toGPUdb.executeProcfor the returned run IDs, supplemented with the column names for input tables not included in the input column name map.- Parameters:
inputColumnNames- The new value forinputColumnNames.- Returns:
thisto mimic the builder pattern.
-
getOutputTableNames
public Map<String,List<String>> getOutputTableNames()
The output table names passed toGPUdb.executeProcfor the returned run IDs.- Returns:
- The current value of
outputTableNames.
-
setOutputTableNames
public ShowProcStatusResponse setOutputTableNames(Map<String,List<String>> outputTableNames)
The output table names passed toGPUdb.executeProcfor the returned run IDs.- Parameters:
outputTableNames- The new value foroutputTableNames.- Returns:
thisto mimic the builder pattern.
-
getOptions
public Map<String,Map<String,String>> getOptions()
The optional parameters passed toGPUdb.executeProcfor the returned run IDs.- Returns:
- The current value of
options.
-
setOptions
public ShowProcStatusResponse setOptions(Map<String,Map<String,String>> options)
The optional parameters passed toGPUdb.executeProcfor the returned run IDs.- Parameters:
options- The new value foroptions.- Returns:
thisto mimic the builder pattern.
-
getOverallStatuses
public Map<String,String> getOverallStatuses()
Overall statuses for the returned run IDs. Note that these are rollups and individual statuses may differ between data segments for the same run ID; seestatusesandmessagesfor statuses from individual data segments. Valid values are:- Returns:
- The current value of
overallStatuses.
-
setOverallStatuses
public ShowProcStatusResponse setOverallStatuses(Map<String,String> overallStatuses)
Overall statuses for the returned run IDs. Note that these are rollups and individual statuses may differ between data segments for the same run ID; seestatusesandmessagesfor statuses from individual data segments. Valid values are:- Parameters:
overallStatuses- The new value foroverallStatuses.- Returns:
thisto mimic the builder pattern.
-
getStatuses
public Map<String,Map<String,String>> getStatuses()
Statuses for the returned run IDs, grouped by data segment ID. Valid values are:- Returns:
- The current value of
statuses.
-
setStatuses
public ShowProcStatusResponse setStatuses(Map<String,Map<String,String>> statuses)
Statuses for the returned run IDs, grouped by data segment ID. Valid values are:- Parameters:
statuses- The new value forstatuses.- Returns:
thisto mimic the builder pattern.
-
getMessages
public Map<String,Map<String,String>> getMessages()
Messages containing additional status information for the returned run IDs, grouped by data segment ID.- Returns:
- The current value of
messages.
-
setMessages
public ShowProcStatusResponse setMessages(Map<String,Map<String,String>> messages)
Messages containing additional status information for the returned run IDs, grouped by data segment ID.- Parameters:
messages- The new value formessages.- Returns:
thisto mimic the builder pattern.
-
getResults
public Map<String,Map<String,Map<String,String>>> getResults()
String results for the returned run IDs, grouped by data segment ID.- Returns:
- The current value of
results.
-
setResults
public ShowProcStatusResponse setResults(Map<String,Map<String,Map<String,String>>> results)
String results for the returned run IDs, grouped by data segment ID.- Parameters:
results- The new value forresults.- Returns:
thisto mimic the builder pattern.
-
getBinResults
public Map<String,Map<String,Map<String,ByteBuffer>>> getBinResults()
Binary results for the returned run IDs, grouped by data segment ID.- Returns:
- The current value of
binResults.
-
setBinResults
public ShowProcStatusResponse setBinResults(Map<String,Map<String,Map<String,ByteBuffer>>> binResults)
Binary results for the returned run IDs, grouped by data segment ID.- Parameters:
binResults- The new value forbinResults.- Returns:
thisto mimic the builder pattern.
-
getOutput
public Map<String,Map<String,Map<String,List<String>>>> getOutput()
Output lines for the returned run IDs, grouped by data segment ID.- Returns:
- The current value of
output.
-
setOutput
public ShowProcStatusResponse setOutput(Map<String,Map<String,Map<String,List<String>>>> output)
Output lines for the returned run IDs, grouped by data segment ID.- Parameters:
output- The new value foroutput.- Returns:
thisto mimic the builder pattern.
-
getTimings
public Map<String,Map<String,Map<String,Long>>> getTimings()
Timing information for the returned run IDs, grouped by data segment ID.- Returns:
- The current value of
timings.
-
setTimings
public ShowProcStatusResponse setTimings(Map<String,Map<String,Map<String,Long>>> timings)
Timing information for the returned run IDs, grouped by data segment ID.- Parameters:
timings- The new value fortimings.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public ShowProcStatusResponse setInfo(Map<String,String> info)
Additional information.- 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
-
-