public class InsertRecordsFromQueryResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.insertRecordsFromQuery(InsertRecordsFromQueryRequest).| Constructor and Description |
|---|
InsertRecordsFromQueryResponse()
Constructs an InsertRecordsFromQueryResponse 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.
|
InsertRecordsFromQueryResponse |
setCountInserted(long countInserted) |
InsertRecordsFromQueryResponse |
setCountSkipped(long countSkipped) |
InsertRecordsFromQueryResponse |
setCountUpdated(long countUpdated) |
InsertRecordsFromQueryResponse |
setInfo(Map<String,String> info) |
InsertRecordsFromQueryResponse |
setTableName(String tableName) |
InsertRecordsFromQueryResponse |
setTypeDefinition(String typeDefinition) |
InsertRecordsFromQueryResponse |
setTypeId(String typeId) |
InsertRecordsFromQueryResponse |
setTypeLabel(String typeLabel) |
InsertRecordsFromQueryResponse |
setTypeProperties(Map<String,List<String>> typeProperties) |
String |
toString() |
public InsertRecordsFromQueryResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
tableName.public InsertRecordsFromQueryResponse setTableName(String tableName)
tableName - Value of tableName.this to mimic the builder pattern.public String getTypeId()
public InsertRecordsFromQueryResponse 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 InsertRecordsFromQueryResponse setTypeDefinition(String typeDefinition)
typeDefinition - A JSON string describing the columns of the
target tablethis to mimic the builder pattern.public String getTypeLabel()
public InsertRecordsFromQueryResponse 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 InsertRecordsFromQueryResponse 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 InsertRecordsFromQueryResponse 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 InsertRecordsFromQueryResponse 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 InsertRecordsFromQueryResponse setCountUpdated(long countUpdated)
countUpdated - [Not yet implemented] Number of records updated
within the target table.this to mimic the builder pattern.public InsertRecordsFromQueryResponse 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.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 © 2024. All rights reserved.