Kinetica C# API  Version 7.1.10.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 
26  {
27 
173  public struct Options
174  {
175 
180  public const string OFFSET = "offset";
181 
187  public const string LIMIT = "limit";
188 
192  public const string EXPRESSION = "expression";
193 
199  public const string ORDER_BY = "order_by";
200 
237  public const string UPDATE_ON_EXISTING_PK = "update_on_existing_pk";
238  public const string TRUE = "true";
239  public const string FALSE = "false";
240 
281  public const string IGNORE_EXISTING_PK = "ignore_existing_pk";
282 
299  public const string TRUNCATE_STRINGS = "truncate_strings";
300  } // end struct Options
301 
302 
308  public string table_name { get; set; }
309 
315  public string source_table_name { get; set; }
316 
326  public IDictionary<string, string> field_map { get; set; } = new Dictionary<string, string>();
327 
471  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
472 
473 
476  public AppendRecordsRequest() { }
477 
646  string source_table_name,
647  IDictionary<string, string> field_map,
648  IDictionary<string, string> options = null)
649  {
650  this.table_name = table_name ?? "";
651  this.source_table_name = source_table_name ?? "";
652  this.field_map = field_map ?? new Dictionary<string, string>();
653  this.options = options ?? new Dictionary<string, string>();
654  } // end constructor
655 
656  } // end class AppendRecordsRequest
657 
658 
659 
664  {
665  public string table_name { get; set; }
666 
669  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
670 
671  } // end class AppendRecordsResponse
672 
673 
674 
675 
676 } // end namespace kinetica
string source_table_name
The source table name to get records from, in [schema_name.
const string IGNORE_EXISTING_PK
Specifies the record collision error-suppression policy for inserting source table records (specified...
const string UPDATE_ON_EXISTING_PK
Specifies the record collision policy for inserting source table records (specified by source_table_n...
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, in [schema_name.
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.