Kinetica C# API  Version 6.1.0.0
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 
100  public struct Options
101  {
102 
107  public const string OFFSET = "offset";
108 
113  public const string LIMIT = "limit";
114 
118  public const string EXPRESSION = "expression";
119 
126  public const string ORDER_BY = "order_by";
127 
154  public const string UPDATE_ON_EXISTING_PK = "update_on_existing_pk";
155  public const string TRUE = "true";
156  public const string FALSE = "false";
157  } // end struct Options
158 
159 
162  public string table_name { get; set; }
163 
166  public string source_table_name { get; set; }
167 
175  public IDictionary<string, string> field_map { get; set; } = new Dictionary<string, string>();
176 
249  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
250 
251 
254  public AppendRecordsRequest() { }
255 
344  string source_table_name,
345  IDictionary<string, string> field_map,
346  IDictionary<string, string> options = null)
347  {
348  this.table_name = table_name ?? "";
349  this.source_table_name = source_table_name ?? "";
350  this.field_map = field_map ?? new Dictionary<string, string>();
351  this.options = options ?? new Dictionary<string, string>();
352  } // end constructor
353 
354  } // end class AppendRecordsRequest
355 
356 
357 
362  {
363  public string table_name { get; set; }
364 
365  } // end class AppendRecordsResponse
366 
367 
368 
369 
370 } // 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 from source table (specified by source_table_name) b...
AppendRecordsRequest()
Constructs an AppendRecordsRequest object with default parameters.
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.