Package com.gpudb.protocol
Class HasProcRequest
java.lang.Object
com.gpudb.protocol.HasProcRequest
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of parameters for
GPUdb.hasProc.
Checks the existence of a proc with the given name.
Constructor Summary
ConstructorsConstructorDescriptionConstructs a HasProcRequest object with default parameters.HasProcRequest(String procName, Map<String, String> options) Constructs a HasProcRequest 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.Name of the proc to check for existence.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.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.setProcName(String procName) Name of the proc to check for existence.toString()
Method Details
setOptions
Optional parameters. The default value is an emptyMap.Parameters:options- The new value foroptions.Returns:thisto mimic the builder pattern.