Kinetica   C#   API  Version 7.2.3.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 namespace kinetica
10 {
30  {
34  public struct Options
35  {
50  public const string CREATE_TEMP_TABLE = "create_temp_table";
51 
52  public const string TRUE = "true";
53  public const string FALSE = "false";
54 
62  public const string COLLECTION_NAME = "collection_name";
63 
79  public const string IS_REPLICATED = "is_replicated";
80 
84  public const string TTL = "ttl";
85 
101  public const string PERSIST = "persist";
102 
106  public const string CHUNK_SIZE = "chunk_size";
107 
111  public const string CHUNK_COLUMN_MAX_MEMORY = "chunk_column_max_memory";
112 
116  public const string CHUNK_MAX_MEMORY = "chunk_max_memory";
117 
120  public const string VIEW_ID = "view_id";
121  } // end struct Options
122 
130  public string table_name { get; set; }
131 
137  public IList<string> source_table_names { get; set; } = new List<string>();
138 
149  public IList<IDictionary<string, string>> field_maps { get; set; } = new List<IDictionary<string, string>>();
150 
270  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
271 
274  public MergeRecordsRequest() { }
275 
424  IList<string> source_table_names,
425  IList<IDictionary<string, string>> field_maps,
426  IDictionary<string, string> options = null)
427  {
428  this.table_name = table_name ?? "";
429  this.source_table_names = source_table_names ?? new List<string>();
430  this.field_maps = field_maps ?? new List<IDictionary<string, string>>();
431  this.options = options ?? new Dictionary<string, string>();
432  } // end constructor
433  } // end class MergeRecordsRequest
434 
439  {
443  public struct Info
444  {
447  public const string QUALIFIED_TABLE_NAME = "qualified_table_name";
448  } // end struct Info
449 
450  public string table_name { get; set; }
451 
463  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
464  } // end class MergeRecordsResponse
465 } // end namespace kinetica
const string VIEW_ID
view this result table is part of.
A set of string constants for the parameter options.
Definition: MergeRecords.cs:34
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 CHUNK_MAX_MEMORY
Indicates the target maximum data size for all columns in a chunk to be used for the merged table spe...
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema for the merged table as part of table_name and use K...
Definition: MergeRecords.cs:62
A set of string constants for the parameter info.
A set of parameters for Kinetica.mergeRecords.
Definition: MergeRecords.cs:29
const string CHUNK_COLUMN_MAX_MEMORY
Indicates the target maximum data size for each column in a chunk to be used for the merged table spe...
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 ...
Definition: MergeRecords.cs:50
IList< IDictionary< string, string > > field_maps
Contains a list of source/target column mappings, one mapping for each source table listed in source_...
A set of results returned by Kinetica.mergeRecords.
const string TTL
Sets the TTL of the merged table specified in table_name.
Definition: MergeRecords.cs:84
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.
Definition: MergeRecords.cs:79