public class ShowDatasourceResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showDatasource.| Modifier and Type | Class and Description |
|---|---|
static class |
ShowDatasourceResponse.AdditionalInfo
A set of string constants for the
ShowDatasourceResponse
parameter additionalInfo. |
static class |
ShowDatasourceResponse.StorageProviderTypes
A set of string constants for the
ShowDatasourceResponse
parameter storageProviderTypes. |
| Constructor and Description |
|---|
ShowDatasourceResponse()
Constructs a ShowDatasourceResponse object with default parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Map<String,String>> |
getAdditionalInfo()
Additional information about the respective data sources in
datasourceNames. |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getDatasourceNames()
The data source names.
|
Map<String,String> |
getInfo()
Additional information.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getStorageProviderTypes()
The storage provider type of the data sources named in
datasourceNames. |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowDatasourceResponse |
setAdditionalInfo(List<Map<String,String>> additionalInfo)
Additional information about the respective data sources in
datasourceNames. |
ShowDatasourceResponse |
setDatasourceNames(List<String> datasourceNames)
The data source names.
|
ShowDatasourceResponse |
setInfo(Map<String,String> info)
Additional information.
|
ShowDatasourceResponse |
setStorageProviderTypes(List<String> storageProviderTypes)
The storage provider type of the data sources named in
datasourceNames. |
String |
toString() |
public ShowDatasourceResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getDatasourceNames()
datasourceNames.public ShowDatasourceResponse setDatasourceNames(List<String> datasourceNames)
datasourceNames - The new value for datasourceNames.this to mimic the builder pattern.public List<String> getStorageProviderTypes()
datasourceNames.
Supported values:
storageProviderTypes.public ShowDatasourceResponse setStorageProviderTypes(List<String> storageProviderTypes)
datasourceNames.
Supported values:
storageProviderTypes - The new value for storageProviderTypes.this to mimic the builder pattern.public List<Map<String,String>> getAdditionalInfo()
datasourceNames.
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
additionalInfo.public ShowDatasourceResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
datasourceNames.
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
additionalInfo - The new value for additionalInfo.this to mimic the builder pattern.public Map<String,String> getInfo()
info.public ShowDatasourceResponse setInfo(Map<String,String> info)
info - The new value for info.this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2025. All rights reserved.