download_files
- download_files(
file_names: string[],
read_offsets: number[],
read_lengths: number[],
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<DownloadFilesResponse>Parameters
- file_names: string[]
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.
- read_offsets: number[]
An array of starting byte offsets from which to read each respective file in
file_names. Must either be empty or the same length asfile_names. If empty, files are downloaded in their entirety. If not empty,read_lengthsmust also not be empty. - read_lengths: number[]
Array of number of bytes to read from each respective file in
file_names. Must either be empty or the same length asfile_names. If empty, files are downloaded in their entirety. If not empty,read_offsetsmust also not be empty. Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<DownloadFilesResponse>
Promise<Types.DownloadFilesResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:7869
- file_names: string[]
download_files_request
- download_files_request(
request: DownloadFilesRequest,
callback?: GPUdbCallback,
): Promise<DownloadFilesResponse>Downloads one or more files from KiFS.
Parameters
- request: DownloadFilesRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<DownloadFilesResponse>
Promise<Types.DownloadFilesResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:7830
- request: DownloadFilesRequest
Downloads one or more files from KiFS.