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
 

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)
 

Member Typedef Documentation

◆ ReadFuture

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

◆ 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

◆ 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)

◆ 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: