public class ShowProcResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showProc(ShowProcRequest)
.Modifier and Type | Class and Description |
---|---|
static class |
ShowProcResponse.ExecutionModes
The execution modes of the procs named in
procNames . |
Constructor and Description |
---|
ShowProcResponse()
Constructs a ShowProcResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<List<String>> |
getArgs() |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getCommands() |
List<String> |
getExecutionModes() |
List<Map<String,ByteBuffer>> |
getFiles() |
List<Map<String,String>> |
getOptions() |
List<String> |
getProcNames() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowProcResponse |
setArgs(List<List<String>> args) |
ShowProcResponse |
setCommands(List<String> commands) |
ShowProcResponse |
setExecutionModes(List<String> executionModes) |
ShowProcResponse |
setFiles(List<Map<String,ByteBuffer>> files) |
ShowProcResponse |
setOptions(List<Map<String,String>> options) |
ShowProcResponse |
setProcNames(List<String> procNames) |
String |
toString() |
public ShowProcResponse()
public static org.apache.avro.Schema getClassSchema()
public ShowProcResponse setProcNames(List<String> procNames)
procNames
- The proc names.this
to mimic the builder pattern.public List<String> getExecutionModes()
procNames
.
Supported values:
public ShowProcResponse setExecutionModes(List<String> executionModes)
executionModes
- The execution modes of the procs named in procNames
.
Supported values:
this
to mimic the builder pattern.public List<Map<String,ByteBuffer>> getFiles()
procNames
.public ShowProcResponse setFiles(List<Map<String,ByteBuffer>> files)
files
- Maps of the files that make up the procs named in procNames
.this
to mimic the builder pattern.public List<String> getCommands()
procNames
are executed.public ShowProcResponse setCommands(List<String> commands)
commands
- The commands (excluding arguments) that will be invoked
when the procs named in procNames
are executed.this
to mimic the builder pattern.public List<List<String>> getArgs()
procNames
when executed.public ShowProcResponse setArgs(List<List<String>> args)
args
- Arrays of command-line arguments that will be passed to the
procs named in procNames
when executed.this
to mimic the builder pattern.public List<Map<String,String>> getOptions()
procNames
.public ShowProcResponse setOptions(List<Map<String,String>> options)
options
- The optional parameters for the procs named in procNames
.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2019. All rights reserved.