7 using System.Collections.Generic;
24 public class GetRecordsRequest : KineticaData
32 public struct Encoding
34 public const string BINARY =
"binary";
35 public const string JSON =
"json";
36 public const string GEOJSON =
"geojson";
37 public const string ARROW =
"arrow";
63 public const string TRUE =
"true";
64 public const string FALSE =
"false";
70 public const string SORT_BY =
"sort_by";
89 public const string ASCENDING =
"ascending";
104 public long offset {
get;
set; } = 0;
119 public long limit {
get;
set; } = -9999;
142 public string encoding {
get;
set; } = Encoding.BINARY;
201 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
290 IDictionary<string, string>
options =
null)
404 IDictionary<string, string>
options =
null)
417 public class RawGetRecordsResponse : KineticaData
433 public IList<byte[]>
records_binary {
get;
set; } =
new List<byte[]>();
444 public IList<string>
records_json {
get;
set; } =
new List<string>();
454 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
478 public IList<T>
data {
get;
set; } =
new List<T>();
488 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
long total_number_of_records
Total/Filtered number of records.
string type_schema
Avro schema of data or records_json
string encoding
Specifies the encoding for returned records; one of BINARY, JSON, or GEOJSON.
const string EXPRESSION
Optional filter expression to apply to the table.
const string SORT_ORDER
String indicating how the returned values should be sorted - ascending or descending.
IDictionary< string, string > options
IDictionary< string, string > info
Additional information.
IDictionary< string, string > info
Additional information.
string table_name
Value of table_name.
const string SORT_BY
Optional column that the data should be sorted by.
long total_number_of_records
Total/Filtered number of records.
GetRecordsRequest()
Constructs a GetRecordsRequest object with default parameters.
bool has_more_records
Too many records.
string table_name
Value of table_name.
string type_schema
Avro schema of records_binary or records_json
string table_name
Name of the table or view from which the records will be fetched, in [schema_name.
IList< string > records_json
If the encoding was 'json', then this list contains the JSON encoded records retrieved from the table...
bool has_more_records
Too many records.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
const string FAST_INDEX_LOOKUP
Indicates if indexes should be used to perform the lookup for a given expression if possible.
GetRecordsRequest(string table_name, long? offset=null, long? limit=null, string encoding=null, IDictionary< string, string > options=null)
Constructs a GetRecordsRequest object with the specified parameters.
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
KineticaData - class to help with Avro Encoding for Kinetica
A set of string constants for the parameter encoding.
IList< byte[]> records_binary
If the encoding was 'binary', then this list contains the binary encoded records retrieved from the t...
IList< T > data
If the encoding was 'binary', then this list contains the binary encoded records retrieved from the t...
A set of results returned by Kinetica.getRecords.
GetRecordsRequest(string table_name, long? offset=null, long? limit=null, IDictionary< string, string > options=null)
Constructs a GetRecordsRequest object with the specified parameters.