Kinetica   C#   API  Version 7.2.3.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 namespace kinetica
10 {
28  {
32  public struct Options
33  {
48  public const string NO_ERROR_IF_EXISTS = "no_error_if_exists";
49 
50  public const string TRUE = "true";
51  public const string FALSE = "false";
52 
67  public const string CREATE_TEMP_TABLE = "create_temp_table";
68 
76  public const string COLLECTION_NAME = "collection_name";
77 
93  public const string IS_COLLECTION = "is_collection";
94 
107  public const string DISALLOW_HOMOGENEOUS_TABLES = "disallow_homogeneous_tables";
108 
124  public const string IS_REPLICATED = "is_replicated";
125 
132  public const string FOREIGN_KEYS = "foreign_keys";
133 
137  public const string FOREIGN_SHARD_KEY = "foreign_shard_key";
138 
175  public const string PARTITION_TYPE = "partition_type";
176 
180  public const string RANGE = "RANGE";
181 
185  public const string INTERVAL = "INTERVAL";
186 
190  public const string LIST = "LIST";
191 
195  public const string HASH = "HASH";
196 
200  public const string SERIES = "SERIES";
201 
207  public const string PARTITION_KEYS = "partition_keys";
208 
224  public const string PARTITION_DEFINITIONS = "partition_definitions";
225 
240  public const string IS_AUTOMATIC_PARTITION = "is_automatic_partition";
241 
245  public const string TTL = "ttl";
246 
249  public const string CHUNK_SIZE = "chunk_size";
250 
253  public const string CHUNK_COLUMN_MAX_MEMORY = "chunk_column_max_memory";
254 
257  public const string CHUNK_MAX_MEMORY = "chunk_max_memory";
258 
273  public const string IS_RESULT_TABLE = "is_result_table";
274 
278  public const string STRATEGY_DEFINITION = "strategy_definition";
279 
308  public const string LOAD_VECTORS_POLICY = "load_vectors_policy";
309 
312  public const string ALWAYS = "always";
313 
316  public const string LAZY = "lazy";
317 
320  public const string ON_DEMAND = "on_demand";
321 
324  public const string SYSTEM = "system";
325 
355  public const string BUILD_PK_INDEX_POLICY = "build_pk_index_policy";
356  } // end struct Options
357 
368  public string table_name { get; set; }
369 
373  public string type_id { get; set; }
374 
748  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
749 
752  public CreateTableRequest() { }
753 
1145  string type_id,
1146  IDictionary<string, string> options = null)
1147  {
1148  this.table_name = table_name ?? "";
1149  this.type_id = type_id ?? "";
1150  this.options = options ?? new Dictionary<string, string>();
1151  } // end constructor
1152  } // end class CreateTableRequest
1153 
1158  {
1162  public struct Info
1163  {
1166  public const string QUALIFIED_TABLE_NAME = "qualified_table_name";
1167  } // end struct Info
1168 
1171  public string table_name { get; set; }
1172 
1175  public string type_id { get; set; }
1176 
1179  public bool is_collection { get; set; }
1180 
1192  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
1193  } // end class CreateTableResponse
1194 } // end namespace kinetica
const string TTL
Sets the TTL of the table specified in table_name.
Definition: CreateTable.cs:245
string type_id
Value of type_id.
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:48
string type_id
ID of a currently registered type.
Definition: CreateTable.cs:373
const string PARTITION_KEYS
Comma-separated list of partition keys, which are the columns or column expressions by which records ...
Definition: CreateTable.cs:207
A set of string constants for the parameter info.
const string FOREIGN_KEYS
Semicolon-separated list of foreign keys, of the format '(source_column_name [, .....
Definition: CreateTable.cs:132
const string PARTITION_TYPE
Partitioning scheme to use.
Definition: CreateTable.cs:175
const string IS_RESULT_TABLE
Indicates whether the table is a memory-only table.
Definition: CreateTable.cs:273
IDictionary< string, string > options
Optional parameters.
Definition: CreateTable.cs:748
const string LIST
Use list partitioning.
Definition: CreateTable.cs:190
const string BUILD_PK_INDEX_POLICY
Set startup primary-key index generation scheme for the table.
Definition: CreateTable.cs:355
const string IS_REPLICATED
Affects the distribution scheme for the table's data.
Definition: CreateTable.cs:124
const string INTERVAL
Use interval partitioning.
Definition: CreateTable.cs:185
const string FOREIGN_SHARD_KEY
Foreign shard key of the format 'source_column references shard_by_column from target_table(primary_k...
Definition: CreateTable.cs:137
const string PARTITION_DEFINITIONS
Comma-separated list of partition definitions, whose format depends on the choice of PARTITION_TYPE.
Definition: CreateTable.cs:224
const string DISALLOW_HOMOGENEOUS_TABLES
No longer supported; value will be ignored.
Definition: CreateTable.cs:107
const string RANGE
Use range partitioning.
Definition: CreateTable.cs:180
IDictionary< string, string > info
Additional information.
const string CHUNK_MAX_MEMORY
Indicates the target maximum data size for all columns in a chunk to be used for this table.
Definition: CreateTable.cs:257
const string CHUNK_SIZE
Indicates the number of records per chunk to be used for this table.
Definition: CreateTable.cs:249
string table_name
Value of table_name.
const string ALWAYS
Generate as much primary key index data as possible before accepting requests.
Definition: CreateTable.cs:312
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema as part of table_name and use Kinetica....
Definition: CreateTable.cs:76
A set of parameters for Kinetica.createTable.
Definition: CreateTable.cs:27
const string ON_DEMAND
Generate primary key index data as requests use it.
Definition: CreateTable.cs:320
string table_name
Name of the table to be created, in [schema_name.
Definition: CreateTable.cs:368
const string LOAD_VECTORS_POLICY
Set startup data loading scheme for the table.
Definition: CreateTable.cs:308
const string IS_AUTOMATIC_PARTITION
If TRUE, a new partition will be created for values which don't fall into an existing partition.
Definition: CreateTable.cs:240
CreateTableRequest()
Constructs a CreateTableRequest object with default parameters.
Definition: CreateTable.cs:752
const string SERIES
Use series partitioning.
Definition: CreateTable.cs:200
const string HASH
Use hash partitioning.
Definition: CreateTable.cs:195
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:67
bool is_collection
[DEPRECATED–this will always return false] Indicates if the created entity is a schema.
const string SYSTEM
Generate primary key index data using the system-configured default.
Definition: CreateTable.cs:324
const string IS_COLLECTION
[DEPRECATED–please use Kinetica.createSchema to create a schema instead] Indicates whether to create ...
Definition: CreateTable.cs:93
A set of results returned by Kinetica.createTable.
const string CHUNK_COLUMN_MAX_MEMORY
Indicates the target maximum data size for each column in a chunk to be used for this table.
Definition: CreateTable.cs:253
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string LAZY
Generate the necessary primary key index data at start, and load the remainder lazily.
Definition: CreateTable.cs:316
A set of string constants for the parameter options.
Definition: CreateTable.cs:32
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:278