CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::ParquetStreamer Class Reference

This class automates the construction of simple tabular Parquet files using the parquet::StreamWriter. More...

#include <ParquetStreamer.hpp>

Public Member Functions

 ParquetStreamer ()
 ParquetStreamer's take no constructor arguments.
 
void initStreamer (std::string const &filepath)
 Initialize the streamer to write to a given file.
 
template<typename... TArgs>
void addField (TArgs &&... args)
 Add a field to this streamer.
 
void enableCompression (int const level=3)
 Enable compression for this streamer.
 
void buildStreamer ()
 Finalize the streamer construction.
 
void closeStreamer ()
 Finish writing this stream.
 
std::shared_ptr< parquet::StreamWriter > getWriter ()
 Return a reference to the underlying writer.
 
bool isInit () const
 

Detailed Description

This class automates the construction of simple tabular Parquet files using the parquet::StreamWriter.

Definition at line 28 of file ParquetStreamer.hpp.

Member Function Documentation

◆ isInit()

bool corsika::ParquetStreamer::isInit ( ) const
inline
Returns
status of streamer

Definition at line 70 of file ParquetStreamer.hpp.


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