7 using System.Collections.Generic;
63 public const string BINARY =
"binary";
64 public const string JSON =
"json";
163 public const string GLOBAL_EXPRESSION =
"global_expression";
185 public const string BYPASS_SAFETY_CHECKS =
"bypass_safety_checks";
186 public const string TRUE =
"true";
187 public const string FALSE =
"false";
206 public const string UPDATE_ON_EXISTING_PK =
"update_on_existing_pk";
227 public const string USE_EXPRESSIONS_IN_NEW_VALUES_MAPS =
"use_expressions_in_new_values_maps";
235 public const string RECORD_ID =
"record_id";
245 public IList<string>
expressions {
get;
set; } =
new List<string>();
253 public IList<IDictionary<string, string>>
new_values_maps {
get;
set; } =
new List<IDictionary<string, string>>();
376 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
494 IDictionary<string, string>
options = null)
496 this.table_name = table_name ??
"";
497 this.expressions = expressions ??
new List<string>();
498 this.
new_values_maps = new_values_maps ??
new List<IDictionary<string, string>>();
641 IDictionary<string, string>
options = null)
643 this.table_name = table_name ??
"";
644 this.expressions = expressions ??
new List<string>();
645 this.
new_values_maps = new_values_maps ??
new List<IDictionary<string, string>>();
782 public const string GLOBAL_EXPRESSION =
"global_expression";
804 public const string BYPASS_SAFETY_CHECKS =
"bypass_safety_checks";
805 public const string TRUE =
"true";
806 public const string FALSE =
"false";
825 public const string UPDATE_ON_EXISTING_PK =
"update_on_existing_pk";
846 public const string USE_EXPRESSIONS_IN_NEW_VALUES_MAPS =
"use_expressions_in_new_values_maps";
854 public const string RECORD_ID =
"record_id";
864 public IList<string>
expressions {
get;
set; } =
new List<string>();
872 public IList<IDictionary<string, string>>
new_values_maps {
get;
set; } =
new List<IDictionary<string, string>>();
880 public IList<T> data {
get;
set; } =
new List<T>();
969 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
1086 IList<T> data = null,
1087 IDictionary<string, string>
options = null)
1089 this.table_name = table_name ??
"";
1090 this.expressions = expressions ??
new List<string>();
1091 this.
new_values_maps = new_values_maps ??
new List<IDictionary<string, string>>();
1092 this.data = data ??
new List<T>();
1093 this.
options = options ??
new Dictionary<string, string>();
1107 public long count_updated {
get;
set; }
1111 public IList<long> counts_updated {
get;
set; } =
new List<long>();
1115 public long count_inserted {
get;
set; }
1120 public IList<long> counts_inserted {
get;
set; } =
new List<long>();
A set of parameters for Kinetica.updateRecords<T>(string,IList<string>,IList<IDictionary<string, string>>,IList<T>,IDictionary<string, string>).
IList< string > expressions
A list of the actual predicates, one for each update; format should follow the guidelines /filter...
string record_encoding
Identifies which of and should be used.
A set of parameters for Kinetica.updateRecords<T>(string,IList<string>,IList<IDictionary<string, string>>,IList<T>,IDictionary<string, string>).
A set of results returned by Kinetica.updateRecords<T>(string,IList<string>,IList<IDictionary<string...
RawUpdateRecordsRequest(string table_name, IList< string > expressions, IList< IDictionary< string, string >> new_values_maps, IList< byte[]> records_to_insert=null, IDictionary< string, string > options=null)
Constructs a RawUpdateRecordsRequest object with the specified parameters.
IList< byte[]> records_to_insert
An optional list of new binary-avro encoded records to insert, one for each update.
UpdateRecordsRequest()
Constructs an UpdateRecordsRequest object with default parameters.
UpdateRecordsRequest(string table_name, IList< string > expressions, IList< IDictionary< string, string >> new_values_maps, IList< T > data=null, IDictionary< string, string > options=null)
Constructs an UpdateRecordsRequest object with the specified parameters.
IList< IDictionary< string, string > > new_values_maps
List of new values for the matching records.
Identifies which of and should be used.
string table_name
Table to be updated.
IDictionary< string, string > options
Optional parameters.
RawUpdateRecordsRequest(string table_name, IList< string > expressions, IList< IDictionary< string, string >> new_values_maps, IList< byte[]> records_to_insert=null, IList< string > records_to_insert_str=null, string record_encoding=null, IDictionary< string, string > options=null)
Constructs a RawUpdateRecordsRequest object with the specified parameters.
KineticaData - class to help with Avro Encoding for Kinetica
IList< string > records_to_insert_str
An optional list of new json-avro encoded objects to insert, one for each update, to be added to the ...
RawUpdateRecordsRequest()
Constructs a RawUpdateRecordsRequest object with default parameters.