public class InsertRecordsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.insertRecords.| Modifier and Type | Class and Description | 
|---|---|
| static class  | InsertRecordsResponse.InfoA set of string constants for the  InsertRecordsResponseparameterinfo. | 
| Constructor and Description | 
|---|
| InsertRecordsResponse()Constructs an InsertRecordsResponse 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. | 
| int | getCountInserted()The number of records inserted. | 
| int | getCountUpdated()The number of records updated. | 
| Map<String,String> | getInfo()Additional information. | 
| List<String> | getRecordIds()An array containing the IDs with which the added records are identified
 internally. | 
| org.apache.avro.Schema | getSchema()This method supports the Avro framework and is not intended to be called
 directly by the user. | 
| 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. | 
| InsertRecordsResponse | setCountInserted(int countInserted)The number of records inserted. | 
| InsertRecordsResponse | setCountUpdated(int countUpdated)The number of records updated. | 
| InsertRecordsResponse | setInfo(Map<String,String> info)Additional information. | 
| InsertRecordsResponse | setRecordIds(List<String> recordIds)An array containing the IDs with which the added records are identified
 internally. | 
| String | toString() | 
public InsertRecordsResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getRecordIds()
recordIds.public InsertRecordsResponse setRecordIds(List<String> recordIds)
recordIds - The new value for recordIds.this to mimic the builder pattern.public int getCountInserted()
countInserted.public InsertRecordsResponse setCountInserted(int countInserted)
countInserted - The new value for countInserted.this to mimic the builder pattern.public int getCountUpdated()
countUpdated.public InsertRecordsResponse setCountUpdated(int countUpdated)
countUpdated - The new value for countUpdated.this to mimic the builder pattern.public Map<String,String> getInfo()
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)
 info.public InsertRecordsResponse setInfo(Map<String,String> info)
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)
 info - The new value for info.this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
                Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2025. All rights reserved.