public class AlterTableResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.alterTable(AlterTableRequest)
.Constructor and Description |
---|
AlterTableResponse()
Constructs an AlterTableResponse 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.
|
String |
getAction() |
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() |
String |
getLabel() |
Map<String,List<String>> |
getProperties() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getTableName() |
String |
getTypeDefinition() |
String |
getTypeId() |
String |
getValue() |
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.
|
AlterTableResponse |
setAction(String action) |
AlterTableResponse |
setInfo(Map<String,String> info) |
AlterTableResponse |
setLabel(String label) |
AlterTableResponse |
setProperties(Map<String,List<String>> properties) |
AlterTableResponse |
setTableName(String tableName) |
AlterTableResponse |
setTypeDefinition(String typeDefinition) |
AlterTableResponse |
setTypeId(String typeId) |
AlterTableResponse |
setValue(String value) |
String |
toString() |
public AlterTableResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
public AlterTableResponse setTableName(String tableName)
tableName
- Table on which the operation was performed.this
to mimic the builder pattern.public String getAction()
public AlterTableResponse setAction(String action)
action
- Modification operation that was performed.this
to mimic the builder pattern.public String getValue()
public AlterTableResponse setValue(String value)
value
- The value of the modification that was performed.this
to mimic the builder pattern.public String getTypeId()
public AlterTableResponse setTypeId(String typeId)
typeId
- return the type_id (when changing a table, a new type may
be created)this
to mimic the builder pattern.public String getTypeDefinition()
public AlterTableResponse setTypeDefinition(String typeDefinition)
typeDefinition
- return the type_definition (when changing a
table, a new type may be created)this
to mimic the builder pattern.public Map<String,List<String>> getProperties()
public AlterTableResponse setProperties(Map<String,List<String>> properties)
properties
- return the type properties (when changing a table, a
new type may be created)this
to mimic the builder pattern.public String getLabel()
public AlterTableResponse setLabel(String label)
label
- return the type label (when changing a table, a new type
may be created)this
to mimic the builder pattern.public AlterTableResponse 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 © 2020. All rights reserved.