public class InsertRecordsFromFilesResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.insertRecordsFromFiles(InsertRecordsFromFilesRequest).| Constructor and Description |
|---|
InsertRecordsFromFilesResponse()
Constructs an InsertRecordsFromFilesResponse 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 |
getTypeId() |
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.
|
InsertRecordsFromFilesResponse |
setCountInserted(long countInserted) |
InsertRecordsFromFilesResponse |
setCountSkipped(long countSkipped) |
InsertRecordsFromFilesResponse |
setCountUpdated(long countUpdated) |
InsertRecordsFromFilesResponse |
setInfo(Map<String,String> info) |
InsertRecordsFromFilesResponse |
setTableName(String tableName) |
InsertRecordsFromFilesResponse |
setTypeId(String typeId) |
String |
toString() |
public InsertRecordsFromFilesResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
tableName.public InsertRecordsFromFilesResponse setTableName(String tableName)
tableName - Value of tableName.this to mimic the builder pattern.public String getTypeId()
public InsertRecordsFromFilesResponse setTypeId(String typeId)
typeId - Type ID for the table.this to mimic the builder pattern.public long getCountInserted()
public InsertRecordsFromFilesResponse setCountInserted(long countInserted)
countInserted - Number of records inserted.this to mimic the builder pattern.public long getCountSkipped()
abort
error handling mode.public InsertRecordsFromFilesResponse 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 InsertRecordsFromFilesResponse setCountUpdated(long countUpdated)
countUpdated - Number of records updated. The default value is
-1.this to mimic the builder pattern.public InsertRecordsFromFilesResponse 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 © 2020. All rights reserved.