Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
kinetica.InsertRecordsFromFilesRequest.CreateTableOptions Struct Reference

Options used when creating a new table. More...

Public Attributes

const string TYPE_ID = "type_id"
 ID of a currently registered type. More...
 
const string NO_ERROR_IF_EXISTS = "no_error_if_exists"
 If true, prevents an error from occurring if the table already exists and is of the given type. More...
 
const string TRUE = "true"
 
const string FALSE = "false"
 
const string COLLECTION_NAME = "collection_name"
 Name of a collection which is to contain the newly created table. More...
 
const string IS_REPLICATED = "is_replicated"
 For a table, affects the distribution scheme for the table's data. More...
 
const string FOREIGN_KEYS = "foreign_keys"
 Semicolon-separated list of foreign keys, of the format '(source_column_name [, ...]) references target_table_name(primary_key_column_name [, ...]) [as foreign_key_name]'. More...
 
const string FOREIGN_SHARD_KEY = "foreign_shard_key"
 Foreign shard key of the format 'source_column references shard_by_column from target_table(primary_key_column)'. More...
 
const string PARTITION_TYPE = "partition_type"
 Partitioning scheme to use. More...
 
const string RANGE = "RANGE"
 Use range partitioning. More...
 
const string INTERVAL = "INTERVAL"
 Use interval partitioning. More...
 
const string LIST = "LIST"
 Use list partitioning. More...
 
const string HASH = "HASH"
 Use hash partitioning. More...
 
const string PARTITION_KEYS = "partition_keys"
 Comma-separated list of partition keys, which are the columns or column expressions by which records will be assigned to partitions defined by partition_definitions. More...
 
const string PARTITION_DEFINITIONS = "partition_definitions"
 Comma-separated list of partition definitions, whose format depends on the choice of partition_type. More...
 
const string IS_AUTOMATIC_PARTITION = "is_automatic_partition"
 If true, a new partition will be created for values which don't fall into an existing partition. More...
 
const string TTL = "ttl"
 For a table, sets the TTL of the table specified in table_name. More...
 
const string CHUNK_SIZE = "chunk_size"
 Indicates the number of records per chunk to be used for this table. More...
 
const string IS_RESULT_TABLE = "is_result_table"
 For a table, indicates whether the table is an in-memory table. More...
 
const string STRATEGY_DEFINITION = "strategy_definition"
 The tier strategy for the table and its columns. More...
 

Detailed Description

Options used when creating a new table.

The default value is an empty Dictionary. A set of string constants for the parameter create_table_options.

Definition at line 256 of file InsertRecordsFromFiles.cs.

Member Data Documentation

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.CHUNK_SIZE = "chunk_size"

Indicates the number of records per chunk to be used for this table.

Definition at line 435 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.COLLECTION_NAME = "collection_name"

Name of a collection which is to contain the newly created table.

If the collection provided is non-existent, the collection will be automatically created. If empty, then the newly created table will be a top-level table.

Definition at line 289 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.FALSE = "false"

Definition at line 283 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.FOREIGN_KEYS = "foreign_keys"

Semicolon-separated list of foreign keys, of the format '(source_column_name [, ...]) references target_table_name(primary_key_column_name [, ...]) [as foreign_key_name]'.

Definition at line 327 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.FOREIGN_SHARD_KEY = "foreign_shard_key"

Foreign shard key of the format 'source_column references shard_by_column from target_table(primary_key_column)'.

Definition at line 332 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.HASH = "HASH"

Use hash partitioning.

Definition at line 387 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.INTERVAL = "INTERVAL"

Use interval partitioning.

Definition at line 377 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.IS_AUTOMATIC_PARTITION = "is_automatic_partition"

If true, a new partition will be created for values which don't fall into an existing partition.

Currently only supported for list partitions. Supported values:

The default value is FALSE.

Definition at line 426 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.IS_REPLICATED = "is_replicated"

For a table, affects the distribution scheme for the table's data.

If true and the given type has no explicit shard key defined, the table will be replicated. If false, the table will be sharded according to the shard key specified in the given type_id, or randomly sharded, if no shard key is specified. Note that a type containing a shard key cannot be used to create a replicated table. Supported values:

The default value is FALSE.

Definition at line 319 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.IS_RESULT_TABLE = "is_result_table"

For a table, indicates whether the table is an in-memory table.

A result table cannot contain store_only, text_search, or string columns (charN columns are acceptable), and it will not be retained if the server is restarted. Supported values:

The default value is FALSE.

Definition at line 454 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.LIST = "LIST"

Use list partitioning.

Definition at line 382 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.NO_ERROR_IF_EXISTS = "no_error_if_exists"

If true, prevents an error from occurring if the table already exists and is of the given type.

If a table with the same ID but a different type exists, it is still an error. Supported values:

The default value is FALSE.

Definition at line 281 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.PARTITION_DEFINITIONS = "partition_definitions"

Comma-separated list of partition definitions, whose format depends on the choice of partition_type.

See range partitioning, interval partitioning, list partitioning, or hash partitioning for example formats.

Definition at line 406 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.PARTITION_KEYS = "partition_keys"

Comma-separated list of partition keys, which are the columns or column expressions by which records will be assigned to partitions defined by partition_definitions.

Definition at line 393 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.PARTITION_TYPE = "partition_type"

Partitioning scheme to use.

Supported values:

Definition at line 367 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.RANGE = "RANGE"

Use range partitioning.

Definition at line 372 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.STRATEGY_DEFINITION = "strategy_definition"

The tier strategy for the table and its columns.

See tier strategy usage for format and tier strategy examples for examples.

Definition at line 462 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.TRUE = "true"

Definition at line 282 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.TTL = "ttl"

For a table, sets the TTL of the table specified in table_name.

Definition at line 431 of file InsertRecordsFromFiles.cs.

const string kinetica.InsertRecordsFromFilesRequest.CreateTableOptions.TYPE_ID = "type_id"

ID of a currently registered type.

The default value is ''.

Definition at line 262 of file InsertRecordsFromFiles.cs.


The documentation for this struct was generated from the following file: