7 using System.Collections.Generic;
39 public class GetRecordsByColumnRequest : KineticaData
46 public struct Encoding
48 public const string BINARY =
"binary";
49 public const string JSON =
"json";
68 public const string SORT_BY =
"sort_by";
88 public const string ASCENDING =
"ascending";
95 public const string ORDER_BY =
"order_by";
112 public const string TRUE =
"true";
113 public const string FALSE =
"false";
131 public IList<string>
column_names {
get;
set; } =
new List<string>();
138 public long offset {
get;
set; } = 0;
153 public long limit {
get;
set; } = -9999;
169 public string encoding {
get;
set; } = Encoding.BINARY;
245 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
357 IDictionary<string, string>
options =
null)
488 IDictionary<string, string>
options =
null)
502 public class RawGetRecordsByColumnResponse : KineticaData
526 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
532 public class GetRecordsByColumnResponse : KineticaData
539 public IList<KineticaRecord>
data {
get;
set; } =
new List<KineticaRecord>();
549 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
string table_name
Name of the table or view on which this operation will be performed, in [schema_name.
string response_schema_str
Avro schema of binary_encoded_response or json_encoded_response.
string json_encoded_response
Avro JSON encoded response.
IDictionary< string, string > info
Additional information.
IList< string > column_names
The list of column values to retrieve.
long total_number_of_records
Total/Filtered number of records.
string table_name
The same table name as was passed in the parameter list.
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.
bool has_more_records
Too many records.
GetRecordsByColumnRequest()
Constructs a GetRecordsByColumnRequest object with default parameters.
IDictionary< string, string > options
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
bool has_more_records
Too many records.
string table_name
The same table name as was passed in the parameter list.
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
byte [] binary_encoded_response
Avro binary encoded response.
const string EXPRESSION
Optional filter expression to apply to the table.
long total_number_of_records
Total/Filtered number of records.
const string CONVERT_WKTS_TO_WKBS
If TRUE, then WKT string columns will be returned as WKB bytes.
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.
const string SORT_ORDER
String indicating how the returned values should be sorted - ASCENDING or DESCENDING.
const string ORDER_BY
Comma-separated list of the columns to be sorted by as well as the sort direction,...
const string SORT_BY
Optional column that the data should be sorted by.
IList< KineticaRecord > data
Avro binary encoded response.
A set of string constants for the parameter encoding.
string encoding
Specifies the encoding for returned records; either BINARY or JSON.
const string ROUTE_TO_TOM
For multihead record retrieval without shard key expression - specifies from which tom to retrieve da...
IDictionary< string, string > info
Additional information.