OptionalchunkOptionalconcurrentSet concurrent for the operation.
OpenDAL by default to read file without concurrent. This is not efficient for cases when users
read large chunks of data. By setting concurrent, opendal will reading files concurrently
on support storage services.
By setting concurrent, opendal will fetch chunks concurrently with
the give chunk size.
The value must be an integer between 0 and 4294967295.
OptionalgapReaders returned by reader() and readerSync() read sequentially, so gap has no effect.
OptionalifSets if-match condition for this operation. If file exists and its etag doesn't match, an error will be returned.
OptionalifSets if-modified-since condition for this operation. If file exists and hasn't been modified since the specified time, an error will be returned. ISO 8601 formatted date string https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
OptionalifSets if-none-match condition for this operation. If file exists and its etag matches, an error will be returned.
OptionalifSets if-unmodified-since condition for this operation. If file exists and has been modified since the specified time, an error will be returned. ISO 8601 formatted date string https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
OptionalprefetchControls the number of prefetched bytes ranges that can be buffered in memory during concurrent reading.
When performing concurrent reads with Reader, this option limits how many
completed-but-not-yet-read chunks can be buffered. Once the number of buffered
chunks reaches this limit, no new read tasks will be spawned until some of the
buffered chunks are consumed.
This option helps prevent memory exhaustion when reading large files with high concurrency settings.
OptionalversionSet version for this operation.
This option can be used to retrieve the data of a specified version of the given path.
Sets the chunk size for this operation.
OpenDAL will use services' preferred chunk size by default. Users can set chunk based on their own needs.