Package com.gpudb.protocol
Class ShowTypesResponse
java.lang.Object
com.gpudb.protocol.ShowTypesResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.showTypes.Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShowTypesResponse 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.getInfo()Additional information.The user-defined labels of each matching type.The column properties of each matching type.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The type IDs of the matching types.The Avro schema strings describing each matching type.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.Additional information.The user-defined labels of each matching type.The column properties of each matching type.setTypeIds(List<String> typeIds) The type IDs of the matching types.setTypeSchemas(List<String> typeSchemas) The Avro schema strings describing each matching type.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.setTypeIds
The type IDs of the matching types.Parameters:typeIds- The new value fortypeIds.Returns:thisto mimic the builder pattern.setTypeSchemas
The Avro schema strings describing each matching type.Parameters:typeSchemas- The new value fortypeSchemas.Returns:thisto mimic the builder pattern.setLabels
The user-defined labels of each matching type.Parameters:labels- The new value forlabels.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: