|
Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
|
Capability is used to describe what operations are supported by current Operator. More...
#include <opendal.h>
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).
| bool opendal_capability::compose |
Indicates if the operator supports composing complete source objects.
| bool opendal_capability::compose_with_cache_control |
Indicates if Cache-Control can be specified during composition.
| bool opendal_capability::compose_with_content_disposition |
Indicates if Content-Disposition can be specified during composition.
| bool opendal_capability::compose_with_content_encoding |
Indicates if Content-Encoding can be specified during composition.
| bool opendal_capability::compose_with_content_type |
Indicates if Content-Type can be specified during composition.
| bool opendal_capability::compose_with_if_match |
Indicates if composition supports a destination ETag match condition.
| bool opendal_capability::compose_with_if_none_match |
Indicates if composition supports a destination ETag non-match condition.
| bool opendal_capability::compose_with_if_not_exists |
Indicates if composition can require a missing destination.
| bool opendal_capability::compose_with_if_version_match |
Indicates if composition supports a destination version match condition.
| bool opendal_capability::compose_with_if_version_not_match |
Indicates if composition supports a destination version non-match condition.
| bool opendal_capability::compose_with_source_if_match |
Indicates if composition supports a source ETag match condition.
| bool opendal_capability::compose_with_source_version |
Indicates if composition can select a specific source version.
| bool opendal_capability::compose_with_user_metadata |
Indicates if custom user metadata can be attached during composition.
| bool opendal_capability::copy |
Indicates if copy operations are supported.
| bool opendal_capability::copy_can_multi |
Indicates if copy operations can be split into multiple server-side tasks.
| uintptr_t opendal_capability::copy_multi_max_size |
Maximum size supported for segmented copy tasks.
If it is not set, this will be zero.
| uintptr_t opendal_capability::copy_multi_min_size |
Minimum size required for segmented copy tasks.
If it is not set, this will be zero.
| bool opendal_capability::copy_with_content_language |
Indicates if copy operations can replace the destination's Content-Language.
| bool opendal_capability::copy_with_content_type |
Indicates if copy operations can replace the destination's Content-Type.
| bool opendal_capability::copy_with_if_match |
Indicates if conditional copy operations with if-match are supported.
| bool opendal_capability::copy_with_if_none_match |
Indicates if conditional copy operations with if-none-match are supported.
| bool opendal_capability::copy_with_if_not_exists |
Indicates if conditional copy operations with if-not-exists are supported.
| bool opendal_capability::copy_with_if_version_match |
Indicates if conditional copy operations using version match are supported.
| bool opendal_capability::copy_with_if_version_not_match |
Indicates if conditional copy operations using version non-match are supported.
| bool opendal_capability::copy_with_source_version |
Indicates if copy operations from a specific source version are supported.
| bool opendal_capability::copy_with_user_metadata |
Indicates if copy operations can replace the destination's user metadata.
| bool opendal_capability::create_dir |
Indicates if directory creation is supported.
| bool opendal_capability::delete_ |
Indicates if delete operations are supported.
| uintptr_t opendal_capability::delete_max_size |
Maximum size supported for single delete operations.
If it is not set, this will be zero.
| bool opendal_capability::delete_with_if_match |
Indicates if conditional delete operations using If-Match are supported.
| bool opendal_capability::delete_with_if_none_match |
Indicates if conditional delete operations using If-None-Match are supported.
| bool opendal_capability::delete_with_if_version_match |
Indicates if conditional delete operations using version match are supported.
| bool opendal_capability::delete_with_if_version_not_match |
Indicates if conditional delete operations using version non-match are supported.
| bool opendal_capability::delete_with_recursive |
Indicates if recursive delete operations are supported.
| bool opendal_capability::delete_with_version |
Indicates if versions delete operations are supported.
| bool opendal_capability::list |
Indicates if list operations are supported.
| bool opendal_capability::list_with_deleted |
Indicates if listing with deleted files included is supported.
| bool opendal_capability::list_with_glob |
Indicates if listing with a glob pattern is supported by this service stack.
| bool opendal_capability::list_with_limit |
Indicates if list operations support result limiting.
| bool opendal_capability::list_with_recursive |
Indicates if recursive listing is supported.
| bool opendal_capability::list_with_start_after |
Indicates if list operations support continuation from a specific point.
| bool opendal_capability::list_with_versions |
Indicates if listing with versions included is supported.
| bool opendal_capability::presign |
Indicates if presigned URL generation is supported.
| bool opendal_capability::presign_delete |
Indicates if presigned URLs for delete operations are supported.
| bool opendal_capability::presign_read |
Indicates if presigned URLs for read operations are supported.
| bool opendal_capability::presign_stat |
Indicates if presigned URLs for stat operations are supported.
| bool opendal_capability::presign_write |
Indicates if presigned URLs for write operations are supported.
| bool opendal_capability::read |
Indicates if the operator supports read operations.
| 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.
| bool opendal_capability::read_with_if_match |
Indicates if conditional read operations using If-Match are supported.
| bool opendal_capability::read_with_if_modified_since |
Indicates if conditional read operations using If-Modified-Since are supported.
| bool opendal_capability::read_with_if_none_match |
Indicates if conditional read operations using If-None-Match are supported.
| bool opendal_capability::read_with_if_unmodified_since |
Indicates if conditional read operations using If-Unmodified-Since are supported.
| bool opendal_capability::read_with_if_version_match |
Indicates if conditional read operations using version match are supported.
| bool opendal_capability::read_with_if_version_not_match |
Indicates if conditional read operations using version non-match are supported.
| bool opendal_capability::read_with_override_cache_control |
Indicates if Cache-Control header override is supported during read operations.
| bool opendal_capability::read_with_override_content_disposition |
Indicates if Content-Disposition header override is supported during read operations.
| bool opendal_capability::read_with_override_content_type |
Indicates if Content-Type header override is supported during read operations.
| bool opendal_capability::read_with_suffix |
Indicates if suffix read operations are supported.
| bool opendal_capability::read_with_version |
Indicates if versions read operations are supported.
| bool opendal_capability::rename |
Indicates if rename operations are supported.
| bool opendal_capability::rename_with_if_not_exists |
Indicates if conditional rename operations with if-not-exists are supported.
| bool opendal_capability::restore |
Indicates if restore operations are supported.
| bool opendal_capability::restore_with_if_not_exists |
Indicates if conditional restore operations using if-not-exists are supported.
| bool opendal_capability::restore_with_version |
Indicates if restoring a specific version is supported.
| bool opendal_capability::shared |
Indicate if the operator supports shared access.
| bool opendal_capability::stat |
Indicates if the operator supports metadata retrieval operations.
| bool opendal_capability::stat_with_if_match |
Indicates if conditional stat operations using If-Match are supported.
| bool opendal_capability::stat_with_if_modified_since |
Indicates if conditional stat operations using If-Modified-Since are supported.
| bool opendal_capability::stat_with_if_none_match |
Indicates if conditional stat operations using If-None-Match are supported.
| bool opendal_capability::stat_with_if_unmodified_since |
Indicates if conditional stat operations using If-Unmodified-Since are supported.
| bool opendal_capability::stat_with_if_version_match |
Indicates if conditional stat operations using version match are supported.
| bool opendal_capability::stat_with_if_version_not_match |
Indicates if conditional stat operations using version non-match are supported.
| bool opendal_capability::stat_with_override_cache_control |
Indicates if Cache-Control header override is supported during stat operations.
| bool opendal_capability::stat_with_override_content_disposition |
Indicates if Content-Disposition header override is supported during stat operations.
| bool opendal_capability::stat_with_override_content_type |
Indicates if Content-Type header override is supported during stat operations.
| bool opendal_capability::stat_with_version |
Indicates if versions stat operations are supported.
| bool opendal_capability::write |
Indicates if the operator supports write operations.
| bool opendal_capability::write_can_append |
Indicates if append operations are supported.
| 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.
| bool opendal_capability::write_can_empty |
Indicates if writing empty content is supported.
| bool opendal_capability::write_can_multi |
Indicates if multiple write operations can be performed on the same object.
| 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.
| 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.
| 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.
| bool opendal_capability::write_with_cache_control |
Indicates if Cache-Control can be specified during write operations.
| 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.
| bool opendal_capability::write_with_content_disposition |
Indicates if Content-Disposition can be specified during write operations.
| bool opendal_capability::write_with_content_encoding |
Indicates if Content-Encoding can be specified during write operations.
| bool opendal_capability::write_with_content_language |
Indicates if a write can store Content-Language and a subsequent stat can retrieve it.
| bool opendal_capability::write_with_content_type |
Indicates if Content-Type can be specified during write operations.
| bool opendal_capability::write_with_expires |
Indicates if writes can set a lifetime for the new file.
| bool opendal_capability::write_with_if_match |
Indicates if conditional write operations using If-Match are supported.
| bool opendal_capability::write_with_if_none_match |
Indicates if conditional write operations using If-None-Match are supported.
| bool opendal_capability::write_with_if_not_exists |
Indicates if write operations can be conditional on object non-existence.
| bool opendal_capability::write_with_if_version_match |
Indicates if conditional write operations using version match are supported.
| bool opendal_capability::write_with_if_version_not_match |
Indicates if conditional write operations using version non-match are supported.
| bool opendal_capability::write_with_user_metadata |
Indicates if custom user metadata can be attached during write operations.