Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
27  {
28 
71  public struct Options
72  {
73 
78  public const string COLLECTION_NAME = "collection_name";
79 
83  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
84  public const string TRUE = "true";
85  public const string FALSE = "false";
86 
92  public const string MODE = "mode";
93 
95  public const string UNION_ALL = "union_all";
96 
99  public const string UNION = "union";
100 
103  public const string UNION_DISTINCT = "union_distinct";
104 
108  public const string EXCEPT = "except";
109 
112  public const string INTERSECT = "intersect";
113 
121  public const string MERGE_VIEWS = "merge_views";
122 
126  public const string TTL = "ttl";
127 
134  public const string PERSIST = "persist";
135  } // end struct Options
136 
137 
141  public string table_name { get; set; }
142 
145  public IList<string> table_names { get; set; } = new List<string>();
146 
149  public IList<IList<string>> input_column_names { get; set; } = new List<IList<string>>();
150 
153  public IList<string> output_column_names { get; set; } = new List<string>();
154 
195  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
196 
197 
200  public CreateUnionRequest() { }
201 
258  IList<string> table_names,
259  IList<IList<string>> input_column_names,
260  IList<string> output_column_names,
261  IDictionary<string, string> options = null)
262  {
263  this.table_name = table_name ?? "";
264  this.table_names = table_names ?? new List<string>();
265  this.input_column_names = input_column_names ?? new List<IList<string>>();
266  this.output_column_names = output_column_names ?? new List<string>();
267  this.options = options ?? new Dictionary<string, string>();
268  } // end constructor
269 
270  } // end class CreateUnionRequest
271 
272 
273 
276  {
277 
280  public string table_name { get; set; }
281 
282  } // end class CreateUnionResponse
283 
284 
285 
286 
287 } // end namespace kinetica
const string TTL
Sets the TTL of the table specified in &lt;member name=&quot;table_name&quot;&gt;.
Definition: CreateUnion.cs:126
A set of results returned by /create/union.
Definition: CreateUnion.cs:275
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:108
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:121
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:257
const string INTERSECT
Retains all unique rows that appear in both of the specified tables (only works on 2 tables)...
Definition: CreateUnion.cs:112
const string MODE
If &#39;merge_views&#39; then this operation will merge (i.e.
Definition: CreateUnion.cs:92
const string UNION
Retains all unique rows from the specified tables (synonym for &#39;union_distinct&#39;). ...
Definition: CreateUnion.cs:99
A set of parameters for /create/union.
Definition: CreateUnion.cs:26
const string UNION_DISTINCT
Retains all unique rows from the specified tables.
Definition: CreateUnion.cs:103
const string PERSIST
If true then the union will be persisted as a regular table (it will not be automatically cleared unl...
Definition: CreateUnion.cs:134
string table_name
Value of .
Definition: CreateUnion.cs:280
IList< string > table_names
The list of table names making up the union.
Definition: CreateUnion.cs:145
IList< string > output_column_names
The list of names of the columns to be stored in the union.
Definition: CreateUnion.cs:153
IDictionary< string, string > options
Optional parameters.
Definition: CreateUnion.cs:195
const string UNION_ALL
Retains all rows from the specified tables.
Definition: CreateUnion.cs:95
string table_name
Name of the table to be created.
Definition: CreateUnion.cs:141
CreateUnionRequest()
Constructs a CreateUnionRequest object with default parameters.
Definition: CreateUnion.cs:200
IList< IList< string > > input_column_names
The list of columns from each of the corresponding input tables.
Definition: CreateUnion.cs:149
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:83
const string COLLECTION_NAME
Name of a collection which is to contain the union.
Definition: CreateUnion.cs:78