public class RestoreBackupResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.restoreBackup.| Constructor and Description |
|---|
RestoreBackupResponse()
Constructs a RestoreBackupResponse 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()
The backup ID that was restored
|
String |
getBackupName()
The backup name
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,String> |
getFailedObjects()
Objects that failed to be restored and their associated types.
|
Map<String,String> |
getInfo()
Additional information.
|
Map<String,String> |
getRenamedObjects()
Original and new names of objects that were successfully restored and
their associated types.
|
long |
getRestoredBytes()
Total size of data restored from backup
|
long |
getRestoredFiles()
Total number of files restored from backup
|
Map<String,String> |
getRestoredObjects()
Objects that were successfully restored and their associated types.
|
long |
getRestoredRecords()
Total number of records restored from backup
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
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.
|
RestoreBackupResponse |
setBackupId(long backupId)
The backup ID that was restored
|
RestoreBackupResponse |
setBackupName(String backupName)
The backup name
|
RestoreBackupResponse |
setFailedObjects(Map<String,String> failedObjects)
Objects that failed to be restored and their associated types.
|
RestoreBackupResponse |
setInfo(Map<String,String> info)
Additional information.
|
RestoreBackupResponse |
setRenamedObjects(Map<String,String> renamedObjects)
Original and new names of objects that were successfully restored and
their associated types.
|
RestoreBackupResponse |
setRestoredBytes(long restoredBytes)
Total size of data restored from backup
|
RestoreBackupResponse |
setRestoredFiles(long restoredFiles)
Total number of files restored from backup
|
RestoreBackupResponse |
setRestoredObjects(Map<String,String> restoredObjects)
Objects that were successfully restored and their associated types.
|
RestoreBackupResponse |
setRestoredRecords(long restoredRecords)
Total number of records restored from backup
|
String |
toString() |
public RestoreBackupResponse()
public static org.apache.avro.Schema getClassSchema()
public String getBackupName()
backupName.public RestoreBackupResponse setBackupName(String backupName)
backupName - The new value for backupName.this to mimic the builder pattern.public long getBackupId()
backupId.public RestoreBackupResponse setBackupId(long backupId)
backupId - The new value for backupId.this to mimic the builder pattern.public long getRestoredBytes()
restoredBytes.public RestoreBackupResponse setRestoredBytes(long restoredBytes)
restoredBytes - The new value for restoredBytes.this to mimic the builder pattern.public long getRestoredFiles()
restoredFiles.public RestoreBackupResponse setRestoredFiles(long restoredFiles)
restoredFiles - The new value for restoredFiles.this to mimic the builder pattern.public long getRestoredRecords()
restoredRecords.public RestoreBackupResponse setRestoredRecords(long restoredRecords)
restoredRecords - The new value for restoredRecords.this to mimic the builder pattern.public Map<String,String> getRestoredObjects()
restoredObjects.public RestoreBackupResponse setRestoredObjects(Map<String,String> restoredObjects)
restoredObjects - The new value for restoredObjects.this to mimic the builder pattern.public Map<String,String> getRenamedObjects()
renamedObjects.public RestoreBackupResponse setRenamedObjects(Map<String,String> renamedObjects)
renamedObjects - The new value for renamedObjects.this to mimic the builder pattern.public Map<String,String> getFailedObjects()
failedObjects.public RestoreBackupResponse setFailedObjects(Map<String,String> failedObjects)
failedObjects - The new value for failedObjects.this to mimic the builder pattern.public Map<String,String> getInfo()
info.public RestoreBackupResponse 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.