Kinetica C# API  Version 7.1.10.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 
40  {
41 
149  public struct Options
150  {
151 
171  public const string CREATE_TEMP_TABLE = "create_temp_table";
172  public const string TRUE = "true";
173  public const string FALSE = "false";
174 
182  public const string COLLECTION_NAME = "collection_name";
183 
206  public const string IS_REPLICATED = "is_replicated";
207 
211  public const string TTL = "ttl";
212 
231  public const string PERSIST = "persist";
232 
236  public const string CHUNK_SIZE = "chunk_size";
237 
240  public const string VIEW_ID = "view_id";
241  } // end struct Options
242 
243 
251  public string table_name { get; set; }
252 
258  public IList<string> source_table_names { get; set; } = new List<string>();
259 
271  public IList<IDictionary<string, string>> field_maps { get; set; } = new List<IDictionary<string, string>>();
272 
378  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
379 
380 
383  public MergeRecordsRequest() { }
384 
520  IList<string> source_table_names,
521  IList<IDictionary<string, string>> field_maps,
522  IDictionary<string, string> options = null)
523  {
524  this.table_name = table_name ?? "";
525  this.source_table_names = source_table_names ?? new List<string>();
526  this.field_maps = field_maps ?? new List<IDictionary<string, string>>();
527  this.options = options ?? new Dictionary<string, string>();
528  } // end constructor
529 
530  } // end class MergeRecordsRequest
531 
532 
533 
538  {
539 
552  public struct Info
553  {
554 
557  public const string QUALIFIED_TABLE_NAME = "qualified_table_name";
558  } // end struct Info
559 
560  public string table_name { get; set; }
561 
572  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
573 
574  } // end class MergeRecordsResponse
575 
576 
577 
578 
579 } // 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.
const string QUALIFIED_TABLE_NAME
The fully qualified name of the result table (i.e.
string table_name
The name of the new result table for the records to be merged into, in [schema_name.
MergeRecordsRequest()
Constructs a MergeRecordsRequest object with default parameters.
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema for the merged table as part of table_name and use K...
Additional information.
A set of parameters for Kinetica.mergeRecords(string,IList{string},IList{IDictionary{string, string}},IDictionary{string, string}).
Definition: MergeRecords.cs:39
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 names of source tables to get the records from, each in [schema_name. ...
const string CREATE_TEMP_TABLE
If true, a unique temporary table name will be generated in the sys_temp schema and used in place of ...
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.