Life cycle: Begins with the creation of the Download instance and ends with the completion of a download process.

Create Download instance: An instance can be created either by Calling the Constructor or using the TableTunnel.

Request mode: Synchronous.

The server creates a session for this download instance and a unique DownloadId is generated. Obtain this ID using the getId on the client.

This operation incurs high costs. The server creates an index for the data files. Large files generally take longer time to download.

Simultaneously, the server returns the total number of Records and starts multiple concurrent downloads based on this value.

Download data:

Request mode: Asynchronous.

Call the openRecordReader method to generate a RecordReader instance. “start” identifies the start position of downloading this record, which cannot be less than zero. “count” specifies the number of records for this download which must be greater than zero.