Kinetica C# API  Version 6.2.0.1
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 
287  public const string FOREIGN_KEYS = "foreign_keys";
288 
292  public const string FOREIGN_SHARD_KEY = "foreign_shard_key";
293 
297  public const string TTL = "ttl";
298 
301  public const string CHUNK_SIZE = "chunk_size";
302 
320  public const string IS_RESULT_TABLE = "is_result_table";
321  } // end struct Options
322 
323 
329  public string table_name { get; set; }
330 
334  public string type_id { get; set; }
335 
489  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
490 
491 
494  public CreateTableRequest() { }
495 
662  string type_id,
663  IDictionary<string, string> options = null)
664  {
665  this.table_name = table_name ?? "";
666  this.type_id = type_id ?? "";
667  this.options = options ?? new Dictionary<string, string>();
668  } // end constructor
669 
670  } // end class CreateTableRequest
671 
672 
673 
678  {
679 
682  public string table_name { get; set; }
683 
686  public string type_id { get; set; }
687 
690  public bool is_collection { get; set; }
691 
692  } // end class CreateTableResponse
693 
694 
695 
696 
697 } // end namespace kinetica
const string TTL
For a table, sets the TTL of the table specified in table_name.
Definition: CreateTable.cs:297
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:334
const string FOREIGN_KEYS
Semicolon-separated list of foreign keys, of the format &#39;(source_column_name [, ...]) references target_table_name(primary_key_column_name [, ...]) [as foreign_key_name]&#39;.
Definition: CreateTable.cs:287
const string IS_RESULT_TABLE
For a table, indicates whether the table is an in-memory table.
Definition: CreateTable.cs:320
IDictionary< string, string > options
Optional parameters.
Definition: CreateTable.cs:489
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:292
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:301
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:329
CreateTableRequest()
Constructs a CreateTableRequest object with default parameters.
Definition: CreateTable.cs:494
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:677
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:661