Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
186  public const string CHUNK_SIZE = "chunk_size";
187 
190  public const string VIEW_ID = "view_id";
191  } // end struct Options
192 
193 
196  public string table_name { get; set; }
197 
200  public IList<string> source_table_names { get; set; } = new List<string>();
201 
213  public IList<IDictionary<string, string>> field_maps { get; set; } = new List<IDictionary<string, string>>();
214 
297  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
298 
299 
302  public MergeRecordsRequest() { }
303 
406  IList<string> source_table_names,
407  IList<IDictionary<string, string>> field_maps,
408  IDictionary<string, string> options = null)
409  {
410  this.table_name = table_name ?? "";
411  this.source_table_names = source_table_names ?? new List<string>();
412  this.field_maps = field_maps ?? new List<IDictionary<string, string>>();
413  this.options = options ?? new Dictionary<string, string>();
414  } // end constructor
415 
416  } // end class MergeRecordsRequest
417 
418 
419 
424  {
425  public string table_name { get; set; }
426 
428  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
429 
430  } // end class MergeRecordsResponse
431 
432 
433 
434 
435 } // 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 number of records per chunk 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.
IDictionary< string, string > info
Additional information.
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.