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. 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()
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. The default value is ''.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
.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
.
Map
.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 © 2020. All rights reserved.