7 using System.Collections.Generic;
78 public const string BINARY =
"binary";
79 public const string JSON =
"json";
204 public const string TRUE =
"true";
205 public const string FALSE =
"false";
240 public long limit {
get; set; } = -9999;
324 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
430 IDictionary<string, string>
options = null)
432 this.table_name = table_name ??
"";
433 this.column_names = column_names ??
new List<string>();
434 this.offset =
offset ?? 0;
435 this.limit =
limit ?? -9999;
437 this.options =
options ??
new Dictionary<string, string>();
557 IDictionary<string, string>
options = null)
559 this.table_name = table_name ??
"";
560 this.column_names = column_names ??
new List<string>();
561 this.offset =
offset ?? 0;
562 this.limit =
limit ?? -9999;
564 this.options =
options ??
new Dictionary<string, string>();
598 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
615 public IList<KineticaRecord>
data {
get; set; } =
new List<KineticaRecord>();
624 public IDictionary<string, string>
info {
get; set; } =
new Dictionary<string, string>();
A set of results returned by Kinetica.getRecordsByColumn(string,IList{string},long,long,IDictionary{string, string}).
EXPRESSION: Optional filter expression to apply to the table.
IDictionary< string, string > info
Additional information.
const string ORDER_BY
Comma-separated list of the columns to be sorted by as well as the sort direction, e.g., 'timestamp asc, x desc'.
long total_number_of_records
Total/Filtered number of records.
bool has_more_records
Too many records. Returned a partial set.
IList< KineticaRecord > data
Avro binary encoded response.
GetRecordsByColumnRequest()
Constructs a GetRecordsByColumnRequest object with default parameters.
string table_name
Name of the table or view on which this operation will be performed, in [schema_name.
A set of parameters for Kinetica.getRecordsByColumn(string,IList{string},long,long,IDictionary{string, string}).
byte[] binary_encoded_response
Avro binary encoded response.
const string SORT_ORDER
String indicating how the returned values should be sorted - ascending or descending.
A set of results returned by Kinetica.getRecordsByColumn(string,IList{string},long,long,IDictionary{string, string}).
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
bool has_more_records
Too many records. Returned a partial set.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
long total_number_of_records
Total/Filtered number of records.
string encoding
Specifies the encoding for returned records; either binary or json.
GetRecordsByColumnRequest(string table_name, IList< string > column_names, long?offset=null, long?limit=null, string encoding=null, IDictionary< string, string > options=null)
Constructs a GetRecordsByColumnRequest object with the specified parameters.
string json_encoded_response
Avro JSON encoded response.
IList< string > column_names
The list of column values to retrieve.
string response_schema_str
Avro schema of <member name="binary_encoded_response"> or <member name="json_encoded_response">.
GetRecordsByColumnRequest(string table_name, IList< string > column_names, long?offset=null, long?limit=null, IDictionary< string, string > options=null)
Constructs a GetRecordsByColumnRequest object with the specified parameters.
string table_name
The same table name as was passed in the parameter list.
Specifies the encoding for returned records; either binary or json.
const string CONVERT_WKTS_TO_WKBS
If true, then WKT string columns will be returned as WKB bytes.
const string EXPRESSION
Optional filter expression to apply to the table.
KineticaData - class to help with Avro Encoding for Kinetica
IDictionary< string, string > info
Additional information.
string table_name
The same table name as was passed in the parameter list.
const string SORT_BY
Optional column that the data should be sorted by.
IDictionary< string, string > options
EXPRESSION: Optional filter expression to apply to the table.