Package com.gpudb.protocol
Class CreateBackupResponse
java.lang.Object
com.gpudb.protocol.CreateBackupResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.createBackup.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.longID of the snapshot created.Value ofbackupName.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.longTotal size of all files copied for this snapshot.longTotal number of files copied for this snapshot.longTotal number of records in all files copied for this snapshot.getInfo()Additional information.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.longTotal number of records that can be restored from this snapshot.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setBackupId(long backupId) ID of the snapshot created.setBackupName(String backupName) Value ofbackupName.setCopiedBytes(long copiedBytes) Total size of all files copied for this snapshot.setCopiedFiles(long copiedFiles) Total number of files copied for this snapshot.setCopiedRecords(long copiedRecords) Total number of records in all files copied for this snapshot.Additional information.setTotalNumberOfRecords(long totalNumberOfRecords) Total number of records that can be restored from this snapshot.toString()
Method Details
setBackupName
Value ofbackupName.Parameters:backupName- The new value forbackupName.Returns:thisto mimic the builder pattern.