Package com.gpudb.protocol
Class ExportRecordsToFilesResponse
java.lang.Object
com.gpudb.protocol.ExportRecordsToFilesResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class ExportRecordsToFilesResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.exportRecordsToFiles.Constructor Summary
ConstructorsConstructorDescriptionConstructs an ExportRecordsToFilesResponse object with default parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.longNumber of source table records exported.longNumber of source table records skipped.[Not used].[Not used].getFiles()Names of all exported files.getInfo()Additional information.longTimestamp of last file scanned.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Name of source table.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCountExported(long countExported) Number of source table records exported.setCountSkipped(long countSkipped) Number of source table records skipped.setDataBytes(List<ByteBuffer> dataBytes) [Not used].setDataText(List<String> dataText) [Not used].Names of all exported files.Additional information.setLastTimestamp(long lastTimestamp) Timestamp of last file scanned.setTableName(String tableName) Name of source table.toString()
Method Details
getClassSchema
public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.Returns:The schema for the class.setTableName
Name of source table.Parameters:tableName- The new value fortableName.Returns:thisto mimic the builder pattern.getCountExported
public long getCountExported()Number of source table records exported.Returns:The current value ofcountExported.setCountExported
Number of source table records exported.Parameters:countExported- The new value forcountExported.Returns:thisto mimic the builder pattern.getCountSkipped
public long getCountSkipped()Number of source table records skipped.Returns:The current value ofcountSkipped.setCountSkipped
Number of source table records skipped.Parameters:countSkipped- The new value forcountSkipped.Returns:thisto mimic the builder pattern.setFiles
Names of all exported files.Parameters:files- The new value forfiles.Returns:thisto mimic the builder pattern.getLastTimestamp
public long getLastTimestamp()Timestamp of last file scanned.Returns:The current value oflastTimestamp.setLastTimestamp
Timestamp of last file scanned.Parameters:lastTimestamp- The new value forlastTimestamp.Returns:thisto mimic the builder pattern.setDataText
[Not used].Parameters:dataText- The new value fordataText.Returns:thisto mimic the builder pattern.getDataBytes
[Not used].Returns:The current value ofdataBytes.setDataBytes
[Not used].Parameters:dataBytes- The new value fordataBytes.Returns:thisto mimic the builder pattern.setInfo
Additional information.Parameters:info- The new value forinfo.Returns:thisto mimic the builder pattern.getSchema
public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getSchemain interfaceorg.apache.avro.generic.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: