7 using System.Collections.Generic;
48 public class AggregateUniqueRequest : KineticaData
54 public struct Encoding
58 public const string BINARY =
"binary";
62 public const string JSON =
"json";
87 public const string TRUE =
"true";
88 public const string FALSE =
"false";
103 public const string EXPRESSION =
"expression";
120 public const string SORT_ORDER =
"sort_order";
122 public const string ASCENDING =
"ascending";
123 public const string DESCENDING =
"descending";
129 public const string ORDER_BY =
"order_by";
193 public const string TTL =
"ttl";
200 public const string CHUNK_SIZE =
"chunk_size";
225 public const string VIEW_ID =
"view_id";
244 public long offset {
get;
set; } = 0;
259 public long limit {
get;
set; } = -9999;
277 public string encoding {
get;
set; } = Encoding.BINARY;
481 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
720 IDictionary<string, string>
options =
null)
980 IDictionary<string, string>
options =
null)
994 public class RawAggregateUniqueResponse : KineticaData
1036 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
1042 public class AggregateUniqueResponse : KineticaData
1059 public IList<KineticaRecord>
data {
get;
set; } =
new List<KineticaRecord>();
1077 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
bool has_more_records
Too many records.
const string VIEW_ID
ID of view of which the result table will be a member.
const string CHUNK_MAX_MEMORY
Indicates the target maximum data size for all columns in a chunk to be used for the result table.
const string JSON
Indicates that the returned records should be json encoded.
const string TTL
Sets the TTL of the table specified in RESULT_TABLE.
bool has_more_records
Too many records.
string table_name
The same table name as was passed in the parameter list.
string table_name
Name of an existing table or view on which the operation will be performed, in [schema_name.
const string SORT_ORDER
String indicating how the returned values should be sorted.
const string CHUNK_SIZE
Indicates the number of records per chunk to be used for the result table.
A set of string constants for the parameter encoding.
string encoding
Specifies the encoding for returned records.
string table_name
The same table name as was passed in the parameter list.
const string EXPRESSION
Optional filter expression to apply to the table.
const string RESULT_TABLE_GENERATE_PK
If TRUE then set a primary key for the result table.
byte [] binary_encoded_response
Avro binary encoded response.
AggregateUniqueRequest()
Constructs an AggregateUniqueRequest object with default parameters.
const string COMPRESSION_CODEC
The default compression codec for the result table's columns.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
const string CREATE_TEMP_TABLE
If TRUE, a unique temporary table name will be generated in the sys_temp schema and used in place of ...
const string RESULT_TABLE
The name of the table used to store the results, in [schema_name.
const string RESULT_TABLE_PERSIST
If TRUE, then the result table specified in RESULT_TABLE will be persisted and will not expire unless...
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
const string ORDER_BY
Comma-separated list of the columns to be sorted by as well as the sort direction,...
IDictionary< string, string > info
Additional information.
IList< KineticaRecord > data
Avro binary encoded response.
const string QUALIFIED_RESULT_TABLE_NAME
The fully qualified name of the table (i.e.
const string QUALIFIED_RESULT_TABLE_NAME
The fully qualified name of the table (i.e.
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema as part of RESULT_TABLE and use Kinetica....
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=null, long? limit=null, IDictionary< string, string > options=null)
Constructs an AggregateUniqueRequest object with the specified parameters.
IDictionary< string, string > options
Optional parameters.
string response_schema_str
Avro schema of binary_encoded_response or json_encoded_response.
AggregateUniqueRequest(string table_name, string column_name, long? offset=null, long? limit=null, string encoding=null, IDictionary< string, string > options=null)
Constructs an AggregateUniqueRequest object with the specified parameters.
const string BINARY
Indicates that the returned records should be binary encoded.
const string CHUNK_COLUMN_MAX_MEMORY
Indicates the target maximum data size for each column in a chunk to be used for the result table.
const string RESULT_TABLE_FORCE_REPLICATED
Force the result table to be replicated (ignores any sharding).
IDictionary< string, string > info
Additional information.
string json_encoded_response
Avro JSON encoded response.