7 using System.Collections.Generic;
54 public const string BINARY =
"binary";
55 public const string JSON =
"json";
109 public const string TRUE =
"true";
110 public const string FALSE =
"false";
144 public long limit {
get; set; } = -9999;
193 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
259 IDictionary<string, string>
options = null)
261 this.table_name = table_name ??
"";
262 this.offset =
offset ?? 0;
263 this.limit =
limit ?? -9999;
265 this.options =
options ??
new Dictionary<string, string>();
345 IDictionary<string, string>
options = null)
347 this.table_name = table_name ??
"";
348 this.offset =
offset ?? 0;
349 this.limit =
limit ?? -9999;
351 this.options =
options ??
new Dictionary<string, string>();
410 public const string TRUE =
"true";
411 public const string FALSE =
"false";
425 public IList<string>
type_names {
get; set; } =
new List<string>();
440 public IList<string>
record_ids {
get; set; } =
new List<string>();
467 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
513 public const string TOTAL_NUMBER_OF_RECORDS =
"total_number_of_records";
527 public const string HAS_MORE_RECORDS =
"has_more_records";
528 public const string TRUE =
"true";
529 public const string FALSE =
"false";
535 public string table_name {
get; set; }
543 public IList<string> type_names {
get; set; } =
new List<string>();
548 public IList<T> data {
get; set; } =
new List<T>();
553 public IList<string> record_ids {
get; set; } =
new List<string>();
580 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, in [schema_name.
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...
const string EXPRESSION
Optional filter expression to apply to the table.
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 .