Kinetica   C#   API  Version 7.2.3.1
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 
129  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
130 
133  public CreateCatalogRequest() { }
134 
192  public CreateCatalogRequest( string name,
193  string table_format,
194  string location,
195  string type,
196  string credential,
197  string datasource,
198  IDictionary<string, string> options = null)
199  {
200  this.name = name ?? "";
201  this.table_format = table_format ?? "";
202  this.location = location ?? "";
203  this.type = type ?? "";
204  this.credential = credential ?? "";
205  this.datasource = datasource ?? "";
206  this.options = options ?? new Dictionary<string, string>();
207  } // end constructor
208 } // end class CreateCatalogRequest
209 
214 {
217  public string name { get; set; }
218 
220  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
221 } // end class CreateCatalogResponse
IDictionary< string, string > info
Additional information.
const string DATASOURCE_CREDENTIALS
string name
Value of name.
string credential
Name of the credential object to be used in catalog.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string datasource
Password for the remote system user; may be an empty string.
CreateCatalogRequest()
Constructs a CreateCatalogRequest object with default parameters.
A set of results returned by Kinetica.createCatalog.
string table_format
Table format (iceberg, hudi, deltalake).
const string ACCESS_DELEGATION
Use access delegation for object store.
A set of parameters for 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.
A set of string constants for the parameter options.
const string SKIP_VALIDATION
Bypass validation of connection to remote source.
string name
Name of the catalog to be created.
IDictionary< string, string > options
Optional parameters.
string location
Location of the catalog in 'http[s]://[server[:port]]]' format.
string type
Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).