Package com.gpudb.protocol
Class ShowTablesByTypeRequest
java.lang.Object
com.gpudb.protocol.ShowTablesByTypeRequest
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class ShowTablesByTypeRequest extends Object implements org.apache.avro.generic.IndexedRecord
A set of parameters for
GPUdb.showTablesByType.
Gets names of the tables whose type matches the given criteria. Each table has a particular type. This type comprises the schema and properties of the table and sometimes a type label. This function allows a look up of the existing tables based on full or partial type information. The operation is synchronous.
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.getLabel()Optional user supplied label which can be used instead of the type_id to retrieve all tables with the given label.Optional parameters.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Type id returned by a call toGPUdb.createType.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.Optional user supplied label which can be used instead of the type_id to retrieve all tables with the given label.setOptions(Map<String, String> options) Optional parameters.Type id returned by a call toGPUdb.createType.toString()
Constructor Details
ShowTablesByTypeRequest
Constructs a ShowTablesByTypeRequest object with the specified parameters.Parameters:typeId- Type id returned by a call toGPUdb.createType.label- Optional user supplied label which can be used instead of the type_id to retrieve all tables with the given label.options- Optional parameters. The default value is an emptyMap.
Method Details
setTypeId
Type id returned by a call toGPUdb.createType.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.