Kinetica C# API  Version 6.2.0.1
AppendRecords.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 
24  {
25 
119  public struct Options
120  {
121 
127  public const string OFFSET = "offset";
128 
134  public const string LIMIT = "limit";
135 
139  public const string EXPRESSION = "expression";
140 
146  public const string ORDER_BY = "order_by";
147 
174  public const string UPDATE_ON_EXISTING_PK = "update_on_existing_pk";
175  public const string TRUE = "true";
176  public const string FALSE = "false";
177 
194  public const string TRUNCATE_STRINGS = "truncate_strings";
195  } // end struct Options
196 
197 
200  public string table_name { get; set; }
201 
204  public string source_table_name { get; set; }
205 
215  public IDictionary<string, string> field_map { get; set; } = new Dictionary<string, string>();
216 
308  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
309 
310 
313  public AppendRecordsRequest() { }
314 
425  string source_table_name,
426  IDictionary<string, string> field_map,
427  IDictionary<string, string> options = null)
428  {
429  this.table_name = table_name ?? "";
430  this.source_table_name = source_table_name ?? "";
431  this.field_map = field_map ?? new Dictionary<string, string>();
432  this.options = options ?? new Dictionary<string, string>();
433  } // end constructor
434 
435  } // end class AppendRecordsRequest
436 
437 
438 
443  {
444  public string table_name { get; set; }
445 
446  } // end class AppendRecordsResponse
447 
448 
449 
450 
451 } // end namespace kinetica
string source_table_name
The source table name to get records from.
const string UPDATE_ON_EXISTING_PK
Specifies the record collision policy for inserting the source table records (specified by source_tab...
A set of parameters for Kinetica.appendRecords(string,string,IDictionary<string, string>,IDictionary<string, string>).
const string ORDER_BY
Comma-separated list of the columns and expressions to be sorted by from the source table (specified ...
AppendRecordsRequest()
Constructs an AppendRecordsRequest object with default parameters.
const string TRUNCATE_STRINGS
If set to true, it allows inserting unrestricted length strings into charN string columns by truncati...
IDictionary< string, string > field_map
Contains the mapping of column names from the target table (specified by ) as the keys...
string table_name
The table name for the records to be appended.
A set of results returned by Kinetica.appendRecords(string,string,IDictionary<string, string>,IDictionary<string, string>).
IDictionary< string, string > options
Optional parameters.
const string OFFSET
A positive integer indicating the number of initial results to skip from source table (specified by s...
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string LIMIT
A positive integer indicating the maximum number of results to be returned from source table (specifi...
const string EXPRESSION
Optional filter expression to apply to the source table (specified by source_table_name).
AppendRecordsRequest(string table_name, string source_table_name, IDictionary< string, string > field_map, IDictionary< string, string > options=null)
Constructs an AppendRecordsRequest object with the specified parameters.