Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
opendal::async::Operator Class Reference

#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 RemoveAllFuture = 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
 
Operatoroperator= (const Operator &)=delete
 
 Operator (Operator &&)=default
 
Operatoroperator= (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 create_dir (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 delete_path (std::string_view path)
 
RemoveAllFuture remove_all (std::string_view path)
 
ReaderFuture reader (std::string_view path)
 
ListerFuture lister (std::string_view path)
 

Member Typedef Documentation

◆ CopyFuture

using opendal::async::Operator::CopyFuture = opendal::ffi::async::RustFutureWrite

◆ CreateDirFuture

using opendal::async::Operator::CreateDirFuture = opendal::ffi::async::RustFutureWrite

◆ DeleteFuture

using opendal::async::Operator::DeleteFuture = opendal::ffi::async::RustFutureWrite

◆ ExistsFuture

using opendal::async::Operator::ExistsFuture = opendal::ffi::async::RustFutureBool

◆ ListerFuture

using opendal::async::Operator::ListerFuture = opendal::ffi::async::RustFutureListerId

◆ ListFuture

using opendal::async::Operator::ListFuture = opendal::ffi::async::RustFutureList

◆ ReaderFuture

using opendal::async::Operator::ReaderFuture = opendal::ffi::async::RustFutureReaderId

◆ ReadFuture

using opendal::async::Operator::ReadFuture = opendal::ffi::async::RustFutureRead

◆ RemoveAllFuture

using opendal::async::Operator::RemoveAllFuture = opendal::ffi::async::RustFutureWrite

◆ RenameFuture

using opendal::async::Operator::RenameFuture = opendal::ffi::async::RustFutureWrite

◆ WriteFuture

using opendal::async::Operator::WriteFuture = opendal::ffi::async::RustFutureWrite

Constructor & Destructor Documentation

◆ Operator() [1/3]

opendal::async::Operator::Operator ( std::string_view  scheme,
const std::unordered_map< std::string, std::string > &  config = {} 
)

◆ Operator() [2/3]

opendal::async::Operator::Operator ( const Operator )
delete

◆ Operator() [3/3]

opendal::async::Operator::Operator ( Operator &&  )
default

◆ ~Operator()

opendal::async::Operator::~Operator ( )
default

Member Function Documentation

◆ copy()

CopyFuture opendal::async::Operator::copy ( std::string_view  from,
std::string_view  to 
)

◆ create_dir()

CreateDirFuture opendal::async::Operator::create_dir ( std::string_view  path)

◆ delete_path()

DeleteFuture opendal::async::Operator::delete_path ( std::string_view  path)

◆ exists()

ExistsFuture opendal::async::Operator::exists ( std::string_view  path)

◆ list()

ListFuture opendal::async::Operator::list ( std::string_view  path)

◆ lister()

ListerFuture opendal::async::Operator::lister ( std::string_view  path)

◆ operator=() [1/2]

Operator & opendal::async::Operator::operator= ( const Operator )
delete

◆ operator=() [2/2]

Operator & opendal::async::Operator::operator= ( Operator &&  )
default

◆ read()

ReadFuture opendal::async::Operator::read ( std::string_view  path)

◆ reader()

ReaderFuture opendal::async::Operator::reader ( std::string_view  path)

◆ remove_all()

RemoveAllFuture opendal::async::Operator::remove_all ( std::string_view  path)

◆ rename()

RenameFuture opendal::async::Operator::rename ( std::string_view  from,
std::string_view  to 
)

◆ write()

WriteFuture opendal::async::Operator::write ( std::string_view  path,
std::span< uint8_t >  data 
)

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