Kinetica   C#   API  Version 7.2.3.0
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 namespace kinetica
10 {
26  {
32  public struct Encoding
33  {
34  public const string BINARY = "binary";
35  public const string JSON = "json";
36  } // end struct Encoding
37 
42  public string table_name { get; set; }
43 
53  public string world_table_name { get; set; }
54 
60  public int offset { get; set; } = 0;
61 
67  public int limit { get; set; } = 250;
68 
83  public string encoding { get; set; } = Encoding.BINARY;
84 
88  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
89 
93 
122  string world_table_name,
123  int? offset = null,
124  int? limit = null,
125  IDictionary<string, string> options = null)
126  {
127  this.table_name = table_name ?? "";
128  this.world_table_name = world_table_name ?? "";
129  this.offset = offset ?? 0;
130  this.limit = limit ?? 250;
131  this.encoding = Encoding.BINARY;
132  this.options = options ?? new Dictionary<string, string>();
133  } // end constructor
134 
177  string world_table_name,
178  int? offset = null,
179  int? limit = null,
180  string encoding = null,
181  IDictionary<string, string> options = null)
182  {
183  this.table_name = table_name ?? "";
184  this.world_table_name = world_table_name ?? "";
185  this.offset = offset ?? 0;
186  this.limit = limit ?? 250;
187  this.encoding = encoding ?? Encoding.BINARY;
188  this.options = options ?? new Dictionary<string, string>();
189  } // end full constructor
190  } // end class GetRecordsBySeriesRequest
191 
196  {
199  public IList<string> table_names { get; set; } = new List<string>();
200 
203  public IList<string> type_names { get; set; } = new List<string>();
204 
207  public IList<string> type_schemas { get; set; } = new List<string>();
208 
213  public IList<IList<byte[]>> list_records_binary { get; set; } = new List<IList<byte[]>>();
214 
219  public IList<IList<string>> list_records_json { get; set; } = new List<IList<string>>();
220 
222  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
223  } // end class RawGetRecordsBySeriesResponse
224 
231  {
234  public IList<string> table_names { get; set; } = new List<string>();
235 
238  public IList<string> type_names { get; set; } = new List<string>();
239 
242  public IList<string> type_schemas { get; set; } = new List<string>();
243 
248  public IList<IList<T>> data { get; set; } = new List<IList<T>>();
249 
251  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
252  } // end class GetRecordsBySeriesResponse
253 } // end namespace kinetica
A set of string constants for the parameter encoding.
IDictionary< string, string > info
Additional information.
A set of parameters for Kinetica.getRecordsBySeries.
IList< string > type_schemas
The type schemas (one per series/track) of the returned series/tracks.
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 BINARY or JSON.
IDictionary< string, string > info
Additional information.
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 table or view for which series/tracks will be fetched, in [schema_name.
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 'binary' 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 'json' then this list-of-lists contains the json encoded...
A set of results returned by Kinetica.getRecordsBySeries.
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.
IList< IList< T > > data
If the encoding parameter of the request was 'binary' then this list-of-lists contains the binary enc...
IList< string > type_names
The type IDs (one per series/track) of the returned series/tracks.
IList< string > table_names
The table name (one per series/track) of the returned series/tracks.
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
A set of results returned by Kinetica.getRecordsBySeries.
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.