Kinetica C# API  Version 6.2.0.1
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 
225  public struct Options
226  {
227 
233  public const string COLLECTION_NAME = "collection_name";
234 
250  public const string MATERIALIZE_ON_GPU = "materialize_on_gpu";
251  public const string TRUE = "true";
252  public const string FALSE = "false";
253 
321  public const string MODE = "mode";
322 
324  public const string UNION_ALL = "union_all";
325 
328  public const string UNION = "union";
329 
332  public const string UNION_DISTINCT = "union_distinct";
333 
337  public const string EXCEPT = "except";
338 
342  public const string EXCEPT_ALL = "except_all";
343 
346  public const string INTERSECT = "intersect";
347 
351  public const string INTERSECT_ALL = "intersect_all";
352 
362  public const string MERGE_VIEWS = "merge_views";
363 
366  public const string CHUNK_SIZE = "chunk_size";
367 
371  public const string CREATE_INDEXES = "create_indexes";
372 
376  public const string TTL = "ttl";
377 
396  public const string PERSIST = "persist";
397 
400  public const string VIEW_ID = "view_id";
401 
418  public const string FORCE_REPLICATED = "force_replicated";
419  } // end struct Options
420 
421 
425  public string table_name { get; set; }
426 
429  public IList<string> table_names { get; set; } = new List<string>();
430 
433  public IList<IList<string>> input_column_names { get; set; } = new List<IList<string>>();
434 
437  public IList<string> output_column_names { get; set; } = new List<string>();
438 
611  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
612 
613 
616  public CreateUnionRequest() { }
617 
804  IList<string> table_names,
805  IList<IList<string>> input_column_names,
806  IList<string> output_column_names,
807  IDictionary<string, string> options = null)
808  {
809  this.table_name = table_name ?? "";
810  this.table_names = table_names ?? new List<string>();
811  this.input_column_names = input_column_names ?? new List<IList<string>>();
812  this.output_column_names = output_column_names ?? new List<string>();
813  this.options = options ?? new Dictionary<string, string>();
814  } // end constructor
815 
816  } // end class CreateUnionRequest
817 
818 
819 
824  {
825 
828  public string table_name { get; set; }
829 
830  } // end class CreateUnionResponse
831 
832 
833 
834 
835 } // end namespace kinetica
const string TTL
Sets the TTL of the table specified in table_name.
Definition: CreateUnion.cs:376
A set of results returned by Kinetica.createUnion(string,IList<string>,IList<IList<string>>,IList<string>,IDictionary<string, string>).
Definition: CreateUnion.cs:823
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:337
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:362
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:803
const string INTERSECT
Retains all unique rows that appear in both of the specified tables (only works on 2 tables)...
Definition: CreateUnion.cs:346
const string MODE
If merge_views, then this operation will merge the provided views.
Definition: CreateUnion.cs:321
const string UNION
Retains all unique rows from the specified tables (synonym for union_distinct).
Definition: CreateUnion.cs:328
const string CREATE_INDEXES
Comma-separated list of columns on which to create indexes on the output table.
Definition: CreateUnion.cs:371
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:332
const string PERSIST
If true, then the table specified in table_name will be persisted and will not expire unless a ttl is...
Definition: CreateUnion.cs:396
const string FORCE_REPLICATED
If true, then the table specified in table_name will be replicated even if the source tables are not...
Definition: CreateUnion.cs:418
const string CHUNK_SIZE
Indicates the chunk size to be used for this table.
Definition: CreateUnion.cs:366
const string VIEW_ID
view the output table will be a part of.
Definition: CreateUnion.cs:400
IList< string > table_names
The list of table names to merge.
Definition: CreateUnion.cs:429
IList< string > output_column_names
The list of names of the columns to be stored in the output table.
Definition: CreateUnion.cs:437
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:351
IDictionary< string, string > options
Optional parameters.
Definition: CreateUnion.cs:611
const string UNION_ALL
Retains all rows from the specified tables.
Definition: CreateUnion.cs:324
string table_name
Name of the table to be created.
Definition: CreateUnion.cs:425
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:342
CreateUnionRequest()
Constructs a CreateUnionRequest object with default parameters.
Definition: CreateUnion.cs:616
IList< IList< string > > input_column_names
The list of columns from each of the corresponding input tables.
Definition: CreateUnion.cs:433
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string MATERIALIZE_ON_GPU
If true, then the columns of the output table will be cached on the GPU.
Definition: CreateUnion.cs:250
const string COLLECTION_NAME
Name of a collection which is to contain the output table.
Definition: CreateUnion.cs:233