Kinetica C# API  Version 6.2.0.1
AggregateUnique.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 
10 
11 namespace kinetica
12 {
13 
54  {
55 
76  public struct Encoding
77  {
78 
81  public const string BINARY = "binary";
82 
85  public const string JSON = "json";
86  } // end struct Encoding
87 
88 
225  public struct Options
226  {
227 
234  public const string COLLECTION_NAME = "collection_name";
235 
238  public const string EXPRESSION = "expression";
239 
255  public const string SORT_ORDER = "sort_order";
256  public const string ASCENDING = "ascending";
257  public const string DESCENDING = "descending";
258 
266  public const string RESULT_TABLE = "result_table";
267 
286  public const string RESULT_TABLE_PERSIST = "result_table_persist";
287  public const string TRUE = "true";
288  public const string FALSE = "false";
289 
306  public const string RESULT_TABLE_FORCE_REPLICATED = "result_table_force_replicated";
307 
324  public const string RESULT_TABLE_GENERATE_PK = "result_table_generate_pk";
325 
329  public const string TTL = "ttl";
330 
334  public const string CHUNK_SIZE = "chunk_size";
335 
338  public const string VIEW_ID = "view_id";
339  } // end struct Options
340 
341 
344  public string table_name { get; set; }
345 
349  public string column_name { get; set; }
350 
355  public long offset { get; set; }
356 
361  public long limit { get; set; } = 10000;
362 
382  public string encoding { get; set; } = Encoding.BINARY;
383 
518  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
519 
520 
524 
677  string column_name,
678  long offset,
679  long? limit = null,
680  IDictionary<string, string> options = null)
681  {
682  this.table_name = table_name ?? "";
683  this.column_name = column_name ?? "";
684  this.offset = offset;
685  this.limit = limit ?? 10000;
686  this.encoding = Encoding.BINARY;
687  this.options = options ?? new Dictionary<string, string>();
688  } // end constructor
689 
690 
862  string column_name,
863  long offset,
864  long? limit = null,
865  string encoding = null,
866  IDictionary<string, string> options = null)
867  {
868  this.table_name = table_name ?? "";
869  this.column_name = column_name ?? "";
870  this.offset = offset;
871  this.limit = limit ?? 10000;
872  this.encoding = encoding ?? Encoding.BINARY;
873  this.options = options ?? new Dictionary<string, string>();
874  } // end full constructor
875 
876  } // end class AggregateUniqueRequest
877 
878 
879 
884  {
885 
888  public string table_name { get; set; }
889 
892  public string response_schema_str { get; set; }
893 
895  public byte[] binary_encoded_response { get; set; }
896 
898  public string json_encoded_response { get; set; }
899 
901  public bool has_more_records { get; set; }
902 
903  } // end class RawAggregateUniqueResponse
904 
905 
906 
911  {
912 
915  public string table_name { get; set; }
916 
918  public IList<KineticaRecord> data { get; set; } = new List<KineticaRecord>();
919 
921  public bool has_more_records { get; set; }
922 
923  } // end class AggregateUniqueResponse
924 
925 
926 
927 
928 } // end namespace kinetica
string encoding
Specifies the encoding for returned records.
long limit
A positive integer indicating the maximum number of results to be returned.
AggregateUniqueRequest(string table_name, string column_name, long offset, long? limit=null, IDictionary< string, string > options=null)
Constructs an AggregateUniqueRequest object with the specified parameters.
AggregateUniqueRequest(string table_name, string column_name, long offset, long? limit=null, string encoding=null, IDictionary< string, string > options=null)
Constructs an AggregateUniqueRequest object with the specified parameters.
IDictionary< string, string > options
Optional parameters.
Specifies the encoding for returned records.
A set of results returned by Kinetica.aggregateUnique(string,string,long,long,IDictionary<string, string>).
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 an existing table/collection 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 Kinetica.aggregateUnique(string,string,long,long,IDictionary<string, string>).
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of parameters for Kinetica.aggregateUnique(string,string,long,long,IDictionary<string, string>).
string column_name
Name of the column or an expression containing one or more column names on which the unique function ...