Package com.gpudb.protocol
Class CreateTableExternalResponse
java.lang.Object
com.gpudb.protocol.CreateTableExternalResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class CreateTableExternalResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.createTableExternal.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.longNumber of records inserted into the external table.longNumber of records skipped, when not running inABORTerror handling mode.long[Not yet implemented] Number of records updated within the external table.getFiles()The list of source files used to create the external table.getInfo()Additional information.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Value oftableName.A JSON string describing the columns of the created external table.ID of the currently registered table structure type for this external table.The user-defined description associated with the table’s structure.A mapping of each external table column name to an array of column properties associated with that column.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCountInserted(long countInserted) Number of records inserted into the external table.setCountSkipped(long countSkipped) Number of records skipped, when not running inABORTerror handling mode.setCountUpdated(long countUpdated) [Not yet implemented] Number of records updated within the external table.The list of source files used to create the external table.Additional information.setTableName(String tableName) Value oftableName.setTypeDefinition(String typeDefinition) A JSON string describing the columns of the created external table.ID of the currently registered table structure type for this external table.setTypeLabel(String typeLabel) The user-defined description associated with the table’s structure.setTypeProperties(Map<String, List<String>> typeProperties) A mapping of each external table column name to an array of column properties associated with that column.toString()
Method Details
setTableName
Value oftableName.Parameters:tableName- The new value fortableName.Returns:thisto mimic the builder pattern.setTypeId
ID of the currently registered table structure type for this external table.Parameters:typeId- The new value fortypeId.Returns:thisto mimic the builder pattern.getCountSkipped
public long getCountSkipped()Number of records skipped, when not running inABORTerror handling mode.Returns:The current value ofcountSkipped.setCountSkipped
Number of records skipped, when not running inABORTerror handling mode.Parameters:countSkipped- The new value forcountSkipped.Returns:thisto mimic the builder pattern.