public class CreateTypeResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.createType
.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()
Additional information.
|
String |
getLabel()
Value of
label . |
Map<String,List<String>> |
getProperties()
Value of
properties . |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getTypeDefinition()
Value of
typeDefinition . |
String |
getTypeId()
An identifier representing the created type.
|
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)
Additional information.
|
CreateTypeResponse |
setLabel(String label)
Value of
label . |
CreateTypeResponse |
setProperties(Map<String,List<String>> properties)
Value of
properties . |
CreateTypeResponse |
setTypeDefinition(String typeDefinition)
Value of
typeDefinition . |
CreateTypeResponse |
setTypeId(String typeId)
An identifier representing the created type.
|
String |
toString() |
public CreateTypeResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTypeId()
create a table
typeId
.public CreateTypeResponse setTypeId(String typeId)
create a table
typeId
- The new value for typeId
.this
to mimic the builder pattern.public String getTypeDefinition()
typeDefinition
.typeDefinition
.public CreateTypeResponse setTypeDefinition(String typeDefinition)
typeDefinition
.typeDefinition
- The new value for typeDefinition
.this
to mimic the builder pattern.public CreateTypeResponse setLabel(String label)
label
.label
- The new value for label
.this
to mimic the builder pattern.public Map<String,List<String>> getProperties()
properties
.properties
.public CreateTypeResponse setProperties(Map<String,List<String>> properties)
properties
.properties
- The new value for properties
.this
to mimic the builder pattern.public Map<String,String> getInfo()
info
.public CreateTypeResponse setInfo(Map<String,String> info)
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.