Package com.gpudb.protocol
Class AdminVerifyDbResponse
java.lang.Object
com.gpudb.protocol.AdminVerifyDbResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.adminVerifyDb.Constructor Summary
ConstructorsConstructorDescriptionConstructs an AdminVerifyDbResponse 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.List of errors found while validating the database internal state.getInfo()Additional information.longIfVERIFY_PERSISTisTRUE,VERIFY_ORPHANED_TABLES_ONLYisTRUEorDELETE_ORPHANED_TABLESisTRUE, this is the sum in bytes of all orphaned tables found.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.booleanTrue if no errors were found, false otherwise.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setErrorList(List<String> errorList) List of errors found while validating the database internal state.Additional information.setOrphanedTablesTotalSize(long orphanedTablesTotalSize) IfVERIFY_PERSISTisTRUE,VERIFY_ORPHANED_TABLES_ONLYisTRUEorDELETE_ORPHANED_TABLESisTRUE, this is the sum in bytes of all orphaned tables found.setVerifiedOk(boolean verifiedOk) True if no errors were found, false otherwise.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.getVerifiedOk
public boolean getVerifiedOk()True if no errors were found, false otherwise. The default value isfalse.Returns:The current value ofverifiedOk.setVerifiedOk
True if no errors were found, false otherwise. The default value isfalse.Parameters:verifiedOk- The new value forverifiedOk.Returns:thisto mimic the builder pattern.setErrorList
List of errors found while validating the database internal state. The default value is an emptyList.Parameters:errorList- The new value forerrorList.Returns:thisto mimic the builder pattern.getOrphanedTablesTotalSize
public long getOrphanedTablesTotalSize()IfVERIFY_PERSISTisTRUE,VERIFY_ORPHANED_TABLES_ONLYisTRUEorDELETE_ORPHANED_TABLESisTRUE, this is the sum in bytes of all orphaned tables found. Otherwise, -1.Returns:The current value oforphanedTablesTotalSize.setOrphanedTablesTotalSize
IfVERIFY_PERSISTisTRUE,VERIFY_ORPHANED_TABLES_ONLYisTRUEorDELETE_ORPHANED_TABLESisTRUE, this is the sum in bytes of all orphaned tables found. Otherwise, -1.Parameters:orphanedTablesTotalSize- The new value fororphanedTablesTotalSize.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: