public class InsertRecordsFromPayloadResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.insertRecordsFromPayload(InsertRecordsFromPayloadRequest)
.Constructor and Description |
---|
InsertRecordsFromPayloadResponse()
Constructs an InsertRecordsFromPayloadResponse 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() |
long |
getCountSkipped() |
long |
getCountUpdated() |
Map<String,String> |
getInfo() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getTableName() |
String |
getTypeDefinition() |
String |
getTypeId() |
String |
getTypeLabel() |
Map<String,List<String>> |
getTypeProperties() |
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.
|
InsertRecordsFromPayloadResponse |
setCountInserted(long countInserted) |
InsertRecordsFromPayloadResponse |
setCountSkipped(long countSkipped) |
InsertRecordsFromPayloadResponse |
setCountUpdated(long countUpdated) |
InsertRecordsFromPayloadResponse |
setInfo(Map<String,String> info) |
InsertRecordsFromPayloadResponse |
setTableName(String tableName) |
InsertRecordsFromPayloadResponse |
setTypeDefinition(String typeDefinition) |
InsertRecordsFromPayloadResponse |
setTypeId(String typeId) |
InsertRecordsFromPayloadResponse |
setTypeLabel(String typeLabel) |
InsertRecordsFromPayloadResponse |
setTypeProperties(Map<String,List<String>> typeProperties) |
String |
toString() |
public InsertRecordsFromPayloadResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
tableName
.public InsertRecordsFromPayloadResponse setTableName(String tableName)
tableName
- Value of tableName
.this
to mimic the builder pattern.public String getTypeId()
public InsertRecordsFromPayloadResponse setTypeId(String typeId)
typeId
- ID of the currently registered table structure type for the target tablethis
to mimic the builder pattern.public String getTypeDefinition()
public InsertRecordsFromPayloadResponse setTypeDefinition(String typeDefinition)
typeDefinition
- A JSON string describing the columns of the
target tablethis
to mimic the builder pattern.public String getTypeLabel()
public InsertRecordsFromPayloadResponse setTypeLabel(String typeLabel)
typeLabel
- The user-defined description associated with the
target table's structurethis
to mimic the builder pattern.public Map<String,List<String>> getTypeProperties()
public InsertRecordsFromPayloadResponse setTypeProperties(Map<String,List<String>> typeProperties)
typeProperties
- A mapping of each target table column name to an
array of column properties associated with that
columnthis
to mimic the builder pattern.public long getCountInserted()
public InsertRecordsFromPayloadResponse setCountInserted(long countInserted)
countInserted
- Number of records inserted into the target table.this
to mimic the builder pattern.public long getCountSkipped()
abort
error handling mode.public InsertRecordsFromPayloadResponse setCountSkipped(long countSkipped)
countSkipped
- Number of records skipped, when not running in
abort
error handling mode.this
to mimic the builder pattern.public long getCountUpdated()
public InsertRecordsFromPayloadResponse setCountUpdated(long countUpdated)
countUpdated
- [Not yet implemented] Number of records updated
within the target table.this
to mimic the builder pattern.public InsertRecordsFromPayloadResponse setInfo(Map<String,String> info)
info
- Additional information.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 © 2024. All rights reserved.