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

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

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

◆ CreateDir()

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

◆ DeletePath()

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

◆ Exists()

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

◆ GetLister()

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

◆ GetReader()

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

◆ List()

ListFuture opendal::async::Operator::List ( 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)

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