Kinetica   C#   API  Version 7.2.3.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 namespace kinetica;
10 
20 {
24  public struct Options
25  {
31  public const string OFFSET = "offset";
32 
39  public const string LIMIT = "limit";
40 
44  public const string EXPRESSION = "expression";
45 
52  public const string ORDER_BY = "order_by";
53 
74  public const string UPDATE_ON_EXISTING_PK = "update_on_existing_pk";
75 
76  public const string TRUE = "true";
77  public const string FALSE = "false";
78 
105  public const string IGNORE_EXISTING_PK = "ignore_existing_pk";
106 
110  public const string PK_CONFLICT_PREDICATE_HIGHER = "pk_conflict_predicate_higher";
111 
115  public const string PK_CONFLICT_PREDICATE_LOWER = "pk_conflict_predicate_lower";
116 
131  public const string TRUNCATE_STRINGS = "truncate_strings";
132  } // end struct Options
133 
139  public string table_name { get; set; }
140 
146  public string source_table_name { get; set; }
147 
156  public IDictionary<string, string> field_map { get; set; } = new Dictionary<string, string>();
157 
308  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
309 
312  public AppendRecordsRequest() { }
313 
486  string source_table_name,
487  IDictionary<string, string> field_map,
488  IDictionary<string, string> options = null)
489  {
490  this.table_name = table_name ?? "";
491  this.source_table_name = source_table_name ?? "";
492  this.field_map = field_map ?? new Dictionary<string, string>();
493  this.options = options ?? new Dictionary<string, string>();
494  } // end constructor
495 } // end class AppendRecordsRequest
496 
501 {
502  public string table_name { get; set; }
503 
507  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
508 } // end class AppendRecordsResponse
const string OFFSET
A positive integer indicating the number of initial results to skip from source_table_name.
A set of results returned by Kinetica.appendRecords.
string source_table_name
The source table name to get records from, in [schema_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.
IDictionary< string, string > field_map
Contains the mapping of column names from the target table (specified by table_name) as the keys,...
string table_name
The table name for the records to be appended, in [schema_name.
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.
IDictionary< string, string > options
Optional parameters.
const string PK_CONFLICT_PREDICATE_LOWER
The record with lower value for the column resolves the primary-key insert conflict.
const string PK_CONFLICT_PREDICATE_HIGHER
The record with higher value for the column resolves the primary-key insert conflict.
const string IGNORE_EXISTING_PK
Specifies the record collision error-suppression policy for inserting source table records (specified...
A set of string constants for the parameter options.
const string EXPRESSION
Filter expression to apply to the source_table_name.
IDictionary< string, string > info
Additional information.
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.
A set of parameters for Kinetica.appendRecords.
const string UPDATE_ON_EXISTING_PK
Specifies the record collision policy for inserting source table records (specified by source_table_n...
const string TRUNCATE_STRINGS
If set to TRUE, it allows inserting longer strings into smaller charN string columns by truncating th...