public class CreateTableExternalResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.createTableExternal(CreateTableExternalRequest)
.Constructor and Description |
---|
CreateTableExternalResponse()
Constructs a CreateTableExternalResponse 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.
|
long |
getCountInserted() |
long |
getCountSkipped() |
long |
getCountUpdated() |
List<String> |
getFiles() |
Map<String,String> |
getInfo() |
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 |
getTypeDefinition() |
String |
getTypeId() |
String |
getTypeLabel() |
Map<String,List<String>> |
getTypeProperties() |
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.
|
CreateTableExternalResponse |
setCountInserted(long countInserted) |
CreateTableExternalResponse |
setCountSkipped(long countSkipped) |
CreateTableExternalResponse |
setCountUpdated(long countUpdated) |
CreateTableExternalResponse |
setFiles(List<String> files) |
CreateTableExternalResponse |
setInfo(Map<String,String> info) |
CreateTableExternalResponse |
setTableName(String tableName) |
CreateTableExternalResponse |
setTypeDefinition(String typeDefinition) |
CreateTableExternalResponse |
setTypeId(String typeId) |
CreateTableExternalResponse |
setTypeLabel(String typeLabel) |
CreateTableExternalResponse |
setTypeProperties(Map<String,List<String>> typeProperties) |
String |
toString() |
public CreateTableExternalResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
tableName
.public CreateTableExternalResponse setTableName(String tableName)
tableName
- Value of tableName
.this
to mimic the builder pattern.public String getTypeId()
public CreateTableExternalResponse setTypeId(String typeId)
typeId
- ID of the currently registered table structure type for this external tablethis
to mimic the builder pattern.public String getTypeDefinition()
public CreateTableExternalResponse setTypeDefinition(String typeDefinition)
typeDefinition
- A JSON string describing the columns of the
created external tablethis
to mimic the builder pattern.public String getTypeLabel()
public CreateTableExternalResponse setTypeLabel(String typeLabel)
typeLabel
- The user-defined description associated with the
table's structurethis
to mimic the builder pattern.public Map<String,List<String>> getTypeProperties()
public CreateTableExternalResponse setTypeProperties(Map<String,List<String>> typeProperties)
typeProperties
- A mapping of each external table column name to
an array of column properties associated with
that columnthis
to mimic the builder pattern.public long getCountInserted()
public CreateTableExternalResponse setCountInserted(long countInserted)
countInserted
- Number of records inserted into the external
table.this
to mimic the builder pattern.public long getCountSkipped()
abort
error handling mode.public CreateTableExternalResponse setCountSkipped(long countSkipped)
countSkipped
- Number of records skipped, when not running in
abort
error handling mode.this
to mimic the builder pattern.public long getCountUpdated()
public CreateTableExternalResponse setCountUpdated(long countUpdated)
countUpdated
- [Not yet implemented] Number of records updated
within the external table.this
to mimic the builder pattern.public CreateTableExternalResponse setInfo(Map<String,String> info)
info
- Additional information.this
to mimic the builder pattern.public CreateTableExternalResponse setFiles(List<String> files)
files
- 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.