Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
capability.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20// DO NOT EDIT IT MANUALLY. This file is generated by
21// opendal/dev/src/generate/cpp.rs.
22
23#pragma once
24
25#include <cstddef>
26
27namespace opendal {
28
44 public:
46 bool stat{false};
48 bool stat_with_if_match{false};
53 bool read{false};
55 bool read_with_if_match{false};
69 bool write{false};
72 bool write_can_multi{false};
74 bool write_can_empty{false};
76 bool write_can_append{false};
93 bool create_dir{false};
95 bool delete_feature{false};
97 bool copy{false};
99 bool rename{false};
101 bool list{false};
103 bool list_with_limit{false};
109 bool presign{false};
111 bool presign_read{false};
113 bool presign_stat{false};
115 bool presign_write{false};
117 bool shared{false};
140 bool stat_with_version{false};
154 bool read_with_version{false};
156 bool read_with_suffix{false};
233 bool copy_can_multi{false};
239 bool compose{false};
266 bool restore{false};
278 bool list_with_deleted{false};
281 bool list_with_glob{false};
283 bool presign_delete{false};
284};
285
286} // namespace opendal
The operations and constraints supported by an Operator.
Definition capability.hpp:43
bool read_with_checksum
Definition capability.hpp:160
size_t write_total_max_size
Definition capability.hpp:91
bool write_with_content_language
Definition capability.hpp:169
bool restore
Indicates if restore operations are supported.
Definition capability.hpp:266
bool delete_with_if_version_not_match
Definition capability.hpp:208
bool write_can_multi
Definition capability.hpp:72
bool stat_with_if_version_not_match
Definition capability.hpp:123
size_t copy_multi_max_size
Maximum size supported for segmented copy tasks.
Definition capability.hpp:235
bool compose_with_source_if_match
Indicates if composition supports a source ETag match condition.
Definition capability.hpp:264
bool delete_with_if_none_match
Definition capability.hpp:202
bool presign_delete
Indicates if presigned URLs for delete operations are supported.
Definition capability.hpp:283
bool write
Indicates if the operator supports write operations.
Definition capability.hpp:69
bool read_with_if_version_match
Definition capability.hpp:143
bool compose_with_if_none_match
Indicates if composition supports a destination ETag non-match condition.
Definition capability.hpp:253
bool compose_with_source_version
Indicates if composition can select a specific source version.
Definition capability.hpp:262
bool compose_with_if_version_match
Indicates if composition supports a destination version match condition.
Definition capability.hpp:255
bool list_with_deleted
Indicates if listing with deleted files included is supported.
Definition capability.hpp:278
bool compose_with_if_match
Indicates if composition supports a destination ETag match condition.
Definition capability.hpp:251
bool copy_with_content_language
Definition capability.hpp:231
bool restore_with_if_not_exists
Definition capability.hpp:271
bool presign_write
Indicates if presigned URLs for write operations are supported.
Definition capability.hpp:115
bool list_with_recursive
Indicates if recursive listing is supported.
Definition capability.hpp:107
bool read
Indicates if the operator supports read operations.
Definition capability.hpp:53
bool copy_with_user_metadata
Indicates if copy operations can replace the destination's user metadata.
Definition capability.hpp:226
bool rename_with_if_not_exists
Definition capability.hpp:274
bool write_with_user_metadata
Indicates if custom user metadata can be attached during write operations.
Definition capability.hpp:184
bool stat
Indicates if the operator supports metadata retrieval operations.
Definition capability.hpp:46
bool delete_with_recursive
Indicates if recursive delete operations are supported.
Definition capability.hpp:197
bool read_with_if_match
Indicates if conditional read operations using If-Match are supported.
Definition capability.hpp:55
bool compose_with_if_not_exists
Indicates if composition can require a missing destination.
Definition capability.hpp:260
bool compose_with_content_type
Indicates if Content-Type can be specified during composition.
Definition capability.hpp:241
bool stat_with_if_none_match
Definition capability.hpp:51
size_t delete_max_size
Maximum size supported for single delete operations.
Definition capability.hpp:210
bool compose_with_if_version_not_match
Definition capability.hpp:258
bool read_with_version
Indicates if versions read operations are supported.
Definition capability.hpp:154
bool copy_with_if_none_match
Indicates if conditional copy operations with if-none-match are supported.
Definition capability.hpp:216
bool read_with_if_none_match
Definition capability.hpp:58
bool read_with_if_modified_since
Definition capability.hpp:149
bool stat_with_if_unmodified_since
Definition capability.hpp:129
bool list_with_start_after
Indicates if list operations support continuation from a specific point.
Definition capability.hpp:105
bool copy_with_if_not_exists
Indicates if conditional copy operations with if-not-exists are supported.
Definition capability.hpp:212
size_t copy_multi_min_size
Minimum size required for segmented copy tasks.
Definition capability.hpp:237
bool presign
Indicates if presigned URL generation is supported.
Definition capability.hpp:109
bool write_with_if_version_match
Definition capability.hpp:177
bool copy
Indicates if copy operations are supported.
Definition capability.hpp:97
bool compose_with_cache_control
Indicates if Cache-Control can be specified during composition.
Definition capability.hpp:247
bool create_dir
Indicates if directory creation is supported.
Definition capability.hpp:93
bool list_with_limit
Indicates if list operations support result limiting.
Definition capability.hpp:103
bool read_with_override_cache_control
Definition capability.hpp:61
bool stat_with_override_cache_control
Definition capability.hpp:132
bool list_with_glob
Definition capability.hpp:281
bool write_with_checksum
Definition capability.hpp:193
size_t write_multi_max_size
Definition capability.hpp:85
bool copy_with_if_version_not_match
Definition capability.hpp:222
bool presign_stat
Indicates if presigned URLs for stat operations are supported.
Definition capability.hpp:113
bool rename
Indicates if rename operations are supported.
Definition capability.hpp:99
bool write_with_if_version_not_match
Definition capability.hpp:180
bool delete_with_if_version_match
Definition capability.hpp:205
bool stat_with_version
Indicates if versions stat operations are supported.
Definition capability.hpp:140
size_t write_multi_min_size
Definition capability.hpp:88
bool write_with_content_encoding
Indicates if Content-Encoding can be specified during write operations.
Definition capability.hpp:166
bool stat_with_if_version_match
Definition capability.hpp:120
bool write_can_append
Indicates if append operations are supported.
Definition capability.hpp:76
bool write_with_cache_control
Indicates if Cache-Control can be specified during write operations.
Definition capability.hpp:82
bool write_with_if_match
Indicates if conditional write operations using If-Match are supported.
Definition capability.hpp:171
bool compose_with_content_encoding
Indicates if Content-Encoding can be specified during composition.
Definition capability.hpp:245
bool stat_with_if_match
Indicates if conditional stat operations using If-Match are supported.
Definition capability.hpp:48
bool write_can_empty
Indicates if writing empty content is supported.
Definition capability.hpp:74
bool copy_can_multi
Indicates if copy operations can be split into multiple server-side tasks.
Definition capability.hpp:233
bool delete_feature
Indicates if delete operations are supported.
Definition capability.hpp:95
bool list_with_versions
Indicates if listing with versions included is supported.
Definition capability.hpp:276
bool restore_with_version
Indicates if restoring a specific version is supported.
Definition capability.hpp:268
bool delete_with_if_match
Indicates if conditional delete operations using If-Match are supported.
Definition capability.hpp:199
bool stat_with_override_content_disposition
Definition capability.hpp:135
bool write_can_copy_from
Definition capability.hpp:164
bool list
Indicates if list operations are supported.
Definition capability.hpp:101
bool shared
Indicate if the operator supports shared access.
Definition capability.hpp:117
bool compose
Indicates if the operator supports composing complete source objects.
Definition capability.hpp:239
bool presign_read
Indicates if presigned URLs for read operations are supported.
Definition capability.hpp:111
bool write_with_content_disposition
Indicates if Content-Disposition can be specified during write operations.
Definition capability.hpp:80
bool compose_with_user_metadata
Indicates if custom user metadata can be attached during composition.
Definition capability.hpp:249
bool stat_with_if_modified_since
Definition capability.hpp:126
bool write_with_content_type
Indicates if Content-Type can be specified during write operations.
Definition capability.hpp:78
bool write_with_expires
Indicates if writes can set a lifetime for the new file.
Definition capability.hpp:186
bool delete_with_version
Indicates if versions delete operations are supported.
Definition capability.hpp:195
bool stat_with_override_content_type
Definition capability.hpp:138
bool copy_with_if_match
Indicates if conditional copy operations with if-match are supported.
Definition capability.hpp:214
bool read_with_if_version_not_match
Definition capability.hpp:146
bool read_with_override_content_disposition
Definition capability.hpp:64
bool copy_with_if_version_match
Definition capability.hpp:219
bool compose_with_content_disposition
Indicates if Content-Disposition can be specified during composition.
Definition capability.hpp:243
bool copy_with_content_type
Indicates if copy operations can replace the destination's Content-Type.
Definition capability.hpp:228
bool read_with_override_content_type
Definition capability.hpp:67
bool write_with_if_not_exists
Indicates if write operations can be conditional on object non-existence.
Definition capability.hpp:182
bool read_with_if_unmodified_since
Definition capability.hpp:152
bool copy_with_source_version
Indicates if copy operations from a specific source version are supported.
Definition capability.hpp:224
bool read_with_suffix
Indicates if suffix read operations are supported.
Definition capability.hpp:156
bool write_with_if_none_match
Definition capability.hpp:174
Definition capability.hpp:27