◆ downloadFiles() [1/4]
| DownloadFilesResponse gpudb::GPUdb::downloadFiles | ( | const DownloadFilesRequest & | request_ | ) | const |
◆ downloadFiles() [2/4]
| DownloadFilesResponse & gpudb::GPUdb::downloadFiles | ( | const DownloadFilesRequest & | request_, |
| DownloadFilesResponse & | response_ ) const |
◆ downloadFiles() [3/4]
| DownloadFilesResponse gpudb::GPUdb::downloadFiles | ( | const std::vector< std::string > & | fileNames, |
| const std::vector< int64_t > & | readOffsets, | ||
| const std::vector< int64_t > & | readLengths, | ||
| const std::map< std::string, std::string > & | options ) const |
Downloads one or more files from KiFS.
Parameters
| [in] | fileNames | An array of the file names to download from KiFS. File paths may contain wildcard characters after the KiFS directory delimiter. Accepted wildcard characters are asterisk (*) to represent any string of zero or more characters, and question mark (?) to indicate a single character. |
| [in] | readOffsets | An array of starting byte offsets from which to read each respective file in fileNames. Must either be empty or the same length as fileNames. If empty, files are downloaded in their entirety. If not empty, readLengths must also not be empty. |
| [in] | readLengths | Array of number of bytes to read from each respective file in fileNames. Must either be empty or the same length as fileNames. If empty, files are downloaded in their entirety. If not empty, readOffsets must also not be empty. |
| [in] | options | Optional parameters.
|
Returns
Response object containing the result of the operation.
◆ downloadFiles() [4/4]
| DownloadFilesResponse & gpudb::GPUdb::downloadFiles | ( | const std::vector< std::string > & | fileNames, |
| const std::vector< int64_t > & | readOffsets, | ||
| const std::vector< int64_t > & | readLengths, | ||
| const std::map< std::string, std::string > & | options, | ||
| DownloadFilesResponse & | response_ ) const |
Downloads one or more files from KiFS.
Parameters
| [in] | fileNames | An array of the file names to download from KiFS. File paths may contain wildcard characters after the KiFS directory delimiter. Accepted wildcard characters are asterisk (*) to represent any string of zero or more characters, and question mark (?) to indicate a single character. |
| [in] | readOffsets | An array of starting byte offsets from which to read each respective file in fileNames. Must either be empty or the same length as fileNames. If empty, files are downloaded in their entirety. If not empty, readLengths must also not be empty. |
| [in] | readLengths | Array of number of bytes to read from each respective file in fileNames. Must either be empty or the same length as fileNames. If empty, files are downloaded in their entirety. If not empty, readOffsets must also not be empty. |
| [in] | options | Optional parameters.
|
| [out] | response_ | Response object containing the results of the operation. |
Returns
Response object containing the result of the operation (initially passed in by reference).