Kinetica C# API  Version 6.0.1.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 
29  {
30 
36  public struct Encoding
37  {
38  public const string BINARY = "binary";
39  public const string JSON = "json";
40  } // end struct Encoding
41 
42 
45  public string table_name { get; set; }
46 
53  public string world_table_name { get; set; }
54 
59  public int offset { get; set; } = 0;
60 
64  public int limit { get; set; } = 250;
65 
69  public string encoding { get; set; } = Encoding.BINARY;
70 
72  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
73 
74 
78 
102  string world_table_name,
103  int offset = 0,
104  int limit = 250,
105  IDictionary<string, string> options = null)
106  {
107  this.table_name = table_name ?? "";
108  this.world_table_name = world_table_name ?? "";
109  this.offset = offset;
110  this.limit = limit;
111  this.encoding = Encoding.BINARY;
112  this.options = options ?? new Dictionary<string, string>();
113  } // end constructor
114 
115 
142  string world_table_name,
143  int offset = 0,
144  int limit = 250,
145  string encoding = null,
146  IDictionary<string, string> options = null)
147  {
148  this.table_name = table_name ?? "";
149  this.world_table_name = world_table_name ?? "";
150  this.offset = offset;
151  this.limit = limit;
152  this.encoding = encoding ?? Encoding.BINARY;
153  this.options = options ?? new Dictionary<string, string>();
154  } // end full constructor
155 
156  } // end class GetRecordsBySeriesRequest
157 
158 
159 
162  {
163 
166  public IList<string> table_names { get; set; } = new List<string>();
167 
173  public IList<string> type_names { get; set; } = new List<string>();
174 
177  public IList<string> type_schemas { get; set; } = new List<string>();
178 
183  public IList<IList<byte[]>> list_records_binary { get; set; } = new List<IList<byte[]>>();
184 
189  public IList<IList<string>> list_records_json { get; set; } = new List<IList<string>>();
190 
191  } // end class RawGetRecordsBySeriesResponse
192 
193 
194 
199  public class GetRecordsBySeriesResponse<T> : KineticaData
200  {
201 
204  public IList<string> table_names { get; set; } = new List<string>();
205 
211  public IList<string> type_names { get; set; } = new List<string>();
212 
215  public IList<string> type_schemas { get; set; } = new List<string>();
216 
221  public IList<IList<T>> data { get; set; } = new List<IList<T>>();
222 
223  } // end class GetRecordsBySeriesResponse
224 
225 
226 
227 
228 } // end namespace kinetica
Specifies the encoding for returned records; either &#39;binary&#39; or &#39;json&#39;.
A set of parameters for /get/records/byseries.
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;.
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 /get/records/byseries.
GetRecordsBySeriesRequest(string table_name, string world_table_name, int offset=0, int limit=250, IDictionary< string, string > options=null)
Constructs a GetRecordsBySeriesRequest object with the specified parameters.
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=0, int limit=250, 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.