Project
Loading...
Searching...
No Matches
o2::framework::TFileFileSystem Class Reference

#include <RootArrowFilesystem.h>

Inherits o2::framework::VirtualRootFileSystemBase.

Public Member Functions

arrow::Result< arrow::fs::FileInfo > GetFileInfo (const std::string &path) override
 
 TFileFileSystem (TDirectoryFile *f, size_t readahead, RootObjectReadingFactory &)
 
 ~TFileFileSystem () override
 
std::string type_name () const override
 
std::shared_ptr< RootObjectHandlerGetObjectHandler (arrow::dataset::FileSource source) override
 
bool CheckSupport (arrow::dataset::FileSource source) override
 
virtual std::shared_ptr< VirtualRootFileSystemBaseGetSubFilesystem (arrow::dataset::FileSource source)
 
arrow::Result< std::shared_ptr< arrow::io::OutputStream > > OpenOutputStream (const std::string &path, const std::shared_ptr< const arrow::KeyValueMetadata > &metadata) override
 
TDirectoryFile * GetFile ()
 
- Public Member Functions inherited from o2::framework::VirtualRootFileSystemBase
arrow::Result< arrow::fs::FileInfo > GetFileInfo (const std::string &path) override
 
arrow::Result< arrow::fs::FileInfoVector > GetFileInfo (const arrow::fs::FileSelector &select) override
 
bool Equals (const FileSystem &other) const override
 
arrow::Status CreateDir (const std::string &path, bool recursive) override
 
arrow::Status DeleteDir (const std::string &path) override
 
arrow::Status CopyFile (const std::string &src, const std::string &dest) override
 
arrow::Status Move (const std::string &src, const std::string &dest) override
 
arrow::Status DeleteDirContents (const std::string &path, bool missing_dir_ok) override
 
arrow::Status DeleteRootDirContents () override
 
arrow::Status DeleteFile (const std::string &path) override
 
arrow::Result< std::shared_ptr< arrow::io::InputStream > > OpenInputStream (const std::string &path) override
 
arrow::Result< std::shared_ptr< arrow::io::RandomAccessFile > > OpenInputFile (const std::string &path) override
 
arrow::Result< std::shared_ptr< arrow::io::OutputStream > > OpenOutputStream (const std::string &path, const std::shared_ptr< const arrow::KeyValueMetadata > &metadata) override
 
arrow::Result< std::shared_ptr< arrow::io::OutputStream > > OpenAppendStream (const std::string &path, const std::shared_ptr< const arrow::KeyValueMetadata > &metadata) override
 

Detailed Description

Definition at line 144 of file RootArrowFilesystem.h.

Constructor & Destructor Documentation

◆ TFileFileSystem()

o2::framework::TFileFileSystem::TFileFileSystem ( TDirectoryFile *  f,
size_t  readahead,
RootObjectReadingFactory factory 
)

Definition at line 37 of file RootArrowFilesystem.cxx.

◆ ~TFileFileSystem()

o2::framework::TFileFileSystem::~TFileFileSystem ( )
override

Definition at line 45 of file RootArrowFilesystem.cxx.

Member Function Documentation

◆ CheckSupport()

bool o2::framework::TFileFileSystem::CheckSupport ( arrow::dataset::FileSource  source)
overridevirtual

Implements o2::framework::VirtualRootFileSystemBase.

Definition at line 67 of file RootArrowFilesystem.cxx.

◆ GetFile()

TDirectoryFile * o2::framework::TFileFileSystem::GetFile ( )
inline

Definition at line 167 of file RootArrowFilesystem.h.

◆ GetFileInfo()

arrow::Result< arrow::fs::FileInfo > o2::framework::TFileFileSystem::GetFileInfo ( const std::string &  path)
override

Definition at line 92 of file RootArrowFilesystem.cxx.

◆ GetObjectHandler()

std::shared_ptr< RootObjectHandler > o2::framework::TFileFileSystem::GetObjectHandler ( arrow::dataset::FileSource  source)
overridevirtual

Implements o2::framework::VirtualRootFileSystemBase.

Definition at line 51 of file RootArrowFilesystem.cxx.

◆ GetSubFilesystem()

std::shared_ptr< VirtualRootFileSystemBase > o2::framework::TFileFileSystem::GetSubFilesystem ( arrow::dataset::FileSource  source)
virtual

Definition at line 83 of file RootArrowFilesystem.cxx.

◆ OpenOutputStream()

arrow::Result< std::shared_ptr< arrow::io::OutputStream > > o2::framework::TFileFileSystem::OpenOutputStream ( const std::string &  path,
const std::shared_ptr< const arrow::KeyValueMetadata > &  metadata 
)
override

Definition at line 113 of file RootArrowFilesystem.cxx.

◆ type_name()

std::string o2::framework::TFileFileSystem::type_name ( ) const
inlineoverride

Definition at line 153 of file RootArrowFilesystem.h.


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