public class InsertRecordsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.insertRecordsRaw(RawInsertRecordsRequest)
.
The Raw version of this method can be used to specify the encoding scheme of the request.Constructor and Description |
---|
InsertRecordsResponse()
Constructs an InsertRecordsResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
The Raw version of this method can be used to specify the encoding scheme of the request.
|
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 Raw version of this method can be used to specify the encoding scheme of the request.
|
int |
getCountUpdated()
The Raw version of this method can be used to specify the encoding scheme of the request.
|
List<String> |
getRecordIds()
The Raw version of this method can be used to specify the encoding scheme of the request.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called directly by the user.
|
int |
hashCode()
The Raw version of this method can be used to specify the encoding scheme of the request.
|
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 Raw version of this method can be used to specify the encoding scheme of the request.
|
InsertRecordsResponse |
setCountUpdated(int countUpdated)
The Raw version of this method can be used to specify the encoding scheme of the request.
|
InsertRecordsResponse |
setRecordIds(List<String> recordIds)
The Raw version of this method can be used to specify the encoding scheme of the request.
|
String |
toString()
The Raw version of this method can be used to specify the encoding scheme of the request.
|
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 GPUdb internally identifies the added records.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
public boolean equals(Object obj)
public String toString()
Copyright © 2016. All rights reserved.