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

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

#include <opendal.hpp>

Inheritance diagram for opendal::Reader:
[legend]

Public Member Functions

 Reader (std::unique_ptr< details::Reader > &&reader)
 
 Reader (Reader &&)
 
 ~Reader ()
 
std::streamsize read (void *s, std::streamsize n)
 
std::streampos seek (std::streamoff off, std::ios_base::seekdir way)
 

Detailed Description

Reader is designed to read data from the operator.

It provides basic read and seek operations. If you want to use it like a stream, you can use ReaderStream instead.

opendal::ReaderStream stream(operator.reader("path"));
ReaderStream is a stream wrapper of Reader which can provide iostream interface. It will keep a Reade...
Definition opendal.hpp:243

Constructor & Destructor Documentation

◆ Reader() [1/2]

opendal::Reader::Reader ( std::unique_ptr< details::Reader > &&  reader)

◆ Reader() [2/2]

opendal::Reader::Reader ( Reader &&  )

◆ ~Reader()

opendal::Reader::~Reader ( )

Member Function Documentation

◆ read()

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

◆ seek()

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

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