Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
CreateProjection.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 
51  {
52 
234  public struct Options
235  {
236 
243  public const string COLLECTION_NAME = "collection_name";
244 
249  public const string EXPRESSION = "expression";
250 
266  public const string IS_REPLICATED = "is_replicated";
267  public const string TRUE = "true";
268  public const string FALSE = "false";
269 
272  public const string LIMIT = "limit";
273 
279  public const string ORDER_BY = "order_by";
280 
302  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
303 
306  public const string CHUNK_SIZE = "chunk_size";
307 
313  public const string CREATE_INDEXES = "create_indexes";
314 
318  public const string TTL = "ttl";
319 
325  public const string SHARD_KEY = "shard_key";
326 
345  public const string PERSIST = "persist";
346 
362  public const string PRESERVE_DICT_ENCODING = "preserve_dict_encoding";
363 
379  public const string RETAIN_PARTITIONS = "retain_partitions";
380 
383  public const string VIEW_ID = "view_id";
384  } // end struct Options
385 
386 
391  public string table_name { get; set; }
392 
396  public string projection_name { get; set; }
397 
402  public IList<string> column_names { get; set; } = new List<string>();
403 
583  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
584 
585 
589 
786  string projection_name,
787  IList<string> column_names,
788  IDictionary<string, string> options = null)
789  {
790  this.table_name = table_name ?? "";
791  this.projection_name = projection_name ?? "";
792  this.column_names = column_names ?? new List<string>();
793  this.options = options ?? new Dictionary<string, string>();
794  } // end constructor
795 
796  } // end class CreateProjectionRequest
797 
798 
799 
804  {
805 
818  public struct Info
819  {
820 
822  public const string COUNT = "count";
823  } // end struct Info
824 
825 
828  public string projection_name { get; set; }
829 
840  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
841 
842  } // end class CreateProjectionResponse
843 
844 
845 
846 
847 } // end namespace kinetica
const string ORDER_BY
Comma-separated list of the columns to be sorted by; e.g.
CreateProjectionRequest(string table_name, string projection_name, IList< string > column_names, IDictionary< string, string > options=null)
Constructs a CreateProjectionRequest object with the specified parameters.
const string PERSIST
If true, then the projection specified in projection_name will be persisted and will not expire unles...
const string EXPRESSION
An optional filter expression to be applied to the source table prior to the projection.
string projection_name
Name of the projection to be created.
IList< string > column_names
List of columns from to be included in the projection.
const string LIMIT
The number of records to keep.
IDictionary< string, string > options
Optional parameters.
IDictionary< string, string > info
Additional information.
const string COUNT
Number of records in the final table
A set of results returned by Kinetica.createProjection(string,string,IList{string},IDictionary{string, string}).
CreateProjectionRequest()
Constructs a CreateProjectionRequest object with default parameters.
const string SHARD_KEY
Comma-separated list of the columns to be sharded on; e.g.
A set of parameters for Kinetica.createProjection(string,string,IList{string},IDictionary{string, string}).
const string TTL
Sets the TTL of the projection specified in projection_name.
const string COLLECTION_NAME
Name of a collection to which the projection is to be assigned as a child.
const string MATERIALIZE_ON_GPU
No longer used.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string CHUNK_SIZE
Indicates the number of records per chunk to be used for this projection.
const string PRESERVE_DICT_ENCODING
If true, then columns that were dict encoded in the source table will be dict encoded in the projecti...
string table_name
Name of the existing table on which the projection is to be applied.
const string VIEW_ID
ID of view of which this projection is a member.
const string RETAIN_PARTITIONS
Determines whether the created projection will retain the partitioning scheme from the source table...
const string CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the projection.
const string IS_REPLICATED
If true then the projection will be replicated even if the source table is not.