Apache OpenDALâ„¢ C++ Binding
The C++ binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
opendal::Reader Class Reference

Reader is designed to read data from the operator. More...

#include <opendal.hpp>

Public Member Functions

 Reader (Reader &&other) noexcept
 ~Reader () noexcept
std::streamsize Read (void *s, std::streamsize n)
std::streamsize ReadAt (void *s, std::streamsize n, uint64_t offset)
std::streampos Seek (std::streamoff off, std::ios_base::seekdir way)

Friends

class Operator

Detailed Description

Reader is designed to read data from the operator.

It provides basic read and seek operations with a stream-like interface.

opendal::ReaderStream stream(operator.reader("path"));
ReaderStream is a stream wrapper of Reader which provides iostream interface. It wraps the Reader to ...
Definition opendal.hpp:279

Constructor & Destructor Documentation

◆ Reader()

opendal::Reader::Reader ( Reader && other)
noexcept

◆ ~Reader()

opendal::Reader::~Reader ( )
noexcept

Member Function Documentation

◆ Read()

std::streamsize opendal::Reader::Read ( void * s,
std::streamsize n )

◆ ReadAt()

std::streamsize opendal::Reader::ReadAt ( void * s,
std::streamsize n,
uint64_t offset )

◆ Seek()

std::streampos opendal::Reader::Seek ( std::streamoff off,
std::ios_base::seekdir way )

◆ Operator

friend class Operator
friend

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