public class UpdateRecordsResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.updateRecords.| Constructor and Description |
|---|
UpdateRecordsResponse()
Constructs an UpdateRecordsResponse 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.
|
long |
getCountInserted()
Total number of records inserted (due to expressions not matching any
existing records).
|
List<Long> |
getCountsInserted()
Total number of records inserted per predicate in
expressions
(will be either 0 or 1 for each expression). |
List<Long> |
getCountsUpdated()
Total number of records updated per predicate in
expressions. |
long |
getCountUpdated()
Total number of records updated.
|
Map<String,String> |
getInfo()
Additional information.
|
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.
|
UpdateRecordsResponse |
setCountInserted(long countInserted)
Total number of records inserted (due to expressions not matching any
existing records).
|
UpdateRecordsResponse |
setCountsInserted(List<Long> countsInserted)
Total number of records inserted per predicate in
expressions
(will be either 0 or 1 for each expression). |
UpdateRecordsResponse |
setCountsUpdated(List<Long> countsUpdated)
Total number of records updated per predicate in
expressions. |
UpdateRecordsResponse |
setCountUpdated(long countUpdated)
Total number of records updated.
|
UpdateRecordsResponse |
setInfo(Map<String,String> info)
Additional information.
|
String |
toString() |
public UpdateRecordsResponse()
public static org.apache.avro.Schema getClassSchema()
public long getCountUpdated()
countUpdated.public UpdateRecordsResponse setCountUpdated(long countUpdated)
countUpdated - The new value for countUpdated.this to mimic the builder pattern.public List<Long> getCountsUpdated()
expressions.countsUpdated.public UpdateRecordsResponse setCountsUpdated(List<Long> countsUpdated)
expressions.countsUpdated - The new value for countsUpdated.this to mimic the builder pattern.public long getCountInserted()
countInserted.public UpdateRecordsResponse setCountInserted(long countInserted)
countInserted - The new value for countInserted.this to mimic the builder pattern.public List<Long> getCountsInserted()
expressions
(will be either 0 or 1 for each expression).countsInserted.public UpdateRecordsResponse setCountsInserted(List<Long> countsInserted)
expressions
(will be either 0 or 1 for each expression).countsInserted - The new value for countsInserted.this to mimic the builder pattern.public Map<String,String> getInfo()
info.public UpdateRecordsResponse setInfo(Map<String,String> info)
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.