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.
|
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 |
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 table
public CreateTypeResponse setTypeId(String typeId)
typeId
- An identifier representing the created type. This type_id
can be used in subsequent calls to create a
table
this
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 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 © 2019. All rights reserved.