Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
Public Attributes | List of all members
opendal_write_options Struct Reference

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_pairuser_metadata
 
uintptr_t user_metadata_len
 

Detailed Description

The options for write operations.

Use opendal_write_options_new() to construct and opendal_write_options_free() to free.

Member Data Documentation

◆ append

bool opendal_write_options::append

Append data to the existing file.

◆ cache_control

const char* opendal_write_options::cache_control

Cache-Control header value.

◆ chunk

uintptr_t opendal_write_options::chunk

Chunk size for buffered writes.

◆ concurrent

uintptr_t opendal_write_options::concurrent

Concurrent write operations. 0 means sequential writes

◆ content_disposition

const char* opendal_write_options::content_disposition

Content-Disposition header value.

◆ content_encoding

const char* opendal_write_options::content_encoding

Content-Encoding header value.

◆ content_type

const char* opendal_write_options::content_type

Content-Type header value.

◆ has_chunk

bool opendal_write_options::has_chunk

Whether chunk has been set.

◆ if_match

const char* opendal_write_options::if_match

If-Match header value.

◆ if_none_match

const char* opendal_write_options::if_none_match

If-None-Match header value.

◆ if_not_exists

bool opendal_write_options::if_not_exists

Only write if target does not exist.

◆ user_metadata

const struct opendal_write_user_metadata_pair* opendal_write_options::user_metadata

User metadata pairs.

◆ user_metadata_len

uintptr_t opendal_write_options::user_metadata_len

User metadata pairs length.


The documentation for this struct was generated from the following file: