Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
UploadFiles.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 
89  {
90 
202  public struct Options
203  {
204 
227  public const string FILE_ENCODING = "file_encoding";
228 
231  public const string BASE64 = "base64";
232 
235  public const string NONE = "none";
236 
273  public const string MULTIPART_OPERATION = "multipart_operation";
274 
276  public const string INIT = "init";
277 
280  public const string UPLOAD_PART = "upload_part";
281 
283  public const string COMPLETE = "complete";
284 
286  public const string CANCEL = "cancel";
287 
289  public const string MULTIPART_UPLOAD_UUID = "multipart_upload_uuid";
290 
295  public const string MULTIPART_UPLOAD_PART_NUMBER = "multipart_upload_part_number";
296 
317  public const string DELETE_IF_EXISTS = "delete_if_exists";
318  public const string TRUE = "true";
319  public const string FALSE = "false";
320  } // end struct Options
321 
322 
331  public IList<string> file_names { get; set; } = new List<string>();
332 
336  public IList<byte[]> file_data { get; set; } = new List<byte[]>();
337 
447  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
448 
449 
452  public UploadFilesRequest() { }
453 
579  public UploadFilesRequest( IList<string> file_names,
580  IList<byte[]> file_data,
581  IDictionary<string, string> options = null)
582  {
583  this.file_names = file_names ?? new List<string>();
584  this.file_data = file_data ?? new List<byte[]>();
585  this.options = options ?? new Dictionary<string, string>();
586  } // end constructor
587 
588  } // end class UploadFilesRequest
589 
590 
591 
596  {
597 
599  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
600 
601  } // end class UploadFilesResponse
602 
603 
604 
605 
606 } // end namespace kinetica
const string BASE64
Specifies that the file data being uploaded has been base64 encoded.
Definition: UploadFiles.cs:231
const string MULTIPART_UPLOAD_PART_NUMBER
Incremental part number for each part in a multipart upload.
Definition: UploadFiles.cs:295
const string MULTIPART_OPERATION
Multipart upload operation to perform Supported values: NONE: Default, indicates this is not a multip...
Definition: UploadFiles.cs:273
IDictionary< string, string > info
Additional information.
Definition: UploadFiles.cs:599
const string INIT
Initialize a multipart file upload
Definition: UploadFiles.cs:276
IList< byte[]> file_data
File data for the files being uploaded, for the respective files in .
Definition: UploadFiles.cs:336
UploadFilesRequest()
Constructs an UploadFilesRequest object with default parameters.
Definition: UploadFiles.cs:452
IList< string > file_names
An array of full file name paths to be used for the files uploaded to KiFS.
Definition: UploadFiles.cs:331
IDictionary< string, string > options
Optional parameters.
Definition: UploadFiles.cs:447
const string DELETE_IF_EXISTS
If true, any existing files specified in file_names will be deleted prior to start of upload...
Definition: UploadFiles.cs:317
A set of parameters for Kinetica.uploadFiles(IList{string},IList{byte[]},IDictionary{string, string}).
Definition: UploadFiles.cs:88
const string FILE_ENCODING
Encoding that has been applied to the uploaded file data.
Definition: UploadFiles.cs:227
UploadFilesRequest(IList< string > file_names, IList< byte[]> file_data, IDictionary< string, string > options=null)
Constructs an UploadFilesRequest object with the specified parameters.
Definition: UploadFiles.cs:579
A set of results returned by Kinetica.uploadFiles(IList{string},IList{byte[]},IDictionary{string, string}).
Definition: UploadFiles.cs:595
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string NONE
Default, indicates this is not a multipart upload
Definition: UploadFiles.cs:235
const string CANCEL
Cancel the specified multipart file upload
Definition: UploadFiles.cs:286
const string COMPLETE
Complete the specified multipart file upload
Definition: UploadFiles.cs:283
const string UPLOAD_PART
Uploads a part of the specified multipart file upload
Definition: UploadFiles.cs:280
const string MULTIPART_UPLOAD_UUID
UUID to uniquely identify a multipart upload
Definition: UploadFiles.cs:289