Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
GetRecordsBySeries.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 
33  {
34 
52  public struct Encoding
53  {
54  public const string BINARY = "binary";
55  public const string JSON = "json";
56  } // end struct Encoding
57 
58 
61  public string table_name { get; set; }
62 
69  public string world_table_name { get; set; }
70 
75  public int offset { get; set; } = 0;
76 
81  public int limit { get; set; } = 250;
82 
99  public string encoding { get; set; } = Encoding.BINARY;
100 
103  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
104 
105 
109 
134  string world_table_name,
135  int? offset = null,
136  int? limit = null,
137  IDictionary<string, string> options = null)
138  {
139  this.table_name = table_name ?? "";
140  this.world_table_name = world_table_name ?? "";
141  this.offset = offset ?? 0;
142  this.limit = limit ?? 250;
143  this.encoding = Encoding.BINARY;
144  this.options = options ?? new Dictionary<string, string>();
145  } // end constructor
146 
147 
188  string world_table_name,
189  int? offset = null,
190  int? limit = null,
191  string encoding = null,
192  IDictionary<string, string> options = null)
193  {
194  this.table_name = table_name ?? "";
195  this.world_table_name = world_table_name ?? "";
196  this.offset = offset ?? 0;
197  this.limit = limit ?? 250;
198  this.encoding = encoding ?? Encoding.BINARY;
199  this.options = options ?? new Dictionary<string, string>();
200  } // end full constructor
201 
202  } // end class GetRecordsBySeriesRequest
203 
204 
205 
210  {
211 
214  public IList<string> table_names { get; set; } = new List<string>();
215 
221  public IList<string> type_names { get; set; } = new List<string>();
222 
225  public IList<string> type_schemas { get; set; } = new List<string>();
226 
231  public IList<IList<byte[]>> list_records_binary { get; set; } = new List<IList<byte[]>>();
232 
237  public IList<IList<string>> list_records_json { get; set; } = new List<IList<string>>();
238 
240  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
241 
242  } // end class RawGetRecordsBySeriesResponse
243 
244 
245 
252  public class GetRecordsBySeriesResponse<T> : KineticaData
253  {
254 
257  public IList<string> table_names { get; set; } = new List<string>();
258 
264  public IList<string> type_names { get; set; } = new List<string>();
265 
268  public IList<string> type_schemas { get; set; } = new List<string>();
269 
274  public IList<IList<T>> data { get; set; } = new List<IList<T>>();
275 
277  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
278 
279  } // end class GetRecordsBySeriesResponse
280 
281 
282 
283 
284 } // end namespace kinetica
GetRecordsBySeriesRequest(string table_name, string world_table_name, int?offset=null, int?limit=null, IDictionary< string, string > options=null)
Constructs a GetRecordsBySeriesRequest object with the specified parameters.
Specifies the encoding for returned records; either &#39;binary&#39; or &#39;json&#39;.
A set of parameters for Kinetica.getRecordsBySeries{T}(string,string,int,int,IDictionary{string, string}).
IList< string > type_names
The type IDs (one per series/track) of the returned series/tracks.
string encoding
Specifies the encoding for returned records; either &#39;binary&#39; or &#39;json&#39;.
IDictionary< string, string > info
Additional information.
string table_name
Name of the collection/table/view for which series/tracks will be fetched.
int limit
A positive integer indicating the maximum number of series/tracks to be returned. ...
IList< IList< byte[]> > list_records_binary
If the encoding parameter of the request was &#39;binary&#39; then this list-of-lists contains the binary enc...
string world_table_name
Name of the table containing the complete series/track information to be returned for the tracks pres...
IList< IList< string > > list_records_json
If the encoding parameter of the request was &#39;json&#39; then this list-of-lists contains the json encoded...
A set of results returned by Kinetica.getRecordsBySeries{T}(string,string,int,int,IDictionary{string, string}).
int offset
A positive integer indicating the number of initial series/tracks to skip (useful for paging through ...
IList< string > table_names
The table name (one per series/track) of the returned series/tracks.
GetRecordsBySeriesRequest()
Constructs a GetRecordsBySeriesRequest object with default parameters.
GetRecordsBySeriesRequest(string table_name, string world_table_name, int?offset=null, int?limit=null, string encoding=null, IDictionary< string, string > options=null)
Constructs a GetRecordsBySeriesRequest object with the specified parameters.
IList< string > type_schemas
The type schemas (one per series/track) of the returned series/tracks.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > options
Optional parameters.