Kinetica C# API  Version 6.2.0.1
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 
239  } // end class RawGetRecordsBySeriesResponse
240 
241 
242 
250  {
251 
254  public IList<string> table_names { get; set; } = new List<string>();
255 
261  public IList<string> type_names { get; set; } = new List<string>();
262 
265  public IList<string> type_schemas { get; set; } = new List<string>();
266 
271  public IList<IList<T>> data { get; set; } = new List<IList<T>>();
272 
273  } // end class GetRecordsBySeriesResponse
274 
275 
276 
277 
278 } // end namespace kinetica
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>).
string encoding
Specifies the encoding for returned records; either &#39;binary&#39; or &#39;json&#39;.
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.
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. ...
string world_table_name
Name of the table containing the complete series/track information to be returned for the tracks pres...
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 ...
GetRecordsBySeriesRequest()
Constructs a GetRecordsBySeriesRequest object with default parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.getRecordsBySeries<T>(string,string,int,int,IDictionary<string, string>).
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.
IDictionary< string, string > options
Optional parameters.