Package com.gpudb.protocol
Class ShowProcResponse
- java.lang.Object
-
- com.gpudb.protocol.ShowProcResponse
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer,org.apache.avro.generic.IndexedRecord
public class ShowProcResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.showProc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShowProcResponse.ExecutionModesA set of string constants for theShowProcResponseparameterexecutionModes.
-
Constructor Summary
Constructors Constructor Description ShowProcResponse()Constructs a ShowProcResponse 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<List<String>>getArgs()Arrays of command-line arguments that will be passed to the procs named inprocNameswhen executed.static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getCommands()The commands (excluding arguments) that will be invoked when the procs named inprocNamesare executed.List<String>getExecutionModes()The execution modes of the procs named inprocNames.List<Map<String,ByteBuffer>>getFiles()Maps of the files that make up the procs named inprocNames.Map<String,String>getInfo()Additional information.List<Map<String,String>>getOptions()The optional parameters for the procs named inprocNames.List<String>getProcNames()The proc names.org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.ShowProcResponsesetArgs(List<List<String>> args)Arrays of command-line arguments that will be passed to the procs named inprocNameswhen executed.ShowProcResponsesetCommands(List<String> commands)The commands (excluding arguments) that will be invoked when the procs named inprocNamesare executed.ShowProcResponsesetExecutionModes(List<String> executionModes)The execution modes of the procs named inprocNames.ShowProcResponsesetFiles(List<Map<String,ByteBuffer>> files)Maps of the files that make up the procs named inprocNames.ShowProcResponsesetInfo(Map<String,String> info)Additional information.ShowProcResponsesetOptions(List<Map<String,String>> options)The optional parameters for the procs named inprocNames.ShowProcResponsesetProcNames(List<String> procNames)The proc names.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 List<String> getProcNames()
The proc names.- Returns:
- The current value of
procNames.
-
setProcNames
public ShowProcResponse setProcNames(List<String> procNames)
The proc names.- Parameters:
procNames- The new value forprocNames.- Returns:
thisto mimic the builder pattern.
-
getExecutionModes
public List<String> getExecutionModes()
The execution modes of the procs named inprocNames. Supported values:DISTRIBUTED: DistributedNONDISTRIBUTED: Nondistributed
- Returns:
- The current value of
executionModes.
-
setExecutionModes
public ShowProcResponse setExecutionModes(List<String> executionModes)
The execution modes of the procs named inprocNames. Supported values:DISTRIBUTED: DistributedNONDISTRIBUTED: Nondistributed
- Parameters:
executionModes- The new value forexecutionModes.- Returns:
thisto mimic the builder pattern.
-
getFiles
public List<Map<String,ByteBuffer>> getFiles()
Maps of the files that make up the procs named inprocNames.- Returns:
- The current value of
files.
-
setFiles
public ShowProcResponse setFiles(List<Map<String,ByteBuffer>> files)
Maps of the files that make up the procs named inprocNames.- Parameters:
files- The new value forfiles.- Returns:
thisto mimic the builder pattern.
-
getCommands
public List<String> getCommands()
The commands (excluding arguments) that will be invoked when the procs named inprocNamesare executed.- Returns:
- The current value of
commands.
-
setCommands
public ShowProcResponse setCommands(List<String> commands)
The commands (excluding arguments) that will be invoked when the procs named inprocNamesare executed.- Parameters:
commands- The new value forcommands.- Returns:
thisto mimic the builder pattern.
-
getArgs
public List<List<String>> getArgs()
Arrays of command-line arguments that will be passed to the procs named inprocNameswhen executed.- Returns:
- The current value of
args.
-
setArgs
public ShowProcResponse setArgs(List<List<String>> args)
Arrays of command-line arguments that will be passed to the procs named inprocNameswhen executed.- Parameters:
args- The new value forargs.- Returns:
thisto mimic the builder pattern.
-
getOptions
public List<Map<String,String>> getOptions()
The optional parameters for the procs named inprocNames.- Returns:
- The current value of
options.
-
setOptions
public ShowProcResponse setOptions(List<Map<String,String>> options)
The optional parameters for the procs named inprocNames.- Parameters:
options- The new value foroptions.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public ShowProcResponse 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
-
-