Kinetica C# API  Version 7.1.10.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 
35  {
36 
321  public struct Options
322  {
323 
341  public const string NO_ERROR_IF_EXISTS = "no_error_if_exists";
342  public const string TRUE = "true";
343  public const string FALSE = "false";
344 
364  public const string CREATE_TEMP_TABLE = "create_temp_table";
365 
372  public const string COLLECTION_NAME = "collection_name";
373 
391  public const string IS_COLLECTION = "is_collection";
392 
407  public const string DISALLOW_HOMOGENEOUS_TABLES = "disallow_homogeneous_tables";
408 
437  public const string IS_REPLICATED = "is_replicated";
438 
445  public const string FOREIGN_KEYS = "foreign_keys";
446 
450  public const string FOREIGN_SHARD_KEY = "foreign_shard_key";
451 
492  public const string PARTITION_TYPE = "partition_type";
493 
497  public const string RANGE = "RANGE";
498 
502  public const string INTERVAL = "INTERVAL";
503 
507  public const string LIST = "LIST";
508 
512  public const string HASH = "HASH";
513 
517  public const string SERIES = "SERIES";
518 
523  public const string PARTITION_KEYS = "partition_keys";
524 
538  public const string PARTITION_DEFINITIONS = "partition_definitions";
539 
558  public const string IS_AUTOMATIC_PARTITION = "is_automatic_partition";
559 
563  public const string TTL = "ttl";
564 
567  public const string CHUNK_SIZE = "chunk_size";
568 
591  public const string IS_RESULT_TABLE = "is_result_table";
592 
596  public const string STRATEGY_DEFINITION = "strategy_definition";
597  } // end struct Options
598 
599 
608  public string table_name { get; set; }
609 
612  public string type_id { get; set; }
613 
896  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
897 
898 
901  public CreateTableRequest() { }
902 
1201  string type_id,
1202  IDictionary<string, string> options = null)
1203  {
1204  this.table_name = table_name ?? "";
1205  this.type_id = type_id ?? "";
1206  this.options = options ?? new Dictionary<string, string>();
1207  } // end constructor
1208 
1209  } // end class CreateTableRequest
1210 
1211 
1212 
1217  {
1218 
1231  public struct Info
1232  {
1233 
1236  public const string QUALIFIED_TABLE_NAME = "qualified_table_name";
1237  } // end struct Info
1238 
1239 
1242  public string table_name { get; set; }
1243 
1246  public string type_id { get; set; }
1247 
1250  public bool is_collection { get; set; }
1251 
1262  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
1263 
1264  } // end class CreateTableResponse
1265 
1266 
1267 
1268 
1269 } // end namespace kinetica
const string TTL
Sets the TTL of the table specified in table_name.
Definition: CreateTable.cs:563
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:341
string type_id
ID of a currently registered type.
Definition: CreateTable.cs:612
const string PARTITION_KEYS
Comma-separated list of partition keys, which are the columns or column expressions by which records ...
Definition: CreateTable.cs:523
Additional information.
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:445
const string PARTITION_TYPE
Partitioning scheme to use.
Definition: CreateTable.cs:492
const string IS_RESULT_TABLE
Indicates whether the table is a memory-only table.
Definition: CreateTable.cs:591
IDictionary< string, string > options
Optional parameters.
Definition: CreateTable.cs:896
const string LIST
Use list partitioning.
Definition: CreateTable.cs:507
const string IS_REPLICATED
Affects the distribution scheme for the table&#39;s data.
Definition: CreateTable.cs:437
const string INTERVAL
Use interval partitioning.
Definition: CreateTable.cs:502
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:450
const string PARTITION_DEFINITIONS
Comma-separated list of partition definitions, whose format depends on the choice of partition_type...
Definition: CreateTable.cs:538
const string DISALLOW_HOMOGENEOUS_TABLES
No longer supported; value will be ignored.
Definition: CreateTable.cs:407
const string RANGE
Use range partitioning.
Definition: CreateTable.cs:497
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:567
string table_name
Value of .
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema as part of table_name and use Kinetica.createSchema(string,IDictionary{string, string}) to create the schema if non-existent] Name of a schema which is to contain the newly created table.
Definition: CreateTable.cs:372
A set of parameters for Kinetica.createTable(string,string,IDictionary{string, string}).
Definition: CreateTable.cs:34
string table_name
Name of the table to be created, in [schema_name.
Definition: CreateTable.cs:608
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:558
CreateTableRequest()
Constructs a CreateTableRequest object with default parameters.
Definition: CreateTable.cs:901
const string SERIES
Use series partitioning.
Definition: CreateTable.cs:517
const string HASH
Use hash partitioning.
Definition: CreateTable.cs:512
const string CREATE_TEMP_TABLE
If true, a unique temporary table name will be generated in the sys_temp schema and used in place of ...
Definition: CreateTable.cs:364
bool is_collection
[DEPRECATED–this will always return false] Indicates if the created entity is a schema.
const string IS_COLLECTION
[DEPRECATED–please use Kinetica.createSchema(string,IDictionary{string, string}) to create a schema i...
Definition: CreateTable.cs:391
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
const string QUALIFIED_TABLE_NAME
The fully qualified name of the new table (i.e.
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:596