GPUdb C++ API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::UploadFilesFromurlRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/upload_files_fromurl.h>

Public Member Functions

 UploadFilesFromurlRequest ()
 Constructs an UploadFilesFromurlRequest object with default parameter values. More...
 
 UploadFilesFromurlRequest (const std::vector< std::string > &fileNames_, const std::vector< std::string > &urls_, const std::map< std::string, std::string > &options_)
 Constructs an UploadFilesFromurlRequest object with the specified parameters. More...
 

Public Attributes

std::vector< std::string > fileNames
 
std::vector< std::string > urls
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Uploads one or more files to KiFS.

Each file path must reside in a top-level KiFS directory, i.e. one of the directories listed in const. The user must have write permission on the directory. Nested directories are permitted in file name paths. Directories are deliniated with the directory separator of '/'. For example, given the file path '/a/b/c/d.txt', 'a' must be a KiFS directory.

These characters are allowed in file name paths: letters, numbers, spaces, the path delimiter of '/', and the characters: '.' '-' ':' '[' ']' '(' ')' '#' '='.

Definition at line 36 of file upload_files_fromurl.h.

Constructor & Destructor Documentation

gpudb::UploadFilesFromurlRequest::UploadFilesFromurlRequest ( )
inline

Constructs an UploadFilesFromurlRequest object with default parameter values.

Definition at line 43 of file upload_files_fromurl.h.

gpudb::UploadFilesFromurlRequest::UploadFilesFromurlRequest ( const std::vector< std::string > &  fileNames_,
const std::vector< std::string > &  urls_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs an UploadFilesFromurlRequest object with the specified parameters.

Parameters
[in]fileNames_An array of full file name paths to be used for the files uploaded to KiFS. File names may have any number of nested directories in their paths, but the top-level directory must be an existing KiFS directory. Each file must reside in or under a top-level directory. A full file name path cannot be larger than 1024 characters.
[in]urls_List of URLs to upload, for each respective file in fileNames.
[in]options_Optional parameters.

Definition at line 68 of file upload_files_fromurl.h.

Member Data Documentation

std::vector<std::string> gpudb::UploadFilesFromurlRequest::fileNames

Definition at line 75 of file upload_files_fromurl.h.

std::map<std::string, std::string> gpudb::UploadFilesFromurlRequest::options

Definition at line 77 of file upload_files_fromurl.h.

std::vector<std::string> gpudb::UploadFilesFromurlRequest::urls

Definition at line 76 of file upload_files_fromurl.h.


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