Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
118  public struct Options
119  {
120 
125  public const string OFFSET = "offset";
126 
132  public const string LIMIT = "limit";
133 
137  public const string EXPRESSION = "expression";
138 
144  public const string ORDER_BY = "order_by";
145 
172  public const string UPDATE_ON_EXISTING_PK = "update_on_existing_pk";
173  public const string TRUE = "true";
174  public const string FALSE = "false";
175 
192  public const string TRUNCATE_STRINGS = "truncate_strings";
193  } // end struct Options
194 
195 
198  public string table_name { get; set; }
199 
202  public string source_table_name { get; set; }
203 
213  public IDictionary<string, string> field_map { get; set; } = new Dictionary<string, string>();
214 
305  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
306 
307 
310  public AppendRecordsRequest() { }
311 
421  string source_table_name,
422  IDictionary<string, string> field_map,
423  IDictionary<string, string> options = null)
424  {
425  this.table_name = table_name ?? "";
426  this.source_table_name = source_table_name ?? "";
427  this.field_map = field_map ?? new Dictionary<string, string>();
428  this.options = options ?? new Dictionary<string, string>();
429  } // end constructor
430 
431  } // end class AppendRecordsRequest
432 
433 
434 
439  {
440  public string table_name { get; set; }
441 
443  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
444 
445  } // end class AppendRecordsResponse
446 
447 
448 
449 
450 } // 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 to be sorted by from source table (specified by source_table_name...
AppendRecordsRequest()
Constructs an AppendRecordsRequest object with default parameters.
const string TRUNCATE_STRINGS
If set to true, it allows inserting longer strings into smaller charN string columns by truncating th...
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.
IDictionary< string, string > info
Additional information.
const string OFFSET
A positive integer indicating the number of initial results to skip from source_table_name.
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_name.
const string EXPRESSION
Optional filter expression to apply to the 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.