Kinetica   C#   API  Version 7.2.3.0
kinetica.CreateDatasourceRequest Class Reference

A set of parameters for Kinetica.createDatasource. More...

+ Inheritance diagram for kinetica.CreateDatasourceRequest:
+ Collaboration diagram for kinetica.CreateDatasourceRequest:

Classes

struct  Options
 A set of string constants for the parameter options. More...
 

Public Member Functions

 CreateDatasourceRequest ()
 Constructs a CreateDatasourceRequest object with default parameters. More...
 
 CreateDatasourceRequest (string name, string location, string user_name, string password, IDictionary< string, string > options=null)
 Constructs a CreateDatasourceRequest object with the specified parameters. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

string name [get, set]
 Name of the data source to be created. More...
 
string location [get, set]
 Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format. More...
 
string user_name [get, set]
 Name of the remote system user; may be an empty string More...
 
string password [get, set]
 Password for the remote system user; may be an empty string More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.createDatasource.

Creates a data source, which contains the location and connection information for a data store that is external to the database.

Definition at line 18 of file CreateDatasource.cs.

Constructor & Destructor Documentation

◆ CreateDatasourceRequest() [1/2]

kinetica.CreateDatasourceRequest.CreateDatasourceRequest ( )
inline

Constructs a CreateDatasourceRequest object with default parameters.

Definition at line 596 of file CreateDatasource.cs.

◆ CreateDatasourceRequest() [2/2]

kinetica.CreateDatasourceRequest.CreateDatasourceRequest ( string  name,
string  location,
string  user_name,
string  password,
IDictionary< string, string >  options = null 
)
inline

Constructs a CreateDatasourceRequest object with the specified parameters.

Parameters
nameName of the data source to be created.
locationLocation of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format. Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'.
user_nameName of the remote system user; may be an empty string
passwordPassword for the remote system user; may be an empty string
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 930 of file CreateDatasource.cs.

Property Documentation

◆ location

string kinetica.CreateDatasourceRequest.location
getset

Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format.

Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'.

Definition at line 262 of file CreateDatasource.cs.

◆ name

string kinetica.CreateDatasourceRequest.name
getset

Name of the data source to be created.

Definition at line 254 of file CreateDatasource.cs.

◆ options

IDictionary<string, string> kinetica.CreateDatasourceRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

The default value is an empty Dictionary.

Definition at line 592 of file CreateDatasource.cs.

◆ password

string kinetica.CreateDatasourceRequest.password
getset

Password for the remote system user; may be an empty string

Definition at line 270 of file CreateDatasource.cs.

◆ user_name

string kinetica.CreateDatasourceRequest.user_name
getset

Name of the remote system user; may be an empty string

Definition at line 266 of file CreateDatasource.cs.


The documentation for this class was generated from the following file: