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.
|
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
- ID of the currently registered table structure type for the target tablethis
to mimic the builder pattern.public String getTypeDefinition()
public InsertRecordsFromFilesResponse setTypeDefinition(String typeDefinition)
typeDefinition
- A JSON string describing the columns of the
target tablethis
to mimic the builder pattern.public String getTypeLabel()
public InsertRecordsFromFilesResponse 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 InsertRecordsFromFilesResponse 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 InsertRecordsFromFilesResponse 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 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
- [Not yet implemented] Number of records updated
within the target table.this
to mimic the builder pattern.public InsertRecordsFromFilesResponse setInfo(Map<String,String> info)
info
- Additional information.this
to mimic the builder pattern.public InsertRecordsFromFilesResponse setFiles(List<String> files)
files
- 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.