Package com.gpudb.protocol
Class HasTypeRequest
java.lang.Object
com.gpudb.protocol.HasTypeRequest
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of parameters for
GPUdb.hasType.
Check for the existence of a type.
Constructor Summary
ConstructorsConstructorDescriptionConstructs a HasTypeRequest object with default parameters.HasTypeRequest(String typeId, Map<String, String> options) Constructs a HasTypeRequest object with the specified 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.Optional parameters.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Id of the type returned in response toGPUdb.createTyperequest.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setOptions(Map<String, String> options) Optional parameters.Id of the type returned in response toGPUdb.createTyperequest.toString()
Method Details
getTypeId
Id of the type returned in response toGPUdb.createTyperequest.Returns:The current value oftypeId.setTypeId
Id of the type returned in response toGPUdb.createTyperequest.Parameters:typeId- The new value fortypeId.Returns:thisto mimic the builder pattern.setOptions
Optional parameters. The default value is an emptyMap.Parameters:options- The new value foroptions.Returns:thisto mimic the builder pattern.