public class CreateTableResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.createTable(CreateTableRequest)
.Modifier and Type | Class and Description |
---|---|
static class |
CreateTableResponse.Info
Additional information.
|
Constructor and Description |
---|
CreateTableResponse()
Constructs a CreateTableResponse 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.
|
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() |
boolean |
getIsCollection() |
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 |
getTypeId() |
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.
|
CreateTableResponse |
setInfo(Map<String,String> info) |
CreateTableResponse |
setIsCollection(boolean isCollection) |
CreateTableResponse |
setTableName(String tableName) |
CreateTableResponse |
setTypeId(String typeId) |
String |
toString() |
public CreateTableResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
tableName
.public CreateTableResponse setTableName(String tableName)
tableName
- Value of tableName
.this
to mimic the builder pattern.public String getTypeId()
typeId
.public CreateTableResponse setTypeId(String typeId)
typeId
- Value of typeId
.this
to mimic the builder pattern.public boolean getIsCollection()
public CreateTableResponse setIsCollection(boolean isCollection)
isCollection
- [DEPRECATED--this will always return false]
Indicates if the created entity is a schema.this
to mimic the builder pattern.public Map<String,String> getInfo()
QUALIFIED_TABLE_NAME
: The fully qualified name of the new table
(i.e. including the schema)
Map
.public CreateTableResponse setInfo(Map<String,String> info)
info
- Additional information.
QUALIFIED_TABLE_NAME
: The fully qualified name of the new
table (i.e. including the schema)
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 © 2024. All rights reserved.