Kinetica C# API  Version 7.0.19.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 
49  {
50 
230  public struct Options
231  {
232 
238  public const string COLLECTION_NAME = "collection_name";
239 
261  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
262  public const string TRUE = "true";
263  public const string FALSE = "false";
264 
332  public const string MODE = "mode";
333 
335  public const string UNION_ALL = "union_all";
336 
339  public const string UNION = "union";
340 
343  public const string UNION_DISTINCT = "union_distinct";
344 
348  public const string EXCEPT = "except";
349 
353  public const string EXCEPT_ALL = "except_all";
354 
357  public const string INTERSECT = "intersect";
358 
362  public const string INTERSECT_ALL = "intersect_all";
363 
373  public const string MERGE_VIEWS = "merge_views";
374 
377  public const string CHUNK_SIZE = "chunk_size";
378 
382  public const string CREATE_INDEXES = "create_indexes";
383 
387  public const string TTL = "ttl";
388 
407  public const string PERSIST = "persist";
408 
411  public const string VIEW_ID = "view_id";
412 
429  public const string FORCE_REPLICATED = "force_replicated";
430  } // end struct Options
431 
432 
436  public string table_name { get; set; }
437 
440  public IList<string> table_names { get; set; } = new List<string>();
441 
444  public IList<IList<string>> input_column_names { get; set; } = new List<IList<string>>();
445 
448  public IList<string> output_column_names { get; set; } = new List<string>();
449 
627  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
628 
629 
632  public CreateUnionRequest() { }
633 
825  IList<string> table_names,
826  IList<IList<string>> input_column_names,
827  IList<string> output_column_names,
828  IDictionary<string, string> options = null)
829  {
830  this.table_name = table_name ?? "";
831  this.table_names = table_names ?? new List<string>();
832  this.input_column_names = input_column_names ?? new List<IList<string>>();
833  this.output_column_names = output_column_names ?? new List<string>();
834  this.options = options ?? new Dictionary<string, string>();
835  } // end constructor
836 
837  } // end class CreateUnionRequest
838 
839 
840 
845  {
846 
859  public struct Info
860  {
861 
863  public const string COUNT = "count";
864  } // end struct Info
865 
866 
869  public string table_name { get; set; }
870 
881  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
882 
883  } // end class CreateUnionResponse
884 
885 
886 
887 
888 } // end namespace kinetica
const string TTL
Sets the TTL of the output table specified in table_name.
Definition: CreateUnion.cs:387
A set of results returned by Kinetica.createUnion(string,IList{string},IList{IList{string}},IList{string},IDictionary{string, string}).
Definition: CreateUnion.cs:844
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:348
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:373
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:824
const string INTERSECT
Retains all unique rows that appear in both of the specified tables (only works on 2 tables)...
Definition: CreateUnion.cs:357
const string MODE
If merge_views, then this operation will merge the provided views.
Definition: CreateUnion.cs:332
Additional information.
Definition: CreateUnion.cs:859
const string UNION
Retains all unique rows from the specified tables (synonym for union_distinct).
Definition: CreateUnion.cs:339
const string CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the output table.
Definition: CreateUnion.cs:382
A set of parameters for Kinetica.createUnion(string,IList{string},IList{IList{string}},IList{string},IDictionary{string, string}).
Definition: CreateUnion.cs:48
const string UNION_DISTINCT
Retains all unique rows from the specified tables.
Definition: CreateUnion.cs:343
const string PERSIST
If true, then the output table specified in table_name will be persisted and will not expire unless a...
Definition: CreateUnion.cs:407
const string FORCE_REPLICATED
If true, then the output table specified in table_name will be replicated even if the source tables a...
Definition: CreateUnion.cs:429
IDictionary< string, string > info
Additional information.
Definition: CreateUnion.cs:881
const string COUNT
Number of records in the final table
Definition: CreateUnion.cs:863
const string CHUNK_SIZE
Indicates the number of records per chunk to be used for this output table.
Definition: CreateUnion.cs:377
string table_name
Value of .
Definition: CreateUnion.cs:869
const string VIEW_ID
ID of view of which this output table is a member.
Definition: CreateUnion.cs:411
IList< string > table_names
The list of table names to merge.
Definition: CreateUnion.cs:440
IList< string > output_column_names
The list of names of the columns to be stored in the output table.
Definition: CreateUnion.cs:448
const string INTERSECT_ALL
Retains all rows(including duplicates) that appear in both of the specified tables (only works on 2 t...
Definition: CreateUnion.cs:362
IDictionary< string, string > options
Optional parameters.
Definition: CreateUnion.cs:627
const string UNION_ALL
Retains all rows from the specified tables.
Definition: CreateUnion.cs:335
string table_name
Name of the table to be created.
Definition: CreateUnion.cs:436
const string EXCEPT_ALL
Retains all rows(including duplicates) from the first table that do not appear in the second table (o...
Definition: CreateUnion.cs:353
CreateUnionRequest()
Constructs a CreateUnionRequest object with default parameters.
Definition: CreateUnion.cs:632
IList< IList< string > > input_column_names
The list of columns from each of the corresponding input tables.
Definition: CreateUnion.cs:444
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string MATERIALIZE_ON_GPU
No longer used.
Definition: CreateUnion.cs:261
const string COLLECTION_NAME
Name of a collection which is to contain the output table.
Definition: CreateUnion.cs:238