Kinetica C# API  Version 6.1.0.0
CreateUnion.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 
29  {
30 
156  public struct Options
157  {
158 
163  public const string COLLECTION_NAME = "collection_name";
164 
180  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
181  public const string TRUE = "true";
182  public const string FALSE = "false";
183 
237  public const string MODE = "mode";
238 
240  public const string UNION_ALL = "union_all";
241 
244  public const string UNION = "union";
245 
248  public const string UNION_DISTINCT = "union_distinct";
249 
253  public const string EXCEPT = "except";
254 
257  public const string INTERSECT = "intersect";
258 
268  public const string MERGE_VIEWS = "merge_views";
269 
272  public const string CHUNK_SIZE = "chunk_size";
273 
277  public const string TTL = "ttl";
278 
297  public const string PERSIST = "persist";
298  } // end struct Options
299 
300 
304  public string table_name { get; set; }
305 
308  public IList<string> table_names { get; set; } = new List<string>();
309 
312  public IList<IList<string>> input_column_names { get; set; } = new List<IList<string>>();
313 
316  public IList<string> output_column_names { get; set; } = new List<string>();
317 
441  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
442 
443 
446  public CreateUnionRequest() { }
447 
587  IList<string> table_names,
588  IList<IList<string>> input_column_names,
589  IList<string> output_column_names,
590  IDictionary<string, string> options = null)
591  {
592  this.table_name = table_name ?? "";
593  this.table_names = table_names ?? new List<string>();
594  this.input_column_names = input_column_names ?? new List<IList<string>>();
595  this.output_column_names = output_column_names ?? new List<string>();
596  this.options = options ?? new Dictionary<string, string>();
597  } // end constructor
598 
599  } // end class CreateUnionRequest
600 
601 
602 
607  {
608 
611  public string table_name { get; set; }
612 
613  } // end class CreateUnionResponse
614 
615 
616 
617 
618 } // end namespace kinetica
const string TTL
Sets the TTL of the table specified in table_name.
Definition: CreateUnion.cs:277
A set of results returned by Kinetica.createUnion(string,IList<string>,IList<IList<string>>,IList<string>,IDictionary<string, string>).
Definition: CreateUnion.cs:606
const string EXCEPT
Retains all unique rows from the first table that do not appear in the second table (only works on 2 ...
Definition: CreateUnion.cs:253
const string MERGE_VIEWS
Merge two or more views (or views of views) of the same base data set into a new view.
Definition: CreateUnion.cs:268
CreateUnionRequest(string table_name, IList< string > table_names, IList< IList< string >> input_column_names, IList< string > output_column_names, IDictionary< string, string > options=null)
Constructs a CreateUnionRequest object with the specified parameters.
Definition: CreateUnion.cs:586
const string INTERSECT
Retains all unique rows that appear in both of the specified tables (only works on 2 tables)...
Definition: CreateUnion.cs:257
const string MODE
If &#39;merge_views&#39; then this operation will merge (i.e.
Definition: CreateUnion.cs:237
const string UNION
Retains all unique rows from the specified tables (synonym for &#39;union_distinct&#39;). ...
Definition: CreateUnion.cs:244
A set of parameters for Kinetica.createUnion(string,IList<string>,IList<IList<string>>,IList<string>,IDictionary<string, string>).
Definition: CreateUnion.cs:28
const string UNION_DISTINCT
Retains all unique rows from the specified tables.
Definition: CreateUnion.cs:248
const string PERSIST
If true, then the union specified in table_name will be persisted and will not expire unless a ttl is...
Definition: CreateUnion.cs:297
const string CHUNK_SIZE
Indicates the chunk size to be used for this table.
Definition: CreateUnion.cs:272
IList< string > table_names
The list of table names making up the union.
Definition: CreateUnion.cs:308
IList< string > output_column_names
The list of names of the columns to be stored in the union.
Definition: CreateUnion.cs:316
IDictionary< string, string > options
Optional parameters.
Definition: CreateUnion.cs:441
const string UNION_ALL
Retains all rows from the specified tables.
Definition: CreateUnion.cs:240
string table_name
Name of the table to be created.
Definition: CreateUnion.cs:304
CreateUnionRequest()
Constructs a CreateUnionRequest object with default parameters.
Definition: CreateUnion.cs:446
IList< IList< string > > input_column_names
The list of columns from each of the corresponding input tables.
Definition: CreateUnion.cs:312
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string MATERIALIZE_ON_GPU
If &#39;true&#39; then the columns of the union will be cached on the GPU.
Definition: CreateUnion.cs:180
const string COLLECTION_NAME
Name of a collection which is to contain the union.
Definition: CreateUnion.cs:163