Kinetica C# API  Version 6.0.1.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 
46  {
47 
112  public struct Options
113  {
114 
121  public const string COLLECTION_NAME = "collection_name";
122 
127  public const string EXPRESSION = "expression";
128 
130  public const string LIMIT = "limit";
131 
137  public const string ORDER_BY = "order_by";
138 
142  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
143  public const string TRUE = "true";
144  public const string FALSE = "false";
145 
149  public const string TTL = "ttl";
150 
156  public const string SHARD_KEY = "shard_key";
157 
165  public const string PERSIST = "persist";
166  } // end struct Options
167 
168 
171  public string table_name { get; set; }
172 
176  public string projection_name { get; set; }
177 
182  public IList<string> column_names { get; set; } = new List<string>();
183 
246  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
247 
248 
252 
330  string projection_name,
331  IList<string> column_names,
332  IDictionary<string, string> options = null)
333  {
334  this.table_name = table_name ?? "";
335  this.projection_name = projection_name ?? "";
336  this.column_names = column_names ?? new List<string>();
337  this.options = options ?? new Dictionary<string, string>();
338  } // end constructor
339 
340  } // end class CreateProjectionRequest
341 
342 
343 
346  {
347 
350  public string projection_name { get; set; }
351 
352  } // end class CreateProjectionResponse
353 
354 
355 
356 
357 } // 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 will be persisted as a regular table (it will not be automatically cleare...
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 /create/projection.
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 /create/projection.
const string TTL
Sets the TTL of the table, view, or collection specified in &lt;member name=&quot;projection_name&quot;&gt;.
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
string table_name
Name of the existing table on which the projection is to be applied.