Kinetica C# API  Version 6.2.0.1
MergeRecords.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 
36  {
37 
122  public struct Options
123  {
124 
130  public const string COLLECTION_NAME = "collection_name";
131 
154  public const string IS_REPLICATED = "is_replicated";
155  public const string TRUE = "true";
156  public const string FALSE = "false";
157 
161  public const string TTL = "ttl";
162 
181  public const string PERSIST = "persist";
182 
185  public const string CHUNK_SIZE = "chunk_size";
186 
189  public const string VIEW_ID = "view_id";
190  } // end struct Options
191 
192 
195  public string table_name { get; set; }
196 
199  public IList<string> source_table_names { get; set; } = new List<string>();
200 
212  public IList<IDictionary<string, string>> field_maps { get; set; } = new List<IDictionary<string, string>>();
213 
296  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
297 
298 
301  public MergeRecordsRequest() { }
302 
405  IList<string> source_table_names,
406  IList<IDictionary<string, string>> field_maps,
407  IDictionary<string, string> options = null)
408  {
409  this.table_name = table_name ?? "";
410  this.source_table_names = source_table_names ?? new List<string>();
411  this.field_maps = field_maps ?? new List<IDictionary<string, string>>();
412  this.options = options ?? new Dictionary<string, string>();
413  } // end constructor
414 
415  } // end class MergeRecordsRequest
416 
417 
418 
423  {
424  public string table_name { get; set; }
425 
426  } // end class MergeRecordsResponse
427 
428 
429 
430 
431 } // end namespace kinetica
const string VIEW_ID
view this result table is part of.
IDictionary< string, string > options
Optional parameters.
const string CHUNK_SIZE
Indicates the chunk size to be used for the merged table specified in table_name. ...
MergeRecordsRequest(string table_name, IList< string > source_table_names, IList< IDictionary< string, string >> field_maps, IDictionary< string, string > options=null)
Constructs a MergeRecordsRequest object with the specified parameters.
string table_name
The new result table name for the records to be merged.
MergeRecordsRequest()
Constructs a MergeRecordsRequest object with default parameters.
const string COLLECTION_NAME
Name of a collection which is to contain the newly created merged table specified by table_name...
A set of parameters for Kinetica.mergeRecords(string,IList<string>,IList<IDictionary<string, string>>,IDictionary<string, string>).
Definition: MergeRecords.cs:35
const string PERSIST
If true, then the table specified in table_name will be persisted and will not expire unless a ttl is...
IList< string > source_table_names
The list of source table names to get the records from.
IList< IDictionary< string, string > > field_maps
Contains a list of source/target column mappings, one mapping for each source table listed in being ...
A set of results returned by Kinetica.mergeRecords(string,IList<string>,IList<IDictionary<string, string>>,IDictionary<string, string>).
const string TTL
Sets the TTL of the merged table specified in table_name.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string IS_REPLICATED
Indicates the distribution scheme for the data of the merged table specified in table_name.