JDBC Driver for Google Cloud Storage

Build 22.0.8462

DownloadObject

Passes the name of a bucket and object to download.

Input

Name Type Required Description
Bucket String True Bucket name where the object is located.
Object String False Object name for the object that should be retrieved. If not specified, all the objects from the specified bucket will be retrieved.
LocalFolderPath String False The path, or URI, to the file that will receive the data of the object.
UpdatedStartDate Datetime False The start of the date range to download objects. If not specified, objects will be downloaded from the beginning of the time until the UpdatedEndDate.
UpdatedEndDate Datetime False The end of the date range to download objects. If not specified, objects will be downloaded from the specified UpdatedStartDate until the present day.
Encoding String False If the LocalFile input is left empty, the data will be output to FileData in the specified encoding.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
Object String Object name for the object that is downloaded.
FileData String The base64encoded object data output, if the OutputFolderPath input is empty.
Success String Indicator if the stored procedure was successful or not.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462