Package com.gpudb.protocol
Class ShowDatasourceResponse
java.lang.Object
com.gpudb.protocol.ShowDatasourceResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.showDatasource.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theShowDatasourceResponseparameteradditionalInfo.static final classA set of string constants for theShowDatasourceResponseparameterstorageProviderTypes.Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShowDatasourceResponse 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.Additional information about the respective data sources indatasourceNames.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The data source names.getInfo()Additional information.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The storage provider type of the data sources named indatasourceNames.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setAdditionalInfo(List<Map<String, String>> additionalInfo) Additional information about the respective data sources indatasourceNames.setDatasourceNames(List<String> datasourceNames) The data source names.Additional information.setStorageProviderTypes(List<String> storageProviderTypes) The storage provider type of the data sources named indatasourceNames.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.setDatasourceNames
The data source names.Parameters:datasourceNames- The new value fordatasourceNames.Returns:thisto mimic the builder pattern.setStorageProviderTypes
The storage provider type of the data sources named indatasourceNames. Supported values:Parameters:storageProviderTypes- The new value forstorageProviderTypes.Returns:thisto mimic the builder pattern.getAdditionalInfo
Additional information about the respective data sources indatasourceNames.LOCATION: Location of the remote storage in ‘storage_provider_type://[storage_path[:storage_port]]’ format.S3_BUCKET_NAME: Name of the Amazon S3 bucket used as the data source.S3_REGION: Name of the Amazon S3 region where the bucket is located.HDFS_KERBEROS_KEYTAB: Kerberos key for the given HDFS user.USER_NAME: Name of the remote system user.
Returns:The current value ofadditionalInfo.setAdditionalInfo
Additional information about the respective data sources indatasourceNames.LOCATION: Location of the remote storage in ‘storage_provider_type://[storage_path[:storage_port]]’ format.S3_BUCKET_NAME: Name of the Amazon S3 bucket used as the data source.S3_REGION: Name of the Amazon S3 region where the bucket is located.HDFS_KERBEROS_KEYTAB: Kerberos key for the given HDFS user.USER_NAME: Name of the remote system user.
Parameters:additionalInfo- The new value foradditionalInfo.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: