Package com.gpudb.protocol
Class CheckTableResponse
java.lang.Object
com.gpudb.protocol.CheckTableResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.checkTable.Constructor Summary
ConstructorsConstructorDescriptionConstructs a CheckTableResponse 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.A description of each corruption error detected or count of the errors, based onSHOW_DETAIL.getIds()The chunk identifiers associated with each reported result.getInfo()Additional information.The locations (rank/tom) where each chunk corruption was found.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The names of the tables that were checked.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.A description of each corruption error detected or count of the errors, based onSHOW_DETAIL.The chunk identifiers associated with each reported result.Additional information.setLocations(List<String> locations) The locations (rank/tom) where each chunk corruption was found.setTableNames(List<String> tableNames) The names of the tables that were checked.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.setTableNames
The names of the tables that were checked.Parameters:tableNames- The new value fortableNames.Returns:thisto mimic the builder pattern.setIds
The chunk identifiers associated with each reported result.Parameters:ids- The new value forids.Returns:thisto mimic the builder pattern.setLocations
The locations (rank/tom) where each chunk corruption was found.Parameters:locations- The new value forlocations.Returns:thisto mimic the builder pattern.getErrors
A description of each corruption error detected or count of the errors, based onSHOW_DETAIL.Returns:The current value oferrors.setErrors
A description of each corruption error detected or count of the errors, based onSHOW_DETAIL.Parameters:errors- The new value forerrors.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: