7 using System.Collections.Generic;
65 public const string BINARY =
"binary";
69 public const string JSON =
"json";
159 public const string TRUE =
"true";
160 public const string FALSE =
"false";
164 public const string TTL =
"ttl";
186 public long limit {
get; set; } = 10000;
240 public IDictionary<string, string>
options {
get; set; } =
new Dictionary<string, string>();
314 IDictionary<string, string>
options = null)
316 this.table_name = table_name ??
"";
317 this.column_name = column_name ??
"";
321 this.options =
options ??
new Dictionary<string, string>();
396 IDictionary<string, string>
options = null)
398 this.table_name = table_name ??
"";
399 this.column_name = column_name ??
"";
403 this.options =
options ??
new Dictionary<string, string>();
444 public IList<KineticaRecord>
data {
get; set; } =
new List<KineticaRecord>();
string encoding
Specifies the encoding for returned records.
const string TTL
Sets the TTL of the table specified in 'result_table'.
AggregateUniqueRequest(string table_name, string column_name, long offset, long limit=10000, IDictionary< string, string > options=null)
Constructs an AggregateUniqueRequest object with the specified parameters.
const string COLLECTION_NAME
Name of a collection which is to contain the table specified in 'result_table', otherwise the table w...
string table_name
The same table name as was passed in the parameter list.
string response_schema_str
Avro schema of <member name="binary_encoded_response"> or <member name="json_encoded_response">.
long limit
A positive integer indicating the maximum number of results to be returned.
bool has_more_records
Too many records. Returned a partial set.
const string RESULT_TABLE
The name of the table used to store the results.
const string RESULT_TABLE_PERSIST
If true then the result table specified in result_table will be persisted as a regular table (it will...
IDictionary< string, string > options
Optional parameters.
IList< KineticaRecord > data
Avro binary encoded response.
Specifies the encoding for returned records.
string json_encoded_response
Avro JSON encoded response.
byte[] binary_encoded_response
Avro binary encoded response.
A set of results returned by /aggregate/unique.
AggregateUniqueRequest()
Constructs an AggregateUniqueRequest object with default parameters.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
string table_name
Name of the table on which the operation will be performed.
const string BINARY
Indicates that the returned records should be binary encoded.
const string JSON
Indicates that the returned records should be json encoded.
A set of results returned by /aggregate/unique.
const string EXPRESSION
Optional filter expression to apply to the table.
string table_name
The same table name as was passed in the parameter list.
const string SORT_ORDER
String indicating how the returned values should be sorted.
bool has_more_records
Too many records. Returned a partial set.
KineticaData - class to help with Avro Encoding for Kinetica
A set of parameters for /aggregate/unique.
string column_name
Name of the column or an expression containing one or more column names on which the unique function ...
AggregateUniqueRequest(string table_name, string column_name, long offset, long limit=10000, string encoding=null, IDictionary< string, string > options=null)
Constructs an AggregateUniqueRequest object with the specified parameters.