public class ExportRecordsToFilesResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.exportRecordsToFiles(ExportRecordsToFilesRequest)
.Constructor and Description |
---|
ExportRecordsToFilesResponse()
Constructs an ExportRecordsToFilesResponse 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 |
getCountExported() |
long |
getCountSkipped() |
List<ByteBuffer> |
getDataBytes() |
List<String> |
getDataText() |
List<String> |
getFiles() |
Map<String,String> |
getInfo() |
long |
getLastTimestamp() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getTableName() |
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.
|
ExportRecordsToFilesResponse |
setCountExported(long countExported) |
ExportRecordsToFilesResponse |
setCountSkipped(long countSkipped) |
ExportRecordsToFilesResponse |
setDataBytes(List<ByteBuffer> dataBytes) |
ExportRecordsToFilesResponse |
setDataText(List<String> dataText) |
ExportRecordsToFilesResponse |
setFiles(List<String> files) |
ExportRecordsToFilesResponse |
setInfo(Map<String,String> info) |
ExportRecordsToFilesResponse |
setLastTimestamp(long lastTimestamp) |
ExportRecordsToFilesResponse |
setTableName(String tableName) |
String |
toString() |
public ExportRecordsToFilesResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTableName()
public ExportRecordsToFilesResponse setTableName(String tableName)
tableName
- Name of source tablethis
to mimic the builder pattern.public long getCountExported()
public ExportRecordsToFilesResponse setCountExported(long countExported)
countExported
- Number of source table records exportedthis
to mimic the builder pattern.public long getCountSkipped()
public ExportRecordsToFilesResponse setCountSkipped(long countSkipped)
countSkipped
- Number of source table records skippedthis
to mimic the builder pattern.public ExportRecordsToFilesResponse setFiles(List<String> files)
files
- Names of all exported filesthis
to mimic the builder pattern.public long getLastTimestamp()
public ExportRecordsToFilesResponse setLastTimestamp(long lastTimestamp)
lastTimestamp
- Timestamp of last file scannedthis
to mimic the builder pattern.public ExportRecordsToFilesResponse setDataText(List<String> dataText)
dataText
- this
to mimic the builder pattern.public List<ByteBuffer> getDataBytes()
public ExportRecordsToFilesResponse setDataBytes(List<ByteBuffer> dataBytes)
dataBytes
- this
to mimic the builder pattern.public ExportRecordsToFilesResponse setInfo(Map<String,String> info)
info
- Additional informationthis
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.