public class AdminVerifyDbResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.adminVerifyDb
.Constructor and Description |
---|
AdminVerifyDbResponse()
Constructs an AdminVerifyDbResponse 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.
|
List<String> |
getErrorList()
List of errors found while validating the database internal state.
|
Map<String,String> |
getInfo()
Additional information.
|
long |
getOrphanedTablesTotalSize()
If
VERIFY_PERSIST is TRUE , VERIFY_ORPHANED_TABLES_ONLY is TRUE or DELETE_ORPHANED_TABLES is TRUE , this is the
sum in bytes of all orphaned tables found. |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
boolean |
getVerifiedOk()
True if no errors were found, false otherwise.
|
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.
|
AdminVerifyDbResponse |
setErrorList(List<String> errorList)
List of errors found while validating the database internal state.
|
AdminVerifyDbResponse |
setInfo(Map<String,String> info)
Additional information.
|
AdminVerifyDbResponse |
setOrphanedTablesTotalSize(long orphanedTablesTotalSize)
If
VERIFY_PERSIST is TRUE , VERIFY_ORPHANED_TABLES_ONLY is TRUE or DELETE_ORPHANED_TABLES is TRUE , this is the
sum in bytes of all orphaned tables found. |
AdminVerifyDbResponse |
setVerifiedOk(boolean verifiedOk)
True if no errors were found, false otherwise.
|
String |
toString() |
public AdminVerifyDbResponse()
public static org.apache.avro.Schema getClassSchema()
public boolean getVerifiedOk()
false
.verifiedOk
.public AdminVerifyDbResponse setVerifiedOk(boolean verifiedOk)
false
.verifiedOk
- The new value for verifiedOk
.this
to mimic the builder pattern.public List<String> getErrorList()
List
.errorList
.public AdminVerifyDbResponse setErrorList(List<String> errorList)
List
.errorList
- The new value for errorList
.this
to mimic the builder pattern.public long getOrphanedTablesTotalSize()
VERIFY_PERSIST
is TRUE
, VERIFY_ORPHANED_TABLES_ONLY
is TRUE
or DELETE_ORPHANED_TABLES
is TRUE
, this is the
sum in bytes of all orphaned tables found. Otherwise, -1.orphanedTablesTotalSize
.public AdminVerifyDbResponse setOrphanedTablesTotalSize(long orphanedTablesTotalSize)
VERIFY_PERSIST
is TRUE
, VERIFY_ORPHANED_TABLES_ONLY
is TRUE
or DELETE_ORPHANED_TABLES
is TRUE
, this is the
sum in bytes of all orphaned tables found. Otherwise, -1.orphanedTablesTotalSize
- The new value for orphanedTablesTotalSize
.this
to mimic the builder pattern.public Map<String,String> getInfo()
info
.public AdminVerifyDbResponse 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.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 © 2025. All rights reserved.