public class CreateTableResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.createTable
.Modifier and Type | Class and Description |
---|---|
static class |
CreateTableResponse.Info
A set of string constants for the
CreateTableResponse parameter
info . |
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()
Additional information.
|
boolean |
getIsCollection()
[DEPRECATED--this will always return false] Indicates if the created
entity is a schema.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getTableName()
Value of
tableName . |
String |
getTypeId()
Value of
typeId . |
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)
Additional information.
|
CreateTableResponse |
setIsCollection(boolean isCollection)
[DEPRECATED--this will always return false] Indicates if the created
entity is a schema.
|
CreateTableResponse |
setTableName(String tableName)
Value of
tableName . |
CreateTableResponse |
setTypeId(String typeId)
Value of
typeId . |
String |
toString() |
public CreateTableResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
tableName
.tableName
.public CreateTableResponse setTableName(String tableName)
tableName
.tableName
- The new value for tableName
.this
to mimic the builder pattern.public CreateTableResponse setTypeId(String typeId)
typeId
.typeId
- The new value for typeId
.this
to mimic the builder pattern.public boolean getIsCollection()
isCollection
.public CreateTableResponse setIsCollection(boolean isCollection)
isCollection
- The new value for isCollection
.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
.info
.public CreateTableResponse setInfo(Map<String,String> info)
QUALIFIED_TABLE_NAME
: The
fully qualified name of the new table (i.e. including the
schema)
Map
.info
- The new value for info
.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 © 2025. All rights reserved.