public class CreateBackupResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.createBackup.| Constructor and Description |
|---|
CreateBackupResponse()
Constructs a CreateBackupResponse 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.
|
long |
getBackupId()
Backup ID.
|
String |
getBackupName()
Value of
backupName. |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
long |
getCopiedBytes()
Total size of all files copied for this snapshot
|
long |
getCopiedFiles()
Total number of files copied for this snapshot
|
long |
getCopiedRecords()
Total number of records in all files copied for this snapshot
|
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.
|
long |
getTotalNumberOfRecords()
Total number of records that can be restored from this snapshot
|
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.
|
CreateBackupResponse |
setBackupId(long backupId)
Backup ID.
|
CreateBackupResponse |
setBackupName(String backupName)
Value of
backupName. |
CreateBackupResponse |
setCopiedBytes(long copiedBytes)
Total size of all files copied for this snapshot
|
CreateBackupResponse |
setCopiedFiles(long copiedFiles)
Total number of files copied for this snapshot
|
CreateBackupResponse |
setCopiedRecords(long copiedRecords)
Total number of records in all files copied for this snapshot
|
CreateBackupResponse |
setInfo(Map<String,String> info)
Additional information.
|
CreateBackupResponse |
setTotalNumberOfRecords(long totalNumberOfRecords)
Total number of records that can be restored from this snapshot
|
String |
toString() |
public CreateBackupResponse()
public static org.apache.avro.Schema getClassSchema()
public String getBackupName()
backupName.backupName.public CreateBackupResponse setBackupName(String backupName)
backupName.backupName - The new value for backupName.this to mimic the builder pattern.public long getBackupId()
backupId.public CreateBackupResponse setBackupId(long backupId)
backupId - The new value for backupId.this to mimic the builder pattern.public long getCopiedBytes()
copiedBytes.public CreateBackupResponse setCopiedBytes(long copiedBytes)
copiedBytes - The new value for copiedBytes.this to mimic the builder pattern.public long getCopiedFiles()
copiedFiles.public CreateBackupResponse setCopiedFiles(long copiedFiles)
copiedFiles - The new value for copiedFiles.this to mimic the builder pattern.public long getCopiedRecords()
copiedRecords.public CreateBackupResponse setCopiedRecords(long copiedRecords)
copiedRecords - The new value for copiedRecords.this to mimic the builder pattern.public long getTotalNumberOfRecords()
totalNumberOfRecords.public CreateBackupResponse setTotalNumberOfRecords(long totalNumberOfRecords)
totalNumberOfRecords - The new value for totalNumberOfRecords.this to mimic the builder pattern.public Map<String,String> getInfo()
info.public CreateBackupResponse 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.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2025. All rights reserved.