Package com.gpudb.protocol
Class InsertRecordsResponse
java.lang.Object
com.gpudb.protocol.InsertRecordsResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.insertRecords.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theInsertRecordsResponseparameterinfo.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.intThe number of records inserted.intThe number of records updated.getInfo()Additional information.An array containing the IDs with which the added records are identified internally.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCountInserted(int countInserted) The number of records inserted.setCountUpdated(int countUpdated) The number of records updated.Additional information.setRecordIds(List<String> recordIds) An array containing the IDs with which the added records are identified internally.toString()
Method Details
getInfo
Additional information.BAD_RECORD_INDICES: If return_individual_errors option is specified or implied, returns a comma-separated list of invalid indices (0-based).ERROR_N: Error message for record at index N (0-based).
Returns:The current value ofinfo.setInfo
Additional information.BAD_RECORD_INDICES: If return_individual_errors option is specified or implied, returns a comma-separated list of invalid indices (0-based).ERROR_N: Error message for record at index N (0-based).
Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.