7 using System.Collections.Generic;
79 public const string BINARY =
"binary";
83 public const string JSON =
"json";
197 public const string KEY =
"key";
204 public const string VALUE =
"value";
225 public const string TRUE =
"true";
226 public const string FALSE =
"false";
231 public const string TTL =
"ttl";
254 public long limit {
get; set; } = 1000;
325 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
418 IDictionary<string, string>
options = null)
420 this.table_name = table_name ??
"";
421 this.column_names = column_names ??
new List<string>();
425 this.options =
options ??
new Dictionary<string, string>();
519 IDictionary<string, string>
options = null)
521 this.table_name = table_name ??
"";
522 this.column_names = column_names ??
new List<string>();
526 this.options =
options ??
new Dictionary<string, string>();
562 public IList<KineticaRecord>
data {
get; set; } =
new List<KineticaRecord>();
Specifies the encoding for returned records.
long total_number_of_records
Total/Filtered number of records.
const string TTL
Sets the TTL of the table specified in result_table.
A set of results returned by /aggregate/groupby.
bool has_more_records
Too many records. Returned a partial set.
AggregateGroupByRequest()
Constructs an AggregateGroupByRequest object with default parameters.
const string BINARY
Indicates that the returned records should be binary encoded.
const string KEY
Indicates that the returned values should be sorted by key, which corresponds to the grouping columns...
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
IList< KineticaRecord > data
Avro binary encoded response.
AggregateGroupByRequest(string table_name, IList< string > column_names, long offset, long limit=1000, IDictionary< string, string > options=null)
Constructs an AggregateGroupByRequest object with the specified parameters.
const string VALUE
Indicates that the returned values should be sorted by value, which corresponds to the aggregates...
IDictionary< string, string > options
Optional parameters.
const string DESCENDING
Indicates that the returned values should be sorted in descending order.
long total_number_of_records
Total/Filtered number of records.
AggregateGroupByRequest(string table_name, IList< string > column_names, long offset, long limit=1000, string encoding=null, IDictionary< string, string > options=null)
Constructs an AggregateGroupByRequest object with the specified parameters.
const string SORT_ORDER
String indicating how the returned values should be sorted - ascending or descending.
bool has_more_records
Too many records. Returned a partial set.
const string EXPRESSION
Filter expression to apply to the table prior to computing the aggregate group by.
string json_encoded_response
Avro JSON encoded response.
IList< string > column_names
List of one or more column names, expressions, and aggregate expressions.
const string ASCENDING
Indicates that the returned values should be sorted in ascending order.
byte[] binary_encoded_response
Avro binary encoded response.
A set of results returned by /aggregate/groupby.
const string JSON
Indicates that the returned records should be json encoded.
const string HAVING
Filter expression to apply to the aggregated results.
const string SORT_BY
String determining how the results are sorted.
string encoding
Specifies the encoding for returned records.
const string RESULT_TABLE_PERSIST
If true then the result table specified in result_table will be persisted as a regular table (it will...
string table_name
Name of the table on which the operation will be performed.
KineticaData - class to help with Avro Encoding for Kinetica
long limit
A positive integer indicating the maximum number of results to be returned Or END_OF_SET (-9999) to i...
const string RESULT_TABLE
The name of the table used to store the results.
string response_schema_str
Avro schema of <member name="binary_encoded_response"> or <member name="json_encoded_response">.
A set of parameters for /aggregate/groupby.
const string COLLECTION_NAME
Name of a collection which is to contain the table specified in result_table, otherwise the table wil...