|
Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
|
The options for write operations. More...
#include <opendal.h>
Public Attributes | |
| bool | append |
| const char * | cache_control |
| const char * | content_type |
| const char * | content_disposition |
| const char * | content_encoding |
| const char * | if_match |
| const char * | if_none_match |
| bool | if_not_exists |
| uintptr_t | concurrent |
| bool | has_chunk |
| uintptr_t | chunk |
| const struct opendal_write_user_metadata_pair * | user_metadata |
| uintptr_t | user_metadata_len |
The options for write operations.
Use opendal_write_options_new() to construct and opendal_write_options_free() to free.
| bool opendal_write_options::append |
Append data to the existing file.
| const char* opendal_write_options::cache_control |
Cache-Control header value.
| uintptr_t opendal_write_options::chunk |
Chunk size for buffered writes.
| uintptr_t opendal_write_options::concurrent |
Concurrent write operations. 0 means sequential writes
| const char* opendal_write_options::content_disposition |
Content-Disposition header value.
| const char* opendal_write_options::content_encoding |
Content-Encoding header value.
| const char* opendal_write_options::content_type |
Content-Type header value.
| bool opendal_write_options::has_chunk |
Whether chunk has been set.
| const char* opendal_write_options::if_match |
If-Match header value.
| const char* opendal_write_options::if_none_match |
If-None-Match header value.
| bool opendal_write_options::if_not_exists |
Only write if target does not exist.
| const struct opendal_write_user_metadata_pair* opendal_write_options::user_metadata |
User metadata pairs.
| uintptr_t opendal_write_options::user_metadata_len |
User metadata pairs length.