eckit::RadosHandle class

Base classes

class DataHandle

Public static functions

static auto classSpec() -> const ClassSpec&

Constructors, destructors, conversion operators

RadosHandle(const RadosObject&)
RadosHandle(const std::string&)
RadosHandle(Stream&)
~RadosHandle() override

Public functions

auto title() const -> std::string virtual
auto openForRead() -> Length override
void openForWrite(const Length&) override
void openForAppend(const Length&) override
auto read(void*, long) -> long override
auto write(const void*, long) -> long override
void close() override
void flush() override
void rewind() override
auto position() -> Offset override
auto estimate() -> Length override
void print(std::ostream&) const override
void encode(Stream&) const override
auto reanimator() const -> const ReanimatorBase& override
auto size() -> Length virtual
auto seek(const Offset&) -> Offset virtual
auto canSeek() const -> bool virtual
void skip(const Length&) virtual
void restartReadFrom(const Offset&) virtual
void restartWriteFrom(const Offset&) virtual
auto clone() const -> DataHandle* virtual
auto saveInto(DataHandle&, TransferWatcher& = TransferWatcher::dummy()) -> Length virtual
Save into an other datahandle.
auto saveInto(const PathName&, TransferWatcher& = TransferWatcher::dummy()) -> Length virtual
Save into a file.
auto copyTo(DataHandle&, long bufsize = -1, Length maxsize = -1, TransferWatcher& = TransferWatcher::dummy()) -> Length virtual
auto name() const -> std::string virtual
auto openf(const char* mode, bool delete_on_close = false) -> FILE*
Create a FILE* from this handle.
auto openf(bool delete_on_close = false) -> FILE*
auto compare(DataHandle&) -> bool
Compare bytes.
auto compress(bool = false) -> bool virtual
auto merge(DataHandle*) -> bool virtual
auto isEmpty() const -> bool virtual
auto moveable() const -> bool virtual
void toLocal(Stream& s) const virtual
auto toLocal() -> DataHandle* virtual
void toRemote(Stream& s) const virtual
void selectMover(MoverTransferSelection&, bool read) const virtual
auto metricsTag() const -> std::string virtual
void collectMetrics(const std::string& what) const virtual
void hash(MD5& md5) const virtual
auto doubleBufferOK() const -> bool virtual
auto className() const -> std::string virtual

Function documentation

Length eckit::RadosHandle::size() virtual

Offset eckit::RadosHandle::seek(const Offset&) virtual

bool eckit::RadosHandle::canSeek() const virtual

void eckit::RadosHandle::skip(const Length&) virtual

void eckit::RadosHandle::restartReadFrom(const Offset&) virtual

void eckit::RadosHandle::restartWriteFrom(const Offset&) virtual

DataHandle* eckit::RadosHandle::clone() const virtual

Length eckit::RadosHandle::saveInto(DataHandle&, TransferWatcher& = TransferWatcher::dummy()) virtual

Save into an other datahandle.

Length eckit::RadosHandle::saveInto(const PathName&, TransferWatcher& = TransferWatcher::dummy()) virtual

Save into a file.

Length eckit::RadosHandle::copyTo(DataHandle&, long bufsize = -1, Length maxsize = -1, TransferWatcher& = TransferWatcher::dummy()) virtual

Quiet version of saveInto Does not support progess, restart and double buffering

std::string eckit::RadosHandle::name() const virtual

FILE* eckit::RadosHandle::openf(const char* mode, bool delete_on_close = false)

Create a FILE* from this handle.

FILE* eckit::RadosHandle::openf(bool delete_on_close = false)

bool eckit::RadosHandle::compare(DataHandle&)

Compare bytes.

bool eckit::RadosHandle::compress(bool = false) virtual

bool eckit::RadosHandle::merge(DataHandle*) virtual

bool eckit::RadosHandle::isEmpty() const virtual

bool eckit::RadosHandle::moveable() const virtual

void eckit::RadosHandle::toLocal(Stream& s) const virtual

DataHandle* eckit::RadosHandle::toLocal() virtual

void eckit::RadosHandle::toRemote(Stream& s) const virtual

void eckit::RadosHandle::selectMover(MoverTransferSelection&, bool read) const virtual

std::string eckit::RadosHandle::metricsTag() const virtual

void eckit::RadosHandle::collectMetrics(const std::string& what) const virtual

void eckit::RadosHandle::hash(MD5& md5) const virtual

bool eckit::RadosHandle::doubleBufferOK() const virtual

std::string eckit::RadosHandle::className() const virtual