|
Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
|
The options for read operations. More...
#include <opendal.h>
Public Attributes | |
| uint64_t | offset |
| bool | has_length |
| uint64_t | length |
| const char * | version |
| const char * | if_match |
| const char * | if_none_match |
| bool | has_if_modified_since |
| int64_t | if_modified_since |
| bool | has_if_unmodified_since |
| int64_t | if_unmodified_since |
| uintptr_t | concurrent |
| bool | has_chunk |
| uintptr_t | chunk |
| bool | has_gap |
| uintptr_t | gap |
| const char * | override_content_type |
| const char * | override_cache_control |
| const char * | override_content_disposition |
The options for read operations.
Use opendal_read_options_new() to construct and opendal_read_options_free() to free.
| uintptr_t opendal_read_options::chunk |
Chunk size for each read request.
| uintptr_t opendal_read_options::concurrent |
Concurrent read operations. 0 means sequential reads.
| uintptr_t opendal_read_options::gap |
Gap size for merging nearby range reads.
| bool opendal_read_options::has_chunk |
Whether chunk has been set.
| bool opendal_read_options::has_gap |
Whether gap has been set.
| bool opendal_read_options::has_if_modified_since |
Whether if_modified_since has been set.
| bool opendal_read_options::has_if_unmodified_since |
Whether if_unmodified_since has been set.
| bool opendal_read_options::has_length |
Whether length has been set.
| const char* opendal_read_options::if_match |
If-Match header value; NULL means unset.
| int64_t opendal_read_options::if_modified_since |
If-Modified-Since condition, in Unix milliseconds.
| const char* opendal_read_options::if_none_match |
If-None-Match header value; NULL means unset.
| int64_t opendal_read_options::if_unmodified_since |
If-Unmodified-Since condition, in Unix milliseconds.
| uint64_t opendal_read_options::length |
The number of bytes to read starting from offset.
| uint64_t opendal_read_options::offset |
The start offset of the range to read; default 0.
| const char* opendal_read_options::override_cache_control |
Override the response Cache-Control header (presign only); NULL means unset.
| const char* opendal_read_options::override_content_disposition |
Override the response Content-Disposition header (presign only); NULL means unset.
| const char* opendal_read_options::override_content_type |
Override the response Content-Type header (presign only); NULL means unset.
| const char* opendal_read_options::version |
The version of the object to read; NULL means unset.