Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
DownloadFiles.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 
21  {
22 
53  public struct Options
54  {
55 
76  public const string FILE_ENCODING = "file_encoding";
77 
80  public const string BASE64 = "base64";
81 
84  public const string NONE = "none";
85  } // end struct Options
86 
87 
95  public IList<string> file_names { get; set; } = new List<string>();
96 
104  public IList<long> read_offsets { get; set; } = new List<long>();
105 
113  public IList<long> read_lengths { get; set; } = new List<long>();
114 
143  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
144 
145 
148  public DownloadFilesRequest() { }
149 
204  public DownloadFilesRequest( IList<string> file_names,
205  IList<long> read_offsets,
206  IList<long> read_lengths,
207  IDictionary<string, string> options = null)
208  {
209  this.file_names = file_names ?? new List<string>();
210  this.read_offsets = read_offsets ?? new List<long>();
211  this.read_lengths = read_lengths ?? new List<long>();
212  this.options = options ?? new Dictionary<string, string>();
213  } // end constructor
214 
215  } // end class DownloadFilesRequest
216 
217 
218 
223  {
224 
226  public IList<string> file_names { get; set; } = new List<string>();
227 
230  public IList<byte[]> file_data { get; set; } = new List<byte[]>();
231 
233  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
234 
235  } // end class DownloadFilesResponse
236 
237 
238 
239 
240 } // end namespace kinetica
IList< byte[]> file_data
Data for the respective downloaded files listed in &lt;member name=&quot;file_names&quot;&gt;
IList< long > read_lengths
Array of number of bytes to read from each respective file in .
IDictionary< string, string > info
Additional information.
DownloadFilesRequest(IList< string > file_names, IList< long > read_offsets, IList< long > read_lengths, IDictionary< string, string > options=null)
Constructs a DownloadFilesRequest object with the specified parameters.
const string FILE_ENCODING
Encoding to be applied to the output file data.
A set of results returned by Kinetica.downloadFiles(IList{string},IList{long},IList{long},IDictionary{string, string}).
A set of parameters for Kinetica.downloadFiles(IList{string},IList{long},IList{long},IDictionary{string, string}).
const string NONE
Do not apply any encoding to the output file data.
IList< long > read_offsets
An array of starting byte offsets from which to read each respective file in .
DownloadFilesRequest()
Constructs a DownloadFilesRequest object with default parameters.
IDictionary< string, string > options
Optional parameters.
IList< string > file_names
An array of the file names to download from KiFS.
const string BASE64
Apply base64 encoding to the output file data.
IList< string > file_names
Names of the files downloaded from KiFS
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14