7 using System.Collections.Generic;
58 public const string BINARY =
"binary";
59 public const string JSON =
"json";
148 public const string UPDATE_ON_EXISTING_PK =
"update_on_existing_pk";
149 public const string TRUE =
"true";
150 public const string FALSE =
"false";
167 public const string RETURN_RECORD_IDS =
"return_record_ids";
171 public const string ROUTE_TO_ADDRESS =
"route_to_address";
184 public IList<byte[]>
list {
get;
set; } =
new List<byte[]>();
190 public IList<string>
list_str {
get;
set; } =
new List<string>();
265 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
341 IDictionary<string, string>
options = null)
343 this.table_name = table_name ??
"";
344 this.
list =
list ??
new List<byte[]>();
443 IDictionary<string, string>
options = null)
445 this.table_name = table_name ??
"";
446 this.
list =
list ??
new List<byte[]>();
447 this.list_str = list_str ??
new List<string>();
570 public const string UPDATE_ON_EXISTING_PK =
"update_on_existing_pk";
571 public const string TRUE =
"true";
572 public const string FALSE =
"false";
589 public const string RETURN_RECORD_IDS =
"return_record_ids";
593 public const string ROUTE_TO_ADDRESS =
"route_to_address";
606 public IList<T> data {
get;
set; } =
new List<T>();
664 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
740 IDictionary<string, string>
options = null)
742 this.table_name = table_name ??
"";
743 this.data = data ??
new List<T>();
744 this.
options = options ??
new Dictionary<string, string>();
759 public IList<string> record_ids {
get;
set; } =
new List<string>();
762 public int count_inserted {
get;
set; }
765 public int count_updated {
get;
set; }
IList< string > list_str
An array of JSON encoded data for the records to be added.
string table_name
Table to which the records are to be added.
RawInsertRecordsRequest(string table_name, IList< byte[]> list, IDictionary< string, string > options=null)
Constructs a RawInsertRecordsRequest object with the specified parameters.
IList< byte[]> list
An array of binary-encoded data for the records to be added.
RawInsertRecordsRequest(string table_name, IList< byte[]> list, IList< string > list_str, string list_encoding=null, IDictionary< string, string > options=null)
Constructs a RawInsertRecordsRequest object with the specified parameters.
InsertRecordsRequest()
Constructs an InsertRecordsRequest object with default parameters.
IDictionary< string, string > options
Optional parameters.
RawInsertRecordsRequest()
Constructs a RawInsertRecordsRequest object with default parameters.
string list_encoding
The encoding of the records to be inserted.
InsertRecordsRequest(string table_name, IList< T > data, IDictionary< string, string > options=null)
Constructs an InsertRecordsRequest object with the specified parameters.
The encoding of the records to be inserted.
A set of parameters for Kinetica.insertRecords<T>(string,IList<T>,IDictionary<string, string>).
A set of parameters for Kinetica.insertRecords<T>(string,IList<T>,IDictionary<string, string>).
A set of results returned by Kinetica.insertRecords<T>(string,IList<T>,IDictionary<string, string>).
KineticaData - class to help with Avro Encoding for Kinetica