Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
opendal_capability Struct Reference

Capability is used to describe what operations are supported by current Operator. More...

#include <opendal.h>

Public Attributes

bool stat
bool stat_with_if_match
bool stat_with_if_none_match
bool stat_with_if_modified_since
bool stat_with_if_unmodified_since
bool stat_with_override_cache_control
bool stat_with_override_content_disposition
bool stat_with_override_content_type
bool stat_with_version
bool read
bool read_with_if_match
bool read_with_if_none_match
bool read_with_override_cache_control
bool read_with_override_content_disposition
bool read_with_override_content_type
bool read_with_if_modified_since
bool read_with_if_unmodified_since
bool read_with_version
bool write
bool write_can_multi
bool write_can_empty
bool write_can_append
bool write_with_content_type
bool write_with_content_disposition
bool write_with_content_encoding
bool write_with_cache_control
bool write_with_if_match
bool write_with_if_none_match
bool write_with_if_not_exists
bool write_with_user_metadata
uintptr_t write_multi_max_size
uintptr_t write_multi_min_size
uintptr_t write_total_max_size
bool create_dir
bool delete_
bool delete_with_version
bool delete_with_recursive
bool copy
bool copy_with_if_not_exists
bool copy_with_if_match
bool copy_with_source_version
bool copy_can_multi
uintptr_t copy_multi_max_size
uintptr_t copy_multi_min_size
bool rename
bool list
bool list_with_limit
bool list_with_start_after
bool list_with_recursive
bool list_with_versions
bool list_with_deleted
bool presign
bool presign_read
bool presign_stat
bool presign_write
bool presign_delete
bool shared
bool stat_with_if_version_match
bool stat_with_if_version_not_match
bool read_with_if_version_match
bool read_with_if_version_not_match
bool read_with_suffix
bool read_with_checksum
bool write_can_copy_from
bool write_with_content_language
bool write_with_if_version_match
bool write_with_if_version_not_match
bool write_with_expires
bool write_with_checksum
bool delete_with_if_match
bool delete_with_if_none_match
bool delete_with_if_version_match
bool delete_with_if_version_not_match
uintptr_t delete_max_size
bool copy_with_if_none_match
bool copy_with_if_version_match
bool copy_with_if_version_not_match
bool copy_with_user_metadata
bool copy_with_content_type
bool copy_with_content_language
bool compose
bool compose_with_content_type
bool compose_with_content_disposition
bool compose_with_content_encoding
bool compose_with_cache_control
bool compose_with_user_metadata
bool compose_with_if_match
bool compose_with_if_none_match
bool compose_with_if_version_match
bool compose_with_if_version_not_match
bool compose_with_if_not_exists
bool compose_with_source_version
bool compose_with_source_if_match
bool restore
bool restore_with_version
bool restore_with_if_not_exists
bool rename_with_if_not_exists
bool list_with_glob

Detailed Description

Capability is used to describe what operations are supported by current Operator.

Size limit fields are zero when the operator does not define a limit.

These flags describe the underlying OpenDAL operator. A flag can be true even when the C binding does not expose the matching function (for example, restore).

Member Data Documentation

◆ compose

bool opendal_capability::compose

Indicates if the operator supports composing complete source objects.

◆ compose_with_cache_control

bool opendal_capability::compose_with_cache_control

Indicates if Cache-Control can be specified during composition.

◆ compose_with_content_disposition

bool opendal_capability::compose_with_content_disposition

Indicates if Content-Disposition can be specified during composition.

◆ compose_with_content_encoding

bool opendal_capability::compose_with_content_encoding

Indicates if Content-Encoding can be specified during composition.

◆ compose_with_content_type

bool opendal_capability::compose_with_content_type

Indicates if Content-Type can be specified during composition.

◆ compose_with_if_match

bool opendal_capability::compose_with_if_match

Indicates if composition supports a destination ETag match condition.

◆ compose_with_if_none_match

bool opendal_capability::compose_with_if_none_match

Indicates if composition supports a destination ETag non-match condition.

◆ compose_with_if_not_exists

bool opendal_capability::compose_with_if_not_exists

Indicates if composition can require a missing destination.

◆ compose_with_if_version_match

bool opendal_capability::compose_with_if_version_match

Indicates if composition supports a destination version match condition.

◆ compose_with_if_version_not_match

bool opendal_capability::compose_with_if_version_not_match

Indicates if composition supports a destination version non-match condition.

◆ compose_with_source_if_match

bool opendal_capability::compose_with_source_if_match

Indicates if composition supports a source ETag match condition.

◆ compose_with_source_version

bool opendal_capability::compose_with_source_version

Indicates if composition can select a specific source version.

◆ compose_with_user_metadata

bool opendal_capability::compose_with_user_metadata

Indicates if custom user metadata can be attached during composition.

◆ copy

bool opendal_capability::copy

Indicates if copy operations are supported.

◆ copy_can_multi

bool opendal_capability::copy_can_multi

Indicates if copy operations can be split into multiple server-side tasks.

◆ copy_multi_max_size

uintptr_t opendal_capability::copy_multi_max_size

Maximum size supported for segmented copy tasks.

If it is not set, this will be zero.

◆ copy_multi_min_size

uintptr_t opendal_capability::copy_multi_min_size

Minimum size required for segmented copy tasks.

If it is not set, this will be zero.

◆ copy_with_content_language

bool opendal_capability::copy_with_content_language

Indicates if copy operations can replace the destination's Content-Language.

◆ copy_with_content_type

bool opendal_capability::copy_with_content_type

Indicates if copy operations can replace the destination's Content-Type.

◆ copy_with_if_match

bool opendal_capability::copy_with_if_match

Indicates if conditional copy operations with if-match are supported.

◆ copy_with_if_none_match

bool opendal_capability::copy_with_if_none_match

Indicates if conditional copy operations with if-none-match are supported.

◆ copy_with_if_not_exists

bool opendal_capability::copy_with_if_not_exists

Indicates if conditional copy operations with if-not-exists are supported.

◆ copy_with_if_version_match

bool opendal_capability::copy_with_if_version_match

Indicates if conditional copy operations using version match are supported.

◆ copy_with_if_version_not_match

bool opendal_capability::copy_with_if_version_not_match

Indicates if conditional copy operations using version non-match are supported.

◆ copy_with_source_version

bool opendal_capability::copy_with_source_version

Indicates if copy operations from a specific source version are supported.

◆ copy_with_user_metadata

bool opendal_capability::copy_with_user_metadata

Indicates if copy operations can replace the destination's user metadata.

◆ create_dir

bool opendal_capability::create_dir

Indicates if directory creation is supported.

◆ delete_

bool opendal_capability::delete_

Indicates if delete operations are supported.

◆ delete_max_size

uintptr_t opendal_capability::delete_max_size

Maximum size supported for single delete operations.

If it is not set, this will be zero.

◆ delete_with_if_match

bool opendal_capability::delete_with_if_match

Indicates if conditional delete operations using If-Match are supported.

◆ delete_with_if_none_match

bool opendal_capability::delete_with_if_none_match

Indicates if conditional delete operations using If-None-Match are supported.

◆ delete_with_if_version_match

bool opendal_capability::delete_with_if_version_match

Indicates if conditional delete operations using version match are supported.

◆ delete_with_if_version_not_match

bool opendal_capability::delete_with_if_version_not_match

Indicates if conditional delete operations using version non-match are supported.

◆ delete_with_recursive

bool opendal_capability::delete_with_recursive

Indicates if recursive delete operations are supported.

◆ delete_with_version

bool opendal_capability::delete_with_version

Indicates if versions delete operations are supported.

◆ list

bool opendal_capability::list

Indicates if list operations are supported.

◆ list_with_deleted

bool opendal_capability::list_with_deleted

Indicates if listing with deleted files included is supported.

◆ list_with_glob

bool opendal_capability::list_with_glob

Indicates if listing with a glob pattern is supported by this service stack.

◆ list_with_limit

bool opendal_capability::list_with_limit

Indicates if list operations support result limiting.

◆ list_with_recursive

bool opendal_capability::list_with_recursive

Indicates if recursive listing is supported.

◆ list_with_start_after

bool opendal_capability::list_with_start_after

Indicates if list operations support continuation from a specific point.

◆ list_with_versions

bool opendal_capability::list_with_versions

Indicates if listing with versions included is supported.

◆ presign

bool opendal_capability::presign

Indicates if presigned URL generation is supported.

◆ presign_delete

bool opendal_capability::presign_delete

Indicates if presigned URLs for delete operations are supported.

◆ presign_read

bool opendal_capability::presign_read

Indicates if presigned URLs for read operations are supported.

◆ presign_stat

bool opendal_capability::presign_stat

Indicates if presigned URLs for stat operations are supported.

◆ presign_write

bool opendal_capability::presign_write

Indicates if presigned URLs for write operations are supported.

◆ read

bool opendal_capability::read

Indicates if the operator supports read operations.

◆ read_with_checksum

bool opendal_capability::read_with_checksum

Indicates if the operator supports requesting stored full-file checksum metadata. Stat and read responses may include that metadata when requested.

◆ read_with_if_match

bool opendal_capability::read_with_if_match

Indicates if conditional read operations using If-Match are supported.

◆ read_with_if_modified_since

bool opendal_capability::read_with_if_modified_since

Indicates if conditional read operations using If-Modified-Since are supported.

◆ read_with_if_none_match

bool opendal_capability::read_with_if_none_match

Indicates if conditional read operations using If-None-Match are supported.

◆ read_with_if_unmodified_since

bool opendal_capability::read_with_if_unmodified_since

Indicates if conditional read operations using If-Unmodified-Since are supported.

◆ read_with_if_version_match

bool opendal_capability::read_with_if_version_match

Indicates if conditional read operations using version match are supported.

◆ read_with_if_version_not_match

bool opendal_capability::read_with_if_version_not_match

Indicates if conditional read operations using version non-match are supported.

◆ read_with_override_cache_control

bool opendal_capability::read_with_override_cache_control

Indicates if Cache-Control header override is supported during read operations.

◆ read_with_override_content_disposition

bool opendal_capability::read_with_override_content_disposition

Indicates if Content-Disposition header override is supported during read operations.

◆ read_with_override_content_type

bool opendal_capability::read_with_override_content_type

Indicates if Content-Type header override is supported during read operations.

◆ read_with_suffix

bool opendal_capability::read_with_suffix

Indicates if suffix read operations are supported.

◆ read_with_version

bool opendal_capability::read_with_version

Indicates if versions read operations are supported.

◆ rename

bool opendal_capability::rename

Indicates if rename operations are supported.

◆ rename_with_if_not_exists

bool opendal_capability::rename_with_if_not_exists

Indicates if conditional rename operations with if-not-exists are supported.

◆ restore

bool opendal_capability::restore

Indicates if restore operations are supported.

◆ restore_with_if_not_exists

bool opendal_capability::restore_with_if_not_exists

Indicates if conditional restore operations using if-not-exists are supported.

◆ restore_with_version

bool opendal_capability::restore_with_version

Indicates if restoring a specific version is supported.

◆ shared

bool opendal_capability::shared

Indicate if the operator supports shared access.

◆ stat

bool opendal_capability::stat

Indicates if the operator supports metadata retrieval operations.

◆ stat_with_if_match

bool opendal_capability::stat_with_if_match

Indicates if conditional stat operations using If-Match are supported.

◆ stat_with_if_modified_since

bool opendal_capability::stat_with_if_modified_since

Indicates if conditional stat operations using If-Modified-Since are supported.

◆ stat_with_if_none_match

bool opendal_capability::stat_with_if_none_match

Indicates if conditional stat operations using If-None-Match are supported.

◆ stat_with_if_unmodified_since

bool opendal_capability::stat_with_if_unmodified_since

Indicates if conditional stat operations using If-Unmodified-Since are supported.

◆ stat_with_if_version_match

bool opendal_capability::stat_with_if_version_match

Indicates if conditional stat operations using version match are supported.

◆ stat_with_if_version_not_match

bool opendal_capability::stat_with_if_version_not_match

Indicates if conditional stat operations using version non-match are supported.

◆ stat_with_override_cache_control

bool opendal_capability::stat_with_override_cache_control

Indicates if Cache-Control header override is supported during stat operations.

◆ stat_with_override_content_disposition

bool opendal_capability::stat_with_override_content_disposition

Indicates if Content-Disposition header override is supported during stat operations.

◆ stat_with_override_content_type

bool opendal_capability::stat_with_override_content_type

Indicates if Content-Type header override is supported during stat operations.

◆ stat_with_version

bool opendal_capability::stat_with_version

Indicates if versions stat operations are supported.

◆ write

bool opendal_capability::write

Indicates if the operator supports write operations.

◆ write_can_append

bool opendal_capability::write_can_append

Indicates if append operations are supported.

◆ write_can_copy_from

bool opendal_capability::write_can_copy_from

Indicates if an open, non-append writer can copy eligible byte ranges from existing objects without transferring the copied bytes through the client. Whole-object copy is a separate capability.

◆ write_can_empty

bool opendal_capability::write_can_empty

Indicates if writing empty content is supported.

◆ write_can_multi

bool opendal_capability::write_can_multi

Indicates if multiple write operations can be performed on the same object.

◆ write_multi_max_size

uintptr_t opendal_capability::write_multi_max_size

Maximum size supported for multipart uploads. For example, AWS S3 supports up to 5GiB per part in multipart uploads.

If it is not set, this will be zero.

◆ write_multi_min_size

uintptr_t opendal_capability::write_multi_min_size

Minimum size required for multipart uploads (except for the last part). For example, AWS S3 requires at least 5MiB per part.

If it is not set, this will be zero.

◆ write_total_max_size

uintptr_t opendal_capability::write_total_max_size

Maximum total size supported for write operations. For example, Cloudflare D1 has a 1MB total size limit.

If it is not set, this will be zero.

◆ write_with_cache_control

bool opendal_capability::write_with_cache_control

Indicates if Cache-Control can be specified during write operations.

◆ write_with_checksum

bool opendal_capability::write_with_checksum

Indicates if non-append writes support native verification with a checksum algorithm selected by the service. Verification may cover only individual upload requests, parts, or blocks. Support for caller-selected algorithms and full-object verification depends on the service and write mode. OpenDAL rejects unsupported explicit checksum requests before performing I/O.

◆ write_with_content_disposition

bool opendal_capability::write_with_content_disposition

Indicates if Content-Disposition can be specified during write operations.

◆ write_with_content_encoding

bool opendal_capability::write_with_content_encoding

Indicates if Content-Encoding can be specified during write operations.

◆ write_with_content_language

bool opendal_capability::write_with_content_language

Indicates if a write can store Content-Language and a subsequent stat can retrieve it.

◆ write_with_content_type

bool opendal_capability::write_with_content_type

Indicates if Content-Type can be specified during write operations.

◆ write_with_expires

bool opendal_capability::write_with_expires

Indicates if writes can set a lifetime for the new file.

◆ write_with_if_match

bool opendal_capability::write_with_if_match

Indicates if conditional write operations using If-Match are supported.

◆ write_with_if_none_match

bool opendal_capability::write_with_if_none_match

Indicates if conditional write operations using If-None-Match are supported.

◆ write_with_if_not_exists

bool opendal_capability::write_with_if_not_exists

Indicates if write operations can be conditional on object non-existence.

◆ write_with_if_version_match

bool opendal_capability::write_with_if_version_match

Indicates if conditional write operations using version match are supported.

◆ write_with_if_version_not_match

bool opendal_capability::write_with_if_version_not_match

Indicates if conditional write operations using version non-match are supported.

◆ write_with_user_metadata

bool opendal_capability::write_with_user_metadata

Indicates if custom user metadata can be attached during write operations.


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