Kinetica   C#   API  Version 7.2.3.0
CreateCatalog.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
18  {
22  public struct Options
23  {
41  public const string ACCESS_DELEGATION = "access_delegation";
42 
43  public const string DATASOURCE_CREDENTIALS = "datasource_credentials";
44  public const string VENDED_CREDENTIALS = "vended_credentials";
45 
59  public const string SKIP_VALIDATION = "skip_validation";
60 
61  public const string TRUE = "true";
62  public const string FALSE = "false";
63  } // end struct Options
64 
66  public string name { get; set; }
67 
69  public string table_format { get; set; }
70 
73  public string location { get; set; }
74 
77  public string type { get; set; }
78 
81  public string credential { get; set; }
82 
85  public string datasource { get; set; }
86 
131  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
132 
135  public CreateCatalogRequest() { }
136 
196  public CreateCatalogRequest( string name,
197  string table_format,
198  string location,
199  string type,
200  string credential,
201  string datasource,
202  IDictionary<string, string> options = null)
203  {
204  this.name = name ?? "";
205  this.table_format = table_format ?? "";
206  this.location = location ?? "";
207  this.type = type ?? "";
208  this.credential = credential ?? "";
209  this.datasource = datasource ?? "";
210  this.options = options ?? new Dictionary<string, string>();
211  } // end constructor
212  } // end class CreateCatalogRequest
213 
218  {
221  public string name { get; set; }
222 
224  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
225  } // end class CreateCatalogResponse
226 } // end namespace kinetica
CreateCatalogRequest()
Constructs a CreateCatalogRequest object with default parameters.
IDictionary< string, string > info
Additional information.
A set of string constants for the parameter options.
string datasource
Password for the remote system user; may be an empty string
string name
Name of the catalog to be created.
const string SKIP_VALIDATION
Bypass validation of connection to remote source.
string credential
Name of the credential object to be used in catalog
IDictionary< string, string > options
Optional parameters.
A set of results returned by Kinetica.createCatalog.
CreateCatalogRequest(string name, string table_format, string location, string type, string credential, string datasource, IDictionary< string, string > options=null)
Constructs a CreateCatalogRequest object with the specified parameters.
string type
Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue)
string location
Location of the catalog in 'http[s]://[server[:port]]]' format.
A set of parameters for Kinetica.createCatalog.
const string ACCESS_DELEGATION
Use access delegation for object store.
string table_format
Table format (iceberg, hudi, deltalake)
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string name
Value of name.