7 using System.Collections.Generic;
23 public class GetRecordsFromCollectionRequest : KineticaData
30 public struct Encoding
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)
287 public class RawGetRecordsFromCollectionResponse : KineticaData
309 public const string TRUE =
"true";
310 public const string FALSE =
"false";
324 public IList<string>
type_names {
get;
set; } =
new List<string>();
330 public IList<byte[]>
records_binary {
get;
set; } =
new List<byte[]>();
336 public IList<string>
records_json {
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 EXPRESSION
Optional filter expression to apply to the table.
string table_name
Value of table_name.
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
Value of table_name.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
IList< string > type_names
The type IDs of the corresponding records in records_binary or records_json.
IList< string > record_ids
If the 'return_record_ids' option of the request was 'true', then this list contains the internal ID ...
const string RETURN_RECORD_IDS
If TRUE then return the internal record ID along with each returned record.
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
IDictionary< string, string > info
Additional information.
GetRecordsFromCollectionRequest()
Constructs a GetRecordsFromCollectionRequest object with default parameters.
A set of string constants for the parameter encoding.
GetRecordsFromCollectionRequest(string table_name, long? offset=null, long? limit=null, IDictionary< string, string > options=null)
Constructs a GetRecordsFromCollectionRequest object with the specified parameters.
IDictionary< string, string > info
Additional information.
IList< string > record_ids
If the 'return_record_ids' option of the request was 'true', then this list contains the internal ID ...
IList< byte[]> records_binary
If the encoding parameter of the request was 'binary' then this list contains the binary encoded reco...
const string HAS_MORE_RECORDS
Too many records.
A set of results returned by Kinetica.getRecordsFromCollection.
const string TOTAL_NUMBER_OF_RECORDS
Total number of records.
string table_name
Name of the collection or table from which records are to be retrieved, in [schema_name.
KineticaData - class to help with Avro Encoding for Kinetica
const string HAS_MORE_RECORDS
Too many records.
string encoding
Specifies the encoding for returned records; either BINARY or JSON.
A set of string constants for the parameter info.
IDictionary< string, string > options
const string TOTAL_NUMBER_OF_RECORDS
Total number of records.