public class ExecuteProcRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.executeProc(ExecuteProcRequest)
.
Constructor and Description |
---|
ExecuteProcRequest()
Constructs an ExecuteProcRequest object with default parameters.
|
ExecuteProcRequest(String name,
Map<String,String> params,
Map<String,ByteBuffer> binParams,
Map<String,String> options)
Constructs an ExecuteProcRequest object with the specified 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.
|
Map<String,ByteBuffer> |
getBinParams() |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called directly by the user.
|
String |
getName() |
Map<String,String> |
getOptions() |
Map<String,String> |
getParams() |
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.
|
ExecuteProcRequest |
setBinParams(Map<String,ByteBuffer> binParams) |
ExecuteProcRequest |
setName(String name) |
ExecuteProcRequest |
setOptions(Map<String,String> options) |
ExecuteProcRequest |
setParams(Map<String,String> params) |
String |
toString() |
public ExecuteProcRequest()
public ExecuteProcRequest(String name, Map<String,String> params, Map<String,ByteBuffer> binParams, Map<String,String> options)
name
- Name of the proc to execute.params
- A map containing string parameters to pass to the proc. Each key/value pair specifies the name of a parameter
and its value.binParams
- A map containing binary parameters to pass to the proc. Each key/value pair specifies the name of a
parameter and its value.options
- Optional parameters.public static org.apache.avro.Schema getClassSchema()
public String getName()
public ExecuteProcRequest setName(String name)
name
- Name of the proc to execute.this
to mimic the builder pattern.public Map<String,String> getParams()
public ExecuteProcRequest setParams(Map<String,String> params)
params
- A map containing string parameters to pass to the proc. Each key/value pair specifies the name of a parameter
and its value.this
to mimic the builder pattern.public Map<String,ByteBuffer> getBinParams()
public ExecuteProcRequest setBinParams(Map<String,ByteBuffer> binParams)
binParams
- A map containing binary parameters to pass to the proc. Each key/value pair specifies the name of a
parameter and its value.this
to mimic the builder pattern.public ExecuteProcRequest setOptions(Map<String,String> options)
options
- Optional parameters.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 © 2016. All rights reserved.