OpenMS
Loading...
Searching...
No Matches
ProteinGroupArrowExport.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Timo Sachsenberg $
6// $Authors: Timo Sachsenberg $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/config.h>
12
13#ifdef WITH_PARQUET
14
18
19#include <memory>
20#include <string>
21
22// Forward declarations
23namespace arrow
24{
25 class Table;
26}
27
28namespace OpenMS
29{
30
45class OPENMS_DLLAPI ProteinGroupArrowExport
46{
47public:
57 static std::shared_ptr<arrow::Table> exportToArrow(const ConsensusMap& cmap);
58
67 static bool exportToParquet(
68 const ConsensusMap& cmap,
69 const String& filename,
70 const ParquetWriteConfig& config = ParquetWriteConfig{});
71};
72
73} // namespace OpenMS
74
75#endif // WITH_PARQUET
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19