7 using System.Collections.Generic;
17 public class ShowDatasourceRequest : KineticaData
24 public string name {
get;
set; }
29 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
45 IDictionary<string, string>
options =
null)
47 this.name =
name ??
"";
55 public class ShowDatasourceResponse : KineticaData
61 public struct StorageProviderTypes
64 public const string HDFS =
"hdfs";
67 public const string S3 =
"s3";
74 public struct AdditionalInfo
79 public const string LOCATION =
"location";
87 public const string S3_REGION =
"s3_region";
93 public const string USER_NAME =
"user_name";
152 public IList<IDictionary<string, string>>
additional_info {
get;
set; } =
new List<IDictionary<string, string>>();
155 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string S3
Amazon S3 bucket
const string USER_NAME
Name of the remote system user
const string HDFS
Apache Hadoop Distributed File System
IList< string > storage_provider_types
The storage provider type of the data sources named in datasource_names.
IDictionary< string, string > info
Additional information.
string name
Name of the data source for which to retrieve information.
const string LOCATION
Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format
ShowDatasourceRequest(string name, IDictionary< string, string > options=null)
Constructs a ShowDatasourceRequest object with the specified parameters.
const string S3_BUCKET_NAME
Name of the Amazon S3 bucket used as the data source
ShowDatasourceRequest()
Constructs a ShowDatasourceRequest object with default parameters.
const string S3_REGION
Name of the Amazon S3 region where the bucket is located
IList< string > datasource_names
The data source names.
IList< IDictionary< string, string > > additional_info
Additional information about the respective data sources in datasource_names.
IDictionary< string, string > options
Optional parameters.
const string HDFS_KERBEROS_KEYTAB
Kerberos key for the given HDFS user