Kinetica C# API  Version 6.2.0.1
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 
42  {
43 
202  public struct Options
203  {
204 
211  public const string COLLECTION_NAME = "collection_name";
212 
217  public const string EXPRESSION = "expression";
218 
234  public const string IS_REPLICATED = "is_replicated";
235  public const string TRUE = "true";
236  public const string FALSE = "false";
237 
240  public const string LIMIT = "limit";
241 
247  public const string ORDER_BY = "order_by";
248 
264  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
265 
268  public const string CHUNK_SIZE = "chunk_size";
269 
275  public const string CREATE_INDEXES = "create_indexes";
276 
280  public const string TTL = "ttl";
281 
287  public const string SHARD_KEY = "shard_key";
288 
307  public const string PERSIST = "persist";
308 
324  public const string PRESERVE_DICT_ENCODING = "preserve_dict_encoding";
325 
328  public const string VIEW_ID = "view_id";
329  } // end struct Options
330 
331 
334  public string table_name { get; set; }
335 
339  public string projection_name { get; set; }
340 
345  public IList<string> column_names { get; set; } = new List<string>();
346 
503  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
504 
505 
509 
681  string projection_name,
682  IList<string> column_names,
683  IDictionary<string, string> options = null)
684  {
685  this.table_name = table_name ?? "";
686  this.projection_name = projection_name ?? "";
687  this.column_names = column_names ?? new List<string>();
688  this.options = options ?? new Dictionary<string, string>();
689  } // end constructor
690 
691  } // end class CreateProjectionRequest
692 
693 
694 
699  {
700 
703  public string projection_name { get; set; }
704 
705  } // end class CreateProjectionResponse
706 
707 
708 
709 
710 } // 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.
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
If true then the columns of the projection will be cached on the GPU.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string CHUNK_SIZE
Indicates the chunk size to be used for this table.
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
view this projection is part of.
const string CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the output table.
const string IS_REPLICATED
If true then the projection will be replicated even if the source table is not.