Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
CreateTable.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 
10 
11 namespace kinetica
12 {
13 
27  {
28 
101  public struct Options
102  {
103 
109  public const string NO_ERROR_IF_EXISTS = "no_error_if_exists";
110  public const string TRUE = "true";
111  public const string FALSE = "false";
112 
118  public const string COLLECTION_NAME = "collection_name";
119 
123  public const string IS_COLLECTION = "is_collection";
124 
129  public const string DISALLOW_HOMOGENEOUS_TABLES = "disallow_homogeneous_tables";
130 
136  public const string IS_REPLICATED = "is_replicated";
137 
141  public const string FOREIGN_KEYS = "foreign_keys";
142 
146  public const string FOREIGN_SHARD_KEY = "foreign_shard_key";
147 
151  public const string TTL = "ttl";
152 
161  public const string IS_RESULT_TABLE = "is_result_table";
162  } // end struct Options
163 
164 
170  public string table_name { get; set; }
171 
175  public string type_id { get; set; }
176 
247  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
248 
249 
252  public CreateTableRequest() { }
253 
337  string type_id,
338  IDictionary<string, string> options = null)
339  {
340  this.table_name = table_name ?? "";
341  this.type_id = type_id ?? "";
342  this.options = options ?? new Dictionary<string, string>();
343  } // end constructor
344 
345  } // end class CreateTableRequest
346 
347 
348 
351  {
352 
355  public string table_name { get; set; }
356 
359  public string type_id { get; set; }
360 
363  public bool is_collection { get; set; }
364 
365  } // end class CreateTableResponse
366 
367 
368 
369 
370 } // end namespace kinetica
const string TTL
Sets the TTL of the table or collection specified in &lt;member name=&quot;table_name&quot;&gt;.
Definition: CreateTable.cs:151
string type_id
Value of .
Definition: CreateTable.cs:359
const string NO_ERROR_IF_EXISTS
If true, prevents an error from occurring if the table already exists and is of the given type...
Definition: CreateTable.cs:109
string type_id
ID of a currently registered type.
Definition: CreateTable.cs:175
const string FOREIGN_KEYS
Semicolon-separated list of foreign keys, of the format &#39;source_column references target_table(primar...
Definition: CreateTable.cs:141
const string IS_RESULT_TABLE
For a table, indicates whether the table is a non-persistent, memory-only table that will store the o...
Definition: CreateTable.cs:161
IDictionary< string, string > options
Optional parameters.
Definition: CreateTable.cs:247
const string IS_REPLICATED
For a table, indicates whether the table is to be replicated to all the database ranks.
Definition: CreateTable.cs:136
const string FOREIGN_SHARD_KEY
Foreign shard key of the format &#39;source_column references shard_by_column from target_table(primary_k...
Definition: CreateTable.cs:146
const string DISALLOW_HOMOGENEOUS_TABLES
For a collection, indicates whether the collection prohibits containment of multiple tables of exactl...
Definition: CreateTable.cs:129
string table_name
Value of .
Definition: CreateTable.cs:355
const string COLLECTION_NAME
Name of a collection which is to contain the newly created table.
Definition: CreateTable.cs:118
A set of parameters for /create/table.
Definition: CreateTable.cs:26
string table_name
Name of the table to be created.
Definition: CreateTable.cs:170
CreateTableRequest()
Constructs a CreateTableRequest object with default parameters.
Definition: CreateTable.cs:252
bool is_collection
Indicates if the created entity is a collection.
Definition: CreateTable.cs:363
const string IS_COLLECTION
Indicates whether the new table to be created will be a collection.
Definition: CreateTable.cs:123
A set of results returned by /create/table.
Definition: CreateTable.cs:350
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
CreateTableRequest(string table_name, string type_id, IDictionary< string, string > options=null)
Constructs a CreateTableRequest object with the specified parameters.
Definition: CreateTable.cs:336