Package com.gpudb.protocol
Class UpdateRecordsResponse
java.lang.Object
com.gpudb.protocol.UpdateRecordsResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.updateRecords.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.longTotal number of records inserted (due to expressions not matching any existing records).Total number of records inserted per predicate inexpressions(will be either 0 or 1 for each expression).Total number of records updated per predicate inexpressions.longTotal number of records updated.getInfo()Additional information.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(long countInserted) Total number of records inserted (due to expressions not matching any existing records).setCountsInserted(List<Long> countsInserted) Total number of records inserted per predicate inexpressions(will be either 0 or 1 for each expression).setCountsUpdated(List<Long> countsUpdated) Total number of records updated per predicate inexpressions.setCountUpdated(long countUpdated) Total number of records updated.Additional information.toString()
Method Details
getCountsUpdated
Total number of records updated per predicate inexpressions.Returns:The current value ofcountsUpdated.setCountsUpdated
Total number of records updated per predicate inexpressions.Parameters:countsUpdated- The new value forcountsUpdated.Returns:thisto mimic the builder pattern.getCountsInserted
Total number of records inserted per predicate inexpressions(will be either 0 or 1 for each expression).Returns:The current value ofcountsInserted.setCountsInserted
Total number of records inserted per predicate inexpressions(will be either 0 or 1 for each expression).Parameters:countsInserted- The new value forcountsInserted.Returns:thisto mimic the builder pattern.