Kinetica C# API  Version 6.1.0.0
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 
30  {
31 
187  public struct Options
188  {
189 
207  public const string NO_ERROR_IF_EXISTS = "no_error_if_exists";
208  public const string TRUE = "true";
209  public const string FALSE = "false";
210 
215  public const string COLLECTION_NAME = "collection_name";
216 
232  public const string IS_COLLECTION = "is_collection";
233 
250  public const string DISALLOW_HOMOGENEOUS_TABLES = "disallow_homogeneous_tables";
251 
279  public const string IS_REPLICATED = "is_replicated";
280 
286  public const string FOREIGN_KEYS = "foreign_keys";
287 
291  public const string FOREIGN_SHARD_KEY = "foreign_shard_key";
292 
296  public const string TTL = "ttl";
297 
300  public const string CHUNK_SIZE = "chunk_size";
301 
319  public const string IS_RESULT_TABLE = "is_result_table";
320  } // end struct Options
321 
322 
328  public string table_name { get; set; }
329 
333  public string type_id { get; set; }
334 
488  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
489 
490 
493  public CreateTableRequest() { }
494 
661  string type_id,
662  IDictionary<string, string> options = null)
663  {
664  this.table_name = table_name ?? "";
665  this.type_id = type_id ?? "";
666  this.options = options ?? new Dictionary<string, string>();
667  } // end constructor
668 
669  } // end class CreateTableRequest
670 
671 
672 
677  {
678 
681  public string table_name { get; set; }
682 
685  public string type_id { get; set; }
686 
689  public bool is_collection { get; set; }
690 
691  } // end class CreateTableResponse
692 
693 
694 
695 
696 } // end namespace kinetica
const string TTL
For a table, sets the TTL of the table specified in table_name.
Definition: CreateTable.cs:296
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:207
string type_id
ID of a currently registered type.
Definition: CreateTable.cs:333
const string FOREIGN_KEYS
Semicolon-separated list of foreign keys, of the format &#39;source_column references target_table(primar...
Definition: CreateTable.cs:286
const string IS_RESULT_TABLE
For a table, indicates whether the table is an in-memory table.
Definition: CreateTable.cs:319
IDictionary< string, string > options
Optional parameters.
Definition: CreateTable.cs:488
const string IS_REPLICATED
For a table, indicates the distribution scheme for the table&#39;s data.
Definition: CreateTable.cs:279
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:291
const string DISALLOW_HOMOGENEOUS_TABLES
For a collection, indicates whether the collection prohibits containment of multiple tables of exactl...
Definition: CreateTable.cs:250
const string CHUNK_SIZE
Indicates the chunk size to be used for this table.
Definition: CreateTable.cs:300
const string COLLECTION_NAME
Name of a collection which is to contain the newly created table.
Definition: CreateTable.cs:215
A set of parameters for Kinetica.createTable(string,string,IDictionary<string, string>).
Definition: CreateTable.cs:29
string table_name
Name of the table to be created.
Definition: CreateTable.cs:328
CreateTableRequest()
Constructs a CreateTableRequest object with default parameters.
Definition: CreateTable.cs:493
const string IS_COLLECTION
Indicates whether the new table to be created will be a collection.
Definition: CreateTable.cs:232
A set of results returned by Kinetica.createTable(string,string,IDictionary<string, string>).
Definition: CreateTable.cs:676
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:660