public class ShowSchemaResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showSchema(ShowSchemaRequest)
.Constructor and Description |
---|
ShowSchemaResponse()
Constructs a ShowSchemaResponse 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<Map<String,String>> |
getAdditionalInfo() |
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> |
getInfo() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getSchemaName() |
List<String> |
getSchemaNames() |
List<List<String>> |
getSchemaTables() |
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.
|
ShowSchemaResponse |
setAdditionalInfo(List<Map<String,String>> additionalInfo) |
ShowSchemaResponse |
setInfo(Map<String,String> info) |
ShowSchemaResponse |
setSchemaName(String schemaName) |
ShowSchemaResponse |
setSchemaNames(List<String> schemaNames) |
ShowSchemaResponse |
setSchemaTables(List<List<String>> schemaTables) |
String |
toString() |
public ShowSchemaResponse()
public static org.apache.avro.Schema getClassSchema()
public String getSchemaName()
schemaName
.public ShowSchemaResponse setSchemaName(String schemaName)
schemaName
- Value of schemaName
.this
to mimic the builder pattern.public List<String> getSchemaNames()
public ShowSchemaResponse setSchemaNames(List<String> schemaNames)
schemaNames
- A list of all schema names for which information is
returnedthis
to mimic the builder pattern.public List<List<String>> getSchemaTables()
schemaNames
.public ShowSchemaResponse setSchemaTables(List<List<String>> schemaTables)
schemaTables
- An array of arrays containing a list of tables in
each of the respective schemaNames
.this
to mimic the builder pattern.public List<Map<String,String>> getAdditionalInfo()
schemaNames
.public ShowSchemaResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
additionalInfo
- Additional information about the respective
tables in schemaNames
.this
to mimic the builder pattern.public ShowSchemaResponse setInfo(Map<String,String> info)
info
- Additional information.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 © 2024. All rights reserved.