7 using System.Collections.Generic;
32 public const string BINARY =
"binary";
33 public const string JSON =
"json";
55 public const string TRUE =
"true";
56 public const string FALSE =
"false";
77 public long offset {
get;
set; } = 0;
90 public long limit {
get;
set; } = -9999;
106 public string encoding {
get;
set; } = Encoding.BINARY;
136 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
196 IDictionary<string, string>
options =
null)
274 IDictionary<string, string>
options =
null)
309 public const string TRUE =
"true";
310 public const string FALSE =
"false";
324 public IList<string>
type_names {
get;
set; } =
new List<string>();
342 public IList<string>
record_ids {
get;
set; } =
new List<string>();
368 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
398 public const string TRUE =
"true";
399 public const string FALSE =
"false";
413 public IList<string>
type_names {
get;
set; } =
new List<string>();
419 public IList<T>
data {
get;
set; } =
new List<T>();
425 public IList<string>
record_ids {
get;
set; } =
new List<string>();
451 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string TOTAL_NUMBER_OF_RECORDS
Total number of records.
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.
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.
IDictionary< string, string > info
Additional information.
IList< T > data
If the encoding parameter of the request was 'binary' then this list contains the binary encoded reco...
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 records_binary or records_json.
const string TOTAL_NUMBER_OF_RECORDS
Total number of records.
IDictionary< string, string > options
GetRecordsFromCollectionRequest()
Constructs a GetRecordsFromCollectionRequest object with default parameters.
A set of string constants for the parameter encoding.
IList< string > records_json
If the encoding parameter of the request was 'json', then this list contains the JSON encoded records...
A set of string constants for the parameter info.
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...
GetRecordsFromCollectionRequest(string table_name, long? offset=null, long? limit=null, IDictionary< string, string > options=null)
Constructs a GetRecordsFromCollectionRequest object with the specified parameters.
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.
A set of string constants for the parameter options.
A set of results returned by Kinetica.getRecordsFromCollection.
const string HAS_MORE_RECORDS
Too many records.
IDictionary< string, string > info
Additional information.
string table_name
Value of table_name.
IList< string > record_ids
If the 'return_record_ids' option of the request was 'true', then this list contains the internal ID ...
A set of results returned by Kinetica.getRecordsFromCollection.
IList< string > type_names
The type IDs of the corresponding records in data or records_json.
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 ...
A set of string constants for the parameter info.
string table_name
Value of table_name.