Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
|
#include <opendal_async.hpp>
Public Types | |
using | ReadFuture = opendal::ffi::async::RustFutureRead |
using | WriteFuture = opendal::ffi::async::RustFutureWrite |
using | ListFuture = opendal::ffi::async::RustFutureList |
using | ExistsFuture = opendal::ffi::async::RustFutureBool |
using | CreateDirFuture = opendal::ffi::async::RustFutureWrite |
using | CopyFuture = opendal::ffi::async::RustFutureWrite |
using | RenameFuture = opendal::ffi::async::RustFutureWrite |
using | DeleteFuture = opendal::ffi::async::RustFutureWrite |
using | ReaderFuture = opendal::ffi::async::RustFutureReaderId |
using | ListerFuture = opendal::ffi::async::RustFutureListerId |
Public Member Functions | |
Operator (std::string_view scheme, const std::unordered_map< std::string, std::string > &config={}) | |
Operator (const Operator &)=delete | |
Operator & | operator= (const Operator &)=delete |
Operator (Operator &&)=default | |
Operator & | operator= (Operator &&)=default |
~Operator ()=default | |
ReadFuture | Read (std::string_view path) |
WriteFuture | Write (std::string_view path, std::span< uint8_t > data) |
ListFuture | List (std::string_view path) |
ExistsFuture | Exists (std::string_view path) |
CreateDirFuture | CreateDir (std::string_view path) |
CopyFuture | Copy (std::string_view from, std::string_view to) |
RenameFuture | Rename (std::string_view from, std::string_view to) |
DeleteFuture | DeletePath (std::string_view path) |
ReaderFuture | GetReader (std::string_view path) |
ListerFuture | GetLister (std::string_view path) |
using opendal::async::Operator::CopyFuture = opendal::ffi::async::RustFutureWrite |
using opendal::async::Operator::CreateDirFuture = opendal::ffi::async::RustFutureWrite |
using opendal::async::Operator::DeleteFuture = opendal::ffi::async::RustFutureWrite |
using opendal::async::Operator::ExistsFuture = opendal::ffi::async::RustFutureBool |
using opendal::async::Operator::ListerFuture = opendal::ffi::async::RustFutureListerId |
using opendal::async::Operator::ListFuture = opendal::ffi::async::RustFutureList |
using opendal::async::Operator::ReaderFuture = opendal::ffi::async::RustFutureReaderId |
using opendal::async::Operator::ReadFuture = opendal::ffi::async::RustFutureRead |
using opendal::async::Operator::RenameFuture = opendal::ffi::async::RustFutureWrite |
using opendal::async::Operator::WriteFuture = opendal::ffi::async::RustFutureWrite |
opendal::async::Operator::Operator | ( | std::string_view | scheme, |
const std::unordered_map< std::string, std::string > & | config = {} |
||
) |
|
delete |
|
default |
|
default |
CopyFuture opendal::async::Operator::Copy | ( | std::string_view | from, |
std::string_view | to | ||
) |
CreateDirFuture opendal::async::Operator::CreateDir | ( | std::string_view | path | ) |
DeleteFuture opendal::async::Operator::DeletePath | ( | std::string_view | path | ) |
ExistsFuture opendal::async::Operator::Exists | ( | std::string_view | path | ) |
ListerFuture opendal::async::Operator::GetLister | ( | std::string_view | path | ) |
ReaderFuture opendal::async::Operator::GetReader | ( | std::string_view | path | ) |
ListFuture opendal::async::Operator::List | ( | std::string_view | path | ) |
ReadFuture opendal::async::Operator::Read | ( | std::string_view | path | ) |
RenameFuture opendal::async::Operator::Rename | ( | std::string_view | from, |
std::string_view | to | ||
) |
WriteFuture opendal::async::Operator::Write | ( | std::string_view | path, |
std::span< uint8_t > | data | ||
) |