18 class MSChromatogramParquetConsumerImpl;
75 const std::string& source_file,
105 std::unique_ptr<Rows> rows_;
140 void setExpectedSize(
Size expectedSpectra,
Size expectedChromatograms) override;
149 std::unique_ptr<MSChromatogramParquetConsumerImpl> impl_;
Description of the experimental settings.
Definition ExperimentalSettings.h:37
The interface of a consumer of spectra and chromatograms.
Definition IMSDataConsumer.h:46
Rows prepared by encodeChromatogram(), to be appended with consumeEncodedChromatograms().
Definition MSChromatogramParquetConsumer.h:92
EncodedChromatograms(EncodedChromatograms &&) noexcept
Writes chromatograms to a Parquet file with a PyProphet-compatible schema.
Definition MSChromatogramParquetConsumer.h:63
void consumeChromatogram(ChromatogramType &c) override
Consume a chromatogram and append it to the parquet output.
~MSChromatogramParquetConsumer() override
Destructor flushes pending data and closes the parquet writer.
void consumeSpectrum(SpectrumType &s) override
Consume a spectrum (no-op; spectra are ignored for chromatogram export).
MSChromatogramParquetConsumer(const std::string &filename, UInt64 run_id, const std::string &source_file, const OpenSwath::LightTargetedExperiment &transition_exp)
Construct a parquet consumer for chromatogram export.
The representation of a chromatogram.
Definition MSChromatogram.h:33
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
uint64_t UInt64
Unsigned integer type (64bit)
Definition Types.h:47
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition TransitionExperiment.h:369