Kinetica   C#   API  Version 7.2.3.0
kinetica.DownloadFilesRequest Class Reference

A set of parameters for Kinetica.downloadFiles. More...

+ Inheritance diagram for kinetica.DownloadFilesRequest:
+ Collaboration diagram for kinetica.DownloadFilesRequest:

Classes

struct  Options
 A set of string constants for the parameter options. More...
 

Public Member Functions

 DownloadFilesRequest ()
 Constructs a DownloadFilesRequest object with default parameters. More...
 
 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. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

IList< string > file_names = new List<string>() [get, set]
 An array of the file names to download from KiFS. More...
 
IList< long > read_offsets = new List<long>() [get, set]
 An array of starting byte offsets from which to read each respective file in file_names. More...
 
IList< long > read_lengths = new List<long>() [get, set]
 Array of number of bytes to read from each respective file in file_names. More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.downloadFiles.

Downloads one or more files from KiFS.

Definition at line 16 of file DownloadFiles.cs.

Constructor & Destructor Documentation

◆ DownloadFilesRequest() [1/2]

kinetica.DownloadFilesRequest.DownloadFilesRequest ( )
inline

Constructs a DownloadFilesRequest object with default parameters.

Definition at line 107 of file DownloadFiles.cs.

◆ DownloadFilesRequest() [2/2]

kinetica.DownloadFilesRequest.DownloadFilesRequest ( IList< string >  file_names,
IList< long >  read_offsets,
IList< long >  read_lengths,
IDictionary< string, string >  options = null 
)
inline

Constructs a DownloadFilesRequest object with the specified parameters.

Parameters
file_namesAn array of the file names to download from KiFS. File paths may contain wildcard characters after the KiFS directory delimeter. Accepted wildcard characters are asterisk (*) to represent any string of zero or more characters, and question mark (?) to indicate a single character.
read_offsetsAn array of starting byte offsets from which to read each respective file in file_names . Must either be empty or the same length as file_names . If empty, files are downloaded in their entirety. If not empty, read_lengths must also not be empty.
read_lengthsArray of number of bytes to read from each respective file in file_names . Must either be empty or the same length as file_names . If empty, files are downloaded in their entirety. If not empty, read_offsets must also not be empty.
optionsOptional parameters.
  • FILE_ENCODING: Encoding to be applied to the output file data. When using JSON serialization it is recommended to specify this as BASE64. Supported values:
    • BASE64: Apply base64 encoding to the output file data.
    • NONE: Do not apply any encoding to the output file data.
    The default value is NONE.
The default value is an empty Dictionary.

Definition at line 156 of file DownloadFiles.cs.

Property Documentation

◆ file_names

IList<string> kinetica.DownloadFilesRequest.file_names = new List<string>()
getset

An array of the file names to download from KiFS.

File paths may contain wildcard characters after the KiFS directory delimeter.

Accepted wildcard characters are asterisk (*) to represent any string of zero or more characters, and question mark (?) to indicate a single character.

Definition at line 58 of file DownloadFiles.cs.

◆ options

IDictionary<string, string> kinetica.DownloadFilesRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

  • FILE_ENCODING: Encoding to be applied to the output file data. When using JSON serialization it is recommended to specify this as BASE64. Supported values:
    • BASE64: Apply base64 encoding to the output file data.
    • NONE: Do not apply any encoding to the output file data.
    The default value is NONE.

The default value is an empty Dictionary.

Definition at line 103 of file DownloadFiles.cs.

◆ read_lengths

IList<long> kinetica.DownloadFilesRequest.read_lengths = new List<long>()
getset

Array of number of bytes to read from each respective file in file_names.

Must either be empty or the same length as file_names. If empty, files are downloaded in their entirety. If not empty, read_offsets must also not be empty.

Definition at line 74 of file DownloadFiles.cs.

◆ read_offsets

IList<long> kinetica.DownloadFilesRequest.read_offsets = new List<long>()
getset

An array of starting byte offsets from which to read each respective file in file_names.

Must either be empty or the same length as file_names. If empty, files are downloaded in their entirety. If not empty, read_lengths must also not be empty.

Definition at line 66 of file DownloadFiles.cs.


The documentation for this class was generated from the following file: