public class ShowProcRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showProc(ShowProcRequest).
Shows information about a proc.
| Modifier and Type | Class and Description |
|---|---|
static class |
ShowProcRequest.Options
Optional parameters.
|
| Constructor and Description |
|---|
ShowProcRequest()
Constructs a ShowProcRequest object with default parameters.
|
ShowProcRequest(String procName,
Map<String,String> options)
Constructs a ShowProcRequest 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.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,String> |
getOptions() |
String |
getProcName() |
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.
|
ShowProcRequest |
setOptions(Map<String,String> options) |
ShowProcRequest |
setProcName(String procName) |
String |
toString() |
public ShowProcRequest()
public ShowProcRequest(String procName, Map<String,String> options)
procName - Name of the proc to show information about. If
specified, must be the name of a currently existing
proc. If not specified, information about all procs
will be returned.options - Optional parameters.
INCLUDE_FILES: If set to true, the files that
make up the proc will be returned. If set to false, the files will not be returned.
Supported values:
The default value is FALSE.
public static org.apache.avro.Schema getClassSchema()
public String getProcName()
public ShowProcRequest setProcName(String procName)
procName - Name of the proc to show information about. If
specified, must be the name of a currently existing
proc. If not specified, information about all procs
will be returned.this to mimic the builder pattern.public Map<String,String> getOptions()
INCLUDE_FILES: If set to true, the files that make up
the proc will be returned. If set to false, the files
will not be returned.
Supported values:
The default value is FALSE.
public ShowProcRequest setOptions(Map<String,String> options)
options - Optional parameters.
INCLUDE_FILES: If set to true, the files that
make up the proc will be returned. If set to false, the files will not be returned.
Supported values:
The default value is FALSE.
this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2017. All rights reserved.