public class CreateTypeResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.createType(CreateTypeRequest).| Constructor and Description |
|---|
CreateTypeResponse()
Constructs a CreateTypeResponse 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() |
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 |
getTypeDefinition() |
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.
|
CreateTypeResponse |
setInfo(Map<String,String> info) |
CreateTypeResponse |
setLabel(String label) |
CreateTypeResponse |
setProperties(Map<String,List<String>> properties) |
CreateTypeResponse |
setTypeDefinition(String typeDefinition) |
CreateTypeResponse |
setTypeId(String typeId) |
String |
toString() |
public CreateTypeResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTypeId()
create a tablepublic CreateTypeResponse setTypeId(String typeId)
typeId - An identifier representing the created type. This type_id
can be used in subsequent calls to create a
tablethis to mimic the builder pattern.public String getTypeDefinition()
typeDefinition.public CreateTypeResponse setTypeDefinition(String typeDefinition)
typeDefinition - Value of typeDefinition.this to mimic the builder pattern.public String getLabel()
label.public CreateTypeResponse setLabel(String label)
label - Value of label.this to mimic the builder pattern.public CreateTypeResponse setProperties(Map<String,List<String>> properties)
properties - Value of properties.this to mimic the builder pattern.public CreateTypeResponse 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.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2020. All rights reserved.