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