7 using System.Collections.Generic;
50 public const string BINARY =
"binary";
51 public const string JSON =
"json";
99 public const string TRUE =
"true";
100 public const string FALSE =
"false";
124 public long limit {
get; set; } = -9999;
167 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
221 IDictionary<string, string>
options = null)
223 this.table_name = table_name ??
"";
224 this.offset =
offset ?? 0;
225 this.limit =
limit ?? -9999;
227 this.options =
options ??
new Dictionary<string, string>();
295 IDictionary<string, string>
options = null)
297 this.table_name = table_name ??
"";
298 this.offset =
offset ?? 0;
299 this.limit =
limit ?? -9999;
301 this.options =
options ??
new Dictionary<string, string>();
360 public const string TRUE =
"true";
361 public const string FALSE =
"false";
375 public IList<string>
type_names {
get; set; } =
new List<string>();
390 public IList<string>
record_ids {
get; set; } =
new List<string>();
417 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
463 public const string TOTAL_NUMBER_OF_RECORDS =
"total_number_of_records";
477 public const string HAS_MORE_RECORDS =
"has_more_records";
478 public const string TRUE =
"true";
479 public const string FALSE =
"false";
485 public string table_name {
get; set; }
493 public IList<string> type_names {
get; set; } =
new List<string>();
498 public IList<T> data {
get; set; } =
new List<T>();
503 public IList<string> record_ids {
get; set; } =
new List<string>();
530 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();
const string RETURN_RECORD_IDS
If 'true' then return the internal record ID along with each returned record.
const string HAS_MORE_RECORDS
Too many records.
IList< string > record_ids
If the 'return_record_ids' option of the request was 'true', then this list contains the internal ID ...
string encoding
Specifies the encoding for returned records; either 'binary' or 'json'.
IList< string > type_names
The type IDs of the corresponding records in <member name="records_binary"> or <member name="records_...
const string TOTAL_NUMBER_OF_RECORDS
Total number of records.
IDictionary< string, string > options
RETURN_RECORD_IDS: If 'true' then return the internal record ID along with each returned record...
GetRecordsFromCollectionRequest()
Constructs a GetRecordsFromCollectionRequest object with default parameters.
Specifies the encoding for returned records; either 'binary' or 'json'.
GetRecordsFromCollectionRequest(string table_name, long?offset=null, long?limit=null, string encoding=null, IDictionary< string, string > options=null)
Constructs a GetRecordsFromCollectionRequest object with the specified parameters.
IList< string > records_json
If the encoding parameter of the request was 'json', then this list contains the JSON encoded records...
string table_name
Name of the collection or table from which records are to be retrieved.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
IList< byte[]> records_binary
If the encoding parameter of the request was 'binary' then this list contains the binary encoded reco...
A set of parameters for Kinetica.getRecordsFromCollection{T}(string,long,long,IDictionary{string, string}).
GetRecordsFromCollectionRequest(string table_name, long?offset=null, long?limit=null, IDictionary< string, string > options=null)
Constructs a GetRecordsFromCollectionRequest object with the specified parameters.
RETURN_RECORD_IDS: If 'true' then return the internal record ID along with each returned record...
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.getRecordsFromCollection{T}(string,long,long,IDictionary{string, string}).
KineticaData - class to help with Avro Encoding for Kinetica
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
string table_name
Value of .