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