public class InsertRecordsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.insertRecordsRaw(RawInsertRecordsRequest)
.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() |
int |
getCountUpdated() |
List<String> |
getRecordIds() |
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) |
InsertRecordsResponse |
setCountUpdated(int countUpdated) |
InsertRecordsResponse |
setRecordIds(List<String> recordIds) |
String |
toString() |
public InsertRecordsResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getRecordIds()
public InsertRecordsResponse setRecordIds(List<String> recordIds)
recordIds
- An array containing the IDs with which the added
records are identified internally.this
to mimic the builder pattern.public int getCountInserted()
public InsertRecordsResponse setCountInserted(int countInserted)
countInserted
- The number of records inserted.this
to mimic the builder pattern.public int getCountUpdated()
public InsertRecordsResponse setCountUpdated(int countUpdated)
countUpdated
- The number of records updated.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2019. All rights reserved.