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

Inherits arrow::dataset::FileFormat.

Public Member Functions

 TTreeFileFormat (size_t &totalCompressedSize, size_t &totalUncompressedSize)
 
 ~TTreeFileFormat () override=default
 
std::string type_name () const override
 
bool Equals (const FileFormat &other) const override
 
arrow::Result< bool > IsSupported (const arrow::dataset::FileSource &source) const override
 
arrow::Result< std::shared_ptr< arrow::Schema > > Inspect (const arrow::dataset::FileSource &source) const override
 
arrow::Result< std::shared_ptr< arrow::dataset::FileFragment > > MakeFragment (arrow::dataset::FileSource source, arrow::compute::Expression partition_expression, std::shared_ptr< arrow::Schema > physical_schema) override
 Create a FileFragment for a FileSource.
 
arrow::Result< std::shared_ptr< arrow::dataset::FileWriter > > MakeWriter (std::shared_ptr< arrow::io::OutputStream > destination, std::shared_ptr< arrow::Schema > schema, std::shared_ptr< arrow::dataset::FileWriteOptions > options, arrow::fs::FileLocator destination_locator) const override
 
std::shared_ptr< arrow::dataset::FileWriteOptionsDefaultWriteOptions () override
 
arrow::Result< arrow::RecordBatchGenerator > ScanBatchesAsync (const std::shared_ptr< arrow::dataset::ScanOptions > &options, const std::shared_ptr< arrow::dataset::FileFragment > &fragment) const override
 

Detailed Description

Definition at line 328 of file TTreePlugin.cxx.

Constructor & Destructor Documentation

◆ TTreeFileFormat()

o2::framework::TTreeFileFormat::TTreeFileFormat ( size_t &  totalCompressedSize,
size_t &  totalUncompressedSize 
)
inline

Definition at line 334 of file TTreePlugin.cxx.

◆ ~TTreeFileFormat()

o2::framework::TTreeFileFormat::~TTreeFileFormat ( )
overridedefault

Member Function Documentation

◆ DefaultWriteOptions()

std::shared_ptr< arrow::dataset::FileWriteOptions > o2::framework::TTreeFileFormat::DefaultWriteOptions ( )
override

Definition at line 1208 of file TTreePlugin.cxx.

◆ Equals()

bool o2::framework::TTreeFileFormat::Equals ( const FileFormat &  other) const
inlineoverride

Definition at line 348 of file TTreePlugin.cxx.

◆ Inspect()

arrow::Result< std::shared_ptr< arrow::Schema > > o2::framework::TTreeFileFormat::Inspect ( const arrow::dataset::FileSource &  source) const
override

Definition at line 882 of file TTreePlugin.cxx.

◆ IsSupported()

arrow::Result< bool > o2::framework::TTreeFileFormat::IsSupported ( const arrow::dataset::FileSource &  source) const
inlineoverride

Definition at line 353 of file TTreePlugin.cxx.

◆ MakeFragment()

arrow::Result< std::shared_ptr< arrow::dataset::FileFragment > > o2::framework::TTreeFileFormat::MakeFragment ( arrow::dataset::FileSource  source,
arrow::compute::Expression  partition_expression,
std::shared_ptr< arrow::Schema >  physical_schema 
)
override

Create a FileFragment for a FileSource.

Definition at line 937 of file TTreePlugin.cxx.

◆ MakeWriter()

arrow::Result< std::shared_ptr< arrow::dataset::FileWriter > > o2::framework::TTreeFileFormat::MakeWriter ( std::shared_ptr< arrow::io::OutputStream destination,
std::shared_ptr< arrow::Schema >  schema,
std::shared_ptr< arrow::dataset::FileWriteOptions options,
arrow::fs::FileLocator  destination_locator 
) const
override

Definition at line 1202 of file TTreePlugin.cxx.

◆ ScanBatchesAsync()

arrow::Result< arrow::RecordBatchGenerator > o2::framework::TTreeFileFormat::ScanBatchesAsync ( const std::shared_ptr< arrow::dataset::ScanOptions > &  options,
const std::shared_ptr< arrow::dataset::FileFragment > &  fragment 
) const
override

Definition at line 590 of file TTreePlugin.cxx.

◆ type_name()

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

Definition at line 343 of file TTreePlugin.cxx.


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