public class ShowProcRequest extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showProc.
Shows information about a proc.
| Modifier and Type | Class and Description |
|---|---|
static class |
ShowProcRequest.Options
A set of string constants for the
ShowProcRequest parameter
options. |
| 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()
Optional parameters.
|
String |
getProcName()
Name of the proc to show information about.
|
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)
Optional parameters.
|
ShowProcRequest |
setProcName(String procName)
Name of the proc to show information about.
|
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. The default value is ''.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.
Map.public static org.apache.avro.Schema getClassSchema()
public String getProcName()
procName.public ShowProcRequest setProcName(String procName)
procName - The new value for procName.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.
Map.options.public ShowProcRequest setOptions(Map<String,String> options)
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.
Map.options - The new value for options.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 © 2025. All rights reserved.