Kinetica   C#   API  Version 7.2.3.1
CreateProjectionRequest.Options Struct Reference

A set of string constants for the parameter options. More...

Public Attributes

const string CREATE_TEMP_TABLE = "create_temp_table"
 If TRUE, a unique temporary table name will be generated in the sys_temp schema and used in place of projection_name. More...
 
const string TRUE = "true"
 
const string FALSE = "false"
 
const string COLLECTION_NAME = "collection_name"
 [DEPRECATED–please specify the containing schema for the projection as part of projection_name and use Kinetica.createSchema to create the schema if non-existent] Name of a schema for the projection. More...
 
const string EXPRESSION = "expression"
 An optional filter expression to be applied to the source table prior to the projection. More...
 
const string IS_REPLICATED = "is_replicated"
 If TRUE then the projection will be replicated even if the source table is not. More...
 
const string OFFSET = "offset"
 The number of initial results to skip (this can be useful for paging through the results). More...
 
const string LIMIT = "limit"
 The number of records to keep. More...
 
const string ORDER_BY = "order_by"
 Comma-separated list of the columns to be sorted by; e.g. More...
 
const string CHUNK_SIZE = "chunk_size"
 Indicates the number of records per chunk to be used for this projection. More...
 
const string CHUNK_COLUMN_MAX_MEMORY = "chunk_column_max_memory"
 Indicates the target maximum data size for each column in a chunk to be used for this projection. More...
 
const string CHUNK_MAX_MEMORY = "chunk_max_memory"
 Indicates the target maximum data size for all columns in a chunk to be used for this projection. More...
 
const string CREATE_INDEXES = "create_indexes"
 Comma-separated list of columns on which to create indexes on the projection. More...
 
const string TTL = "ttl"
 Sets the TTL of the projection specified in projection_name. More...
 
const string SHARD_KEY = "shard_key"
 Comma-separated list of the columns to be sharded on; e.g. More...
 
const string PERSIST = "persist"
 If TRUE, then the projection specified in projection_name will be persisted and will not expire unless a TTL is specified. More...
 
const string PRESERVE_DICT_ENCODING = "preserve_dict_encoding"
 If TRUE, then columns that were dict encoded in the source table will be dict encoded in the projection. More...
 
const string RETAIN_PARTITIONS = "retain_partitions"
 Determines whether the created projection will retain the partitioning scheme from the source table. 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 SERIES = "SERIES"
 Use series 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 VIEW_ID = "view_id"
 ID of view of which this projection is a member. More...
 
const string STRATEGY_DEFINITION = "strategy_definition"
 The tier strategy for the table and its columns. More...
 
const string COMPRESSION_CODEC = "compression_codec"
 The default compression codec for the projection's columns. More...
 
const string JOIN_WINDOW_FUNCTIONS = "join_window_functions"
 If set, window functions which require a reshard will be computed separately and joined back together, if the width of the projection is greater than the join_window_functions_threshold. More...
 
const string JOIN_WINDOW_FUNCTIONS_THRESHOLD = "join_window_functions_threshold"
 If the projection is greater than this width (in bytes), then window functions which require a reshard will be computed separately and joined back together. More...
 
const string QUALIFY_FILTER = "qualify_filter"
 An optional filter expression applied to the projection after window function evaluation, equivalent to a SQL QUALIFY clause. More...
 

Detailed Description

A set of string constants for the parameter options.

Optional parameters.

Definition at line 46 of file CreateProjection.cs.

Member Data Documentation

◆ CHUNK_COLUMN_MAX_MEMORY

const string CreateProjectionRequest.Options.CHUNK_COLUMN_MAX_MEMORY = "chunk_column_max_memory"

Indicates the target maximum data size for each column in a chunk to be used for this projection.

Definition at line 121 of file CreateProjection.cs.

◆ CHUNK_MAX_MEMORY

const string CreateProjectionRequest.Options.CHUNK_MAX_MEMORY = "chunk_max_memory"

Indicates the target maximum data size for all columns in a chunk to be used for this projection.

Definition at line 125 of file CreateProjection.cs.

◆ CHUNK_SIZE

const string CreateProjectionRequest.Options.CHUNK_SIZE = "chunk_size"

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

Definition at line 117 of file CreateProjection.cs.

◆ COLLECTION_NAME

const string CreateProjectionRequest.Options.COLLECTION_NAME = "collection_name"

[DEPRECATED–please specify the containing schema for the projection as part of projection_name and use Kinetica.createSchema to create the schema if non-existent] Name of a schema for the projection.

If the schema is non-existent, it will be automatically created. The default value is ''.

Definition at line 74 of file CreateProjection.cs.

◆ COMPRESSION_CODEC

const string CreateProjectionRequest.Options.COMPRESSION_CODEC = "compression_codec"

The default compression codec for the projection's columns.

Definition at line 311 of file CreateProjection.cs.

◆ CREATE_INDEXES

const string CreateProjectionRequest.Options.CREATE_INDEXES = "create_indexes"

Comma-separated list of columns on which to create indexes on the projection.

The columns specified must be present in column_names. If any alias is given for any column name, the alias must be used, rather than the original column name.

Definition at line 133 of file CreateProjection.cs.

◆ CREATE_TEMP_TABLE

const string CreateProjectionRequest.Options.CREATE_TEMP_TABLE = "create_temp_table"

If TRUE, a unique temporary table name will be generated in the sys_temp schema and used in place of projection_name.

Supported values:

The default value is FALSE.

Definition at line 62 of file CreateProjection.cs.

◆ EXPRESSION

const string CreateProjectionRequest.Options.EXPRESSION = "expression"

An optional filter expression to be applied to the source table prior to the projection.

The default value is ''.

Definition at line 81 of file CreateProjection.cs.

◆ FALSE

const string CreateProjectionRequest.Options.FALSE = "false"

Definition at line 65 of file CreateProjection.cs.

◆ HASH

const string CreateProjectionRequest.Options.HASH = "HASH"

Use hash partitioning.

Definition at line 251 of file CreateProjection.cs.

◆ INTERVAL

const string CreateProjectionRequest.Options.INTERVAL = "INTERVAL"

Use interval partitioning.

Definition at line 241 of file CreateProjection.cs.

◆ IS_AUTOMATIC_PARTITION

const string CreateProjectionRequest.Options.IS_AUTOMATIC_PARTITION = "is_automatic_partition"

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

Supported values:

The default value is FALSE.

Definition at line 296 of file CreateProjection.cs.

◆ IS_REPLICATED

const string CreateProjectionRequest.Options.IS_REPLICATED = "is_replicated"

If TRUE then the projection will be replicated even if the source table is not.

Supported values:

The default value is FALSE.

Definition at line 96 of file CreateProjection.cs.

◆ JOIN_WINDOW_FUNCTIONS

const string CreateProjectionRequest.Options.JOIN_WINDOW_FUNCTIONS = "join_window_functions"

If set, window functions which require a reshard will be computed separately and joined back together, if the width of the projection is greater than the join_window_functions_threshold.

The default value is 'true'.

Definition at line 318 of file CreateProjection.cs.

◆ JOIN_WINDOW_FUNCTIONS_THRESHOLD

const string CreateProjectionRequest.Options.JOIN_WINDOW_FUNCTIONS_THRESHOLD = "join_window_functions_threshold"

If the projection is greater than this width (in bytes), then window functions which require a reshard will be computed separately and joined back together.

The default value is ''.

Definition at line 324 of file CreateProjection.cs.

◆ LIMIT

const string CreateProjectionRequest.Options.LIMIT = "limit"

The number of records to keep.

The default value is '-9999'.

Definition at line 105 of file CreateProjection.cs.

◆ LIST

const string CreateProjectionRequest.Options.LIST = "LIST"

Use list partitioning.

Definition at line 246 of file CreateProjection.cs.

◆ OFFSET

const string CreateProjectionRequest.Options.OFFSET = "offset"

The number of initial results to skip (this can be useful for paging through the results).

The default value is '0'.

Definition at line 101 of file CreateProjection.cs.

◆ ORDER_BY

const string CreateProjectionRequest.Options.ORDER_BY = "order_by"

Comma-separated list of the columns to be sorted by; e.g.

'timestamp asc, x desc'.

The columns specified must be present in column_names. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''.

Definition at line 113 of file CreateProjection.cs.

◆ PARTITION_DEFINITIONS

const string CreateProjectionRequest.Options.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, hash partitioning, or series partitioning for example formats.

Definition at line 280 of file CreateProjection.cs.

◆ PARTITION_KEYS

const string CreateProjectionRequest.Options.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 263 of file CreateProjection.cs.

◆ PARTITION_TYPE

const string CreateProjectionRequest.Options.PARTITION_TYPE = "partition_type"

Partitioning scheme to use.

Supported values:

Definition at line 231 of file CreateProjection.cs.

◆ PERSIST

const string CreateProjectionRequest.Options.PERSIST = "persist"

If TRUE, then the projection specified in projection_name will be persisted and will not expire unless a TTL is specified.

Supported values:

The default value is FALSE.

Definition at line 163 of file CreateProjection.cs.

◆ PRESERVE_DICT_ENCODING

const string CreateProjectionRequest.Options.PRESERVE_DICT_ENCODING = "preserve_dict_encoding"

If TRUE, then columns that were dict encoded in the source table will be dict encoded in the projection.

Supported values:

The default value is TRUE.

Definition at line 179 of file CreateProjection.cs.

◆ QUALIFY_FILTER

const string CreateProjectionRequest.Options.QUALIFY_FILTER = "qualify_filter"

An optional filter expression applied to the projection after window function evaluation, equivalent to a SQL QUALIFY clause.

May reference window function aliases as well as any other column in the projection. Rows for which the expression evaluates to false (or NULL) are removed from the projection. The default value is ''.

Definition at line 334 of file CreateProjection.cs.

◆ RANGE

const string CreateProjectionRequest.Options.RANGE = "RANGE"

Use range partitioning.

Definition at line 236 of file CreateProjection.cs.

◆ RETAIN_PARTITIONS

const string CreateProjectionRequest.Options.RETAIN_PARTITIONS = "retain_partitions"

Determines whether the created projection will retain the partitioning scheme from the source table.

Supported values:

The default value is FALSE.

Definition at line 194 of file CreateProjection.cs.

◆ SERIES

const string CreateProjectionRequest.Options.SERIES = "SERIES"

Use series partitioning.

Definition at line 256 of file CreateProjection.cs.

◆ SHARD_KEY

const string CreateProjectionRequest.Options.SHARD_KEY = "shard_key"

Comma-separated list of the columns to be sharded on; e.g.

'column1, column2'.

The columns specified must be present in column_names. If any alias is given for any column name, the alias must be used, rather than the original column name. The default value is ''.

Definition at line 146 of file CreateProjection.cs.

◆ STRATEGY_DEFINITION

const string CreateProjectionRequest.Options.STRATEGY_DEFINITION = "strategy_definition"

The tier strategy for the table and its columns.

Definition at line 305 of file CreateProjection.cs.

◆ TRUE

const string CreateProjectionRequest.Options.TRUE = "true"

Definition at line 64 of file CreateProjection.cs.

◆ TTL

const string CreateProjectionRequest.Options.TTL = "ttl"

Sets the TTL of the projection specified in projection_name.

Definition at line 138 of file CreateProjection.cs.

◆ VIEW_ID

const string CreateProjectionRequest.Options.VIEW_ID = "view_id"

ID of view of which this projection is a member.

The default value is ''.

Definition at line 300 of file CreateProjection.cs.


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