downloadFiles
Downloads one or more files from KiFS.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.downloadFiles
public DownloadFilesResponse downloadFiles(List<String> fileNames, List<Long> readOffsets, List<Long> readLengths, Map<String, String> options) throws GPUdbException Downloads one or more files from KiFS.Parameters: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.readOffsets- An array of starting byte offsets from which to read each respective file infileNames. Must either be empty or the same length asfileNames. If empty, files are downloaded in their entirety. If not empty,readLengthsmust also not be empty.readLengths- Array of number of bytes to read from each respective file infileNames. Must either be empty or the same length asfileNames. If empty, files are downloaded in their entirety. If not empty,readOffsetsmust also not be empty.options- Optional parameters.FILE_ENCODING: Encoding to be applied to the output file data. When using JSON serialization it is recommended to specify this asBASE64. Supported values:BASE64: Apply base64 encoding to the output file data.NONE: Do not apply any encoding to the output file data.
NONE.
Map.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.