7 using System.Collections.Generic;
34 public const string BINARY =
"binary";
35 public const string JSON =
"json";
62 public const string TRUE =
"true";
63 public const string FALSE =
"false";
118 public long limit {
get;
set; } = -9999;
138 public string encoding {
get;
set; } = Encoding.BINARY;
197 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
286 IDictionary<string, string>
options =
null)
397 IDictionary<string, string>
options =
null)
447 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
471 public IList<T>
data {
get;
set; } =
new List<T>();
481 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
IList< byte[]> records_binary
If the encoding was 'binary', then this list contains the binary encoded records retrieved from the t...
const string SORT_ORDER
String indicating how the returned values should be sorted - ascending or descending.
const string FAST_INDEX_LOOKUP
Indicates if indexes should be used to perform the lookup for a given expression if possible.
string table_name
Name of the table or view from which the records will be fetched, in [schema_name.
A set of results returned by Kinetica.getRecords.
bool has_more_records
Too many records.
const string SORT_BY
Optional column that the data should be sorted by.
string table_name
Value of table_name.
const string EXPRESSION
Optional filter expression to apply to the table.
IDictionary< string, string > info
Additional information.
GetRecordsRequest()
Constructs a GetRecordsRequest object with default parameters.
long total_number_of_records
Total/Filtered number of records.
IDictionary< string, string > options
IList< T > data
If the encoding was 'binary', then this list contains the binary encoded records retrieved from the t...
IList< string > records_json
If the encoding was 'json', then this list contains the JSON encoded records retrieved from the table...
A set of parameters for Kinetica.getRecords.
string type_schema
Avro schema of data or records_json
string type_schema
Avro schema of records_binary or records_json
A set of string constants for the parameter options.
bool has_more_records
Too many records.
string table_name
Value of table_name.
long total_number_of_records
Total/Filtered number of records.
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.
string encoding
Specifies the encoding for returned records; one of BINARY, JSON, or GEOJSON.
KineticaData - class to help with Avro Encoding for Kinetica
A set of string constants for the parameter encoding.
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
A set of results returned by Kinetica.getRecords.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
IDictionary< string, string > info
Additional information.
GetRecordsRequest(string table_name, long? offset=null, long? limit=null, IDictionary< string, string > options=null)
Constructs a GetRecordsRequest object with the specified parameters.