7 using System.Collections.Generic;
63 public const string BINARY =
"binary";
64 public const string JSON =
"json";
138 public const string GLOBAL_EXPRESSION =
"global_expression";
160 public const string BYPASS_SAFETY_CHECKS =
"bypass_safety_checks";
161 public const string TRUE =
"true";
162 public const string FALSE =
"false";
181 public const string UPDATE_ON_EXISTING_PK =
"update_on_existing_pk";
189 public const string RECORD_ID =
"record_id";
199 public IList<string>
expressions {
get;
set; } =
new List<string>();
207 public IList<IDictionary<string, string>>
new_values_maps {
get;
set; } =
new List<IDictionary<string, string>>();
303 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
395 IDictionary<string, string>
options = null)
397 this.table_name = table_name ??
"";
398 this.expressions = expressions ??
new List<string>();
399 this.
new_values_maps = new_values_maps ??
new List<IDictionary<string, string>>();
516 IDictionary<string, string>
options = null)
518 this.table_name = table_name ??
"";
519 this.expressions = expressions ??
new List<string>();
520 this.
new_values_maps = new_values_maps ??
new List<IDictionary<string, string>>();
632 public const string GLOBAL_EXPRESSION =
"global_expression";
654 public const string BYPASS_SAFETY_CHECKS =
"bypass_safety_checks";
655 public const string TRUE =
"true";
656 public const string FALSE =
"false";
675 public const string UPDATE_ON_EXISTING_PK =
"update_on_existing_pk";
683 public const string RECORD_ID =
"record_id";
693 public IList<string>
expressions {
get;
set; } =
new List<string>();
701 public IList<IDictionary<string, string>>
new_values_maps {
get;
set; } =
new List<IDictionary<string, string>>();
708 public IList<T> data {
get;
set; } =
new List<T>();
772 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
863 IList<T> data = null,
864 IDictionary<string, string>
options = null)
866 this.table_name = table_name ??
"";
867 this.expressions = expressions ??
new List<string>();
868 this.
new_values_maps = new_values_maps ??
new List<IDictionary<string, string>>();
869 this.data = data ??
new List<T>();
870 this.
options = options ??
new Dictionary<string, string>();
884 public long count_updated {
get;
set; }
888 public IList<long> counts_updated {
get;
set; } =
new List<long>();
892 public long count_inserted {
get;
set; }
897 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.