7 using System.Collections.Generic;
110 public const string TRUE =
"true";
111 public const string FALSE =
"false";
151 public const string TTL =
"ttl";
247 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
338 IDictionary<string, string>
options = null)
340 this.table_name = table_name ??
"";
341 this.type_id = type_id ??
"";
342 this.options =
options ??
new Dictionary<string, string>();
const string TTL
Sets the TTL of the table or collection specified in <member name="table_name">.
const string NO_ERROR_IF_EXISTS
If true, prevents an error from occurring if the table already exists and is of the given type...
string type_id
ID of a currently registered type.
const string FOREIGN_KEYS
Semicolon-separated list of foreign keys, of the format 'source_column references target_table(primar...
const string IS_RESULT_TABLE
For a table, indicates whether the table is a non-persistent, memory-only table that will store the o...
IDictionary< string, string > options
Optional parameters.
const string IS_REPLICATED
For a table, indicates whether the table is to be replicated to all the database ranks.
const string FOREIGN_SHARD_KEY
Foreign shard key of the format 'source_column references shard_by_column from target_table(primary_k...
const string DISALLOW_HOMOGENEOUS_TABLES
For a collection, indicates whether the collection prohibits containment of multiple tables of exactl...
string table_name
Value of .
const string COLLECTION_NAME
Name of a collection which is to contain the newly created table.
A set of parameters for /create/table.
string table_name
Name of the table to be created.
CreateTableRequest()
Constructs a CreateTableRequest object with default parameters.
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.
A set of results returned by /create/table.
KineticaData - class to help with Avro Encoding for Kinetica
CreateTableRequest(string table_name, string type_id, IDictionary< string, string > options=null)
Constructs a CreateTableRequest object with the specified parameters.