Kinetica C# API  Version 6.1.0.0
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 
31  {
32 
90  public struct Options
91  {
92 
98  public const string COLLECTION_NAME = "collection_name";
99 
122  public const string IS_REPLICATED = "is_replicated";
123  public const string TRUE = "true";
124  public const string FALSE = "false";
125 
129  public const string TTL = "ttl";
130 
133  public const string CHUNK_SIZE = "chunk_size";
134  } // end struct Options
135 
136 
139  public string table_name { get; set; }
140 
143  public IList<string> source_table_names { get; set; } = new List<string>();
144 
155  public IList<IDictionary<string, string>> field_maps { get; set; } = new List<IDictionary<string, string>>();
156 
212  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
213 
214 
217  public MergeRecordsRequest() { }
218 
293  IList<string> source_table_names,
294  IList<IDictionary<string, string>> field_maps,
295  IDictionary<string, string> options = null)
296  {
297  this.table_name = table_name ?? "";
298  this.source_table_names = source_table_names ?? new List<string>();
299  this.field_maps = field_maps ?? new List<IDictionary<string, string>>();
300  this.options = options ?? new Dictionary<string, string>();
301  } // end constructor
302 
303  } // end class MergeRecordsRequest
304 
305 
306 
311  {
312  public string table_name { get; set; }
313 
314  } // end class MergeRecordsResponse
315 
316 
317 
318 
319 } // end namespace kinetica
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...
Definition: MergeRecords.cs:98
A set of parameters for Kinetica.mergeRecords(string,IList<string>,IList<IDictionary<string, string>>,IDictionary<string, string>).
Definition: MergeRecords.cs:30
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.