Package com.gpudb.protocol
Class InsertRecordsFromFilesResponse
java.lang.Object
com.gpudb.protocol.InsertRecordsFromFilesResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class InsertRecordsFromFilesResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.insertRecordsFromFiles.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 target table.longNumber of records skipped, when not running inABORTerror handling mode.long[Not yet implemented] Number of records updated within the target table.getFiles()The list of source files from which records would be inserted; only filled in whenINGESTION_MODEisDRY_RUN.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 target table.ID of the currently registered table structure type for the target table.The user-defined description associated with the target table’s structure.A mapping of each target 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 target 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 target table.The list of source files from which records would be inserted; only filled in whenINGESTION_MODEisDRY_RUN.Additional information.setTableName(String tableName) Value oftableName.setTypeDefinition(String typeDefinition) A JSON string describing the columns of the target table.ID of the currently registered table structure type for the target table.setTypeLabel(String typeLabel) The user-defined description associated with the target table’s structure.setTypeProperties(Map<String, List<String>> typeProperties) A mapping of each target 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 the target 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.getFiles
The list of source files from which records would be inserted; only filled in whenINGESTION_MODEisDRY_RUN.Returns:The current value offiles.setFiles
The list of source files from which records would be inserted; only filled in whenINGESTION_MODEisDRY_RUN.Parameters:files- The new value forfiles.Returns:thisto mimic the builder pattern.