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