Kinetica C# API  Version 6.1.0.0
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 
48  {
49 
153  public struct Options
154  {
155 
162  public const string COLLECTION_NAME = "collection_name";
163 
168  public const string EXPRESSION = "expression";
169 
171  public const string LIMIT = "limit";
172 
178  public const string ORDER_BY = "order_by";
179 
195  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
196  public const string TRUE = "true";
197  public const string FALSE = "false";
198 
201  public const string CHUNK_SIZE = "chunk_size";
202 
206  public const string TTL = "ttl";
207 
213  public const string SHARD_KEY = "shard_key";
214 
233  public const string PERSIST = "persist";
234  } // end struct Options
235 
236 
239  public string table_name { get; set; }
240 
244  public string projection_name { get; set; }
245 
250  public IList<string> column_names { get; set; } = new List<string>();
251 
353  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
354 
355 
359 
476  string projection_name,
477  IList<string> column_names,
478  IDictionary<string, string> options = null)
479  {
480  this.table_name = table_name ?? "";
481  this.projection_name = projection_name ?? "";
482  this.column_names = column_names ?? new List<string>();
483  this.options = options ?? new Dictionary<string, string>();
484  } // end constructor
485 
486  } // end class CreateProjectionRequest
487 
488 
489 
494  {
495 
498  public string projection_name { get; set; }
499 
500  } // end class CreateProjectionResponse
501 
502 
503 
504 
505 } // 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.
string table_name
Name of the existing table on which the projection is to be applied.