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

The options for creating a reader via opendal_operator_reader_with. More...

#include <opendal.h>

Public Attributes

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
 
bool has_content_length_hint
 
uint64_t content_length_hint
 
uintptr_t concurrent
 
bool has_chunk
 
uintptr_t chunk
 
bool has_gap
 
uintptr_t gap
 
uintptr_t prefetch
 

Detailed Description

The options for creating a reader via opendal_operator_reader_with.

Use opendal_reader_options_new() to construct and opendal_reader_options_free() to free.

Member Data Documentation

◆ chunk

uintptr_t opendal_reader_options::chunk

Chunk size for each read request.

◆ concurrent

uintptr_t opendal_reader_options::concurrent

Concurrent read operations. 0 falls back to sequential reads.

◆ content_length_hint

uint64_t opendal_reader_options::content_length_hint

Known content length of the object, used as an execution hint to avoid extra metadata requests while planning reads.

◆ gap

uintptr_t opendal_reader_options::gap

Gap size for merging nearby range reads.

◆ has_chunk

bool opendal_reader_options::has_chunk

Whether chunk has been set.

◆ has_content_length_hint

bool opendal_reader_options::has_content_length_hint

Whether content_length_hint has been set.

◆ has_gap

bool opendal_reader_options::has_gap

Whether gap has been set.

◆ has_if_modified_since

bool opendal_reader_options::has_if_modified_since

Whether if_modified_since has been set.

◆ has_if_unmodified_since

bool opendal_reader_options::has_if_unmodified_since

Whether if_unmodified_since has been set.

◆ if_match

const char* opendal_reader_options::if_match

If-Match header value; NULL means unset.

◆ if_modified_since

int64_t opendal_reader_options::if_modified_since

If-Modified-Since condition, in Unix milliseconds.

◆ if_none_match

const char* opendal_reader_options::if_none_match

If-None-Match header value; NULL means unset.

◆ if_unmodified_since

int64_t opendal_reader_options::if_unmodified_since

If-Unmodified-Since condition, in Unix milliseconds.

◆ prefetch

uintptr_t opendal_reader_options::prefetch

Number of prefetched byte ranges buffered during concurrent reads.

◆ version

const char* opendal_reader_options::version

The version of the object to read; NULL means unset.


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