Kinetica C# API  Version 7.0.19.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 
44  {
45 
295  public struct Options
296  {
297 
315  public const string NO_ERROR_IF_EXISTS = "no_error_if_exists";
316  public const string TRUE = "true";
317  public const string FALSE = "false";
318 
323  public const string COLLECTION_NAME = "collection_name";
324 
340  public const string IS_COLLECTION = "is_collection";
341 
356  public const string DISALLOW_HOMOGENEOUS_TABLES = "disallow_homogeneous_tables";
357 
386  public const string IS_REPLICATED = "is_replicated";
387 
394  public const string FOREIGN_KEYS = "foreign_keys";
395 
399  public const string FOREIGN_SHARD_KEY = "foreign_shard_key";
400 
434  public const string PARTITION_TYPE = "partition_type";
435 
439  public const string RANGE = "RANGE";
440 
444  public const string INTERVAL = "INTERVAL";
445 
449  public const string LIST = "LIST";
450 
454  public const string HASH = "HASH";
455 
460  public const string PARTITION_KEYS = "partition_keys";
461 
473  public const string PARTITION_DEFINITIONS = "partition_definitions";
474 
493  public const string IS_AUTOMATIC_PARTITION = "is_automatic_partition";
494 
498  public const string TTL = "ttl";
499 
502  public const string CHUNK_SIZE = "chunk_size";
503 
521  public const string IS_RESULT_TABLE = "is_result_table";
522 
529  public const string STRATEGY_DEFINITION = "strategy_definition";
530  } // end struct Options
531 
532 
538  public string table_name { get; set; }
539 
543  public string type_id { get; set; }
544 
792  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
793 
794 
797  public CreateTableRequest() { }
798 
1059  string type_id,
1060  IDictionary<string, string> options = null)
1061  {
1062  this.table_name = table_name ?? "";
1063  this.type_id = type_id ?? "";
1064  this.options = options ?? new Dictionary<string, string>();
1065  } // end constructor
1066 
1067  } // end class CreateTableRequest
1068 
1069 
1070 
1075  {
1076 
1079  public string table_name { get; set; }
1080 
1083  public string type_id { get; set; }
1084 
1087  public bool is_collection { get; set; }
1088 
1090  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
1091 
1092  } // end class CreateTableResponse
1093 
1094 
1095 
1096 
1097 } // end namespace kinetica
const string TTL
For a table, sets the TTL of the table specified in table_name.
Definition: CreateTable.cs:498
string type_id
Value of .
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:315
string type_id
ID of a currently registered type.
Definition: CreateTable.cs:543
const string PARTITION_KEYS
Comma-separated list of partition keys, which are the columns or column expressions by which records ...
Definition: CreateTable.cs:460
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:394
const string PARTITION_TYPE
Partitioning scheme to use.
Definition: CreateTable.cs:434
const string IS_RESULT_TABLE
For a table, indicates whether the table is an in-memory table.
Definition: CreateTable.cs:521
IDictionary< string, string > options
Optional parameters.
Definition: CreateTable.cs:792
const string LIST
Use list partitioning.
Definition: CreateTable.cs:449
const string IS_REPLICATED
For a table, affects the distribution scheme for the table&#39;s data.
Definition: CreateTable.cs:386
const string INTERVAL
Use interval partitioning.
Definition: CreateTable.cs:444
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:399
const string PARTITION_DEFINITIONS
Comma-separated list of partition definitions, whose format depends on the choice of partition_type...
Definition: CreateTable.cs:473
const string DISALLOW_HOMOGENEOUS_TABLES
No longer supported; value will be ignored.
Definition: CreateTable.cs:356
const string RANGE
Use range partitioning.
Definition: CreateTable.cs:439
IDictionary< string, string > info
Additional information.
const string CHUNK_SIZE
Indicates the number of records per chunk to be used for this table.
Definition: CreateTable.cs:502
string table_name
Value of .
const string COLLECTION_NAME
Name of a collection which is to contain the newly created table.
Definition: CreateTable.cs:323
A set of parameters for Kinetica.createTable(string,string,IDictionary{string, string}).
Definition: CreateTable.cs:43
string table_name
Name of the table to be created.
Definition: CreateTable.cs:538
const string IS_AUTOMATIC_PARTITION
If true, a new partition will be created for values which don&#39;t fall into an existing partition...
Definition: CreateTable.cs:493
CreateTableRequest()
Constructs a CreateTableRequest object with default parameters.
Definition: CreateTable.cs:797
const string HASH
Use hash partitioning.
Definition: CreateTable.cs:454
bool is_collection
Indicates if the created entity is a collection.
const string IS_COLLECTION
Indicates whether the new table to be created will be a collection.
Definition: CreateTable.cs:340
A set of results returned by Kinetica.createTable(string,string,IDictionary{string, string}).
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.
const string STRATEGY_DEFINITION
The tier strategy for the table and its columns.
Definition: CreateTable.cs:529