OpenMS
Loading...
Searching...
No Matches
ConsensusMapArrowExport.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
42class OPENMS_DLLAPI ConsensusMapArrowExport
43{
44public:
55 static std::shared_ptr<arrow::Table> exportToArrow(const ConsensusMap& cmap);
56
65 static bool exportToParquet(
66 const ConsensusMap& cmap,
67 const String& filename,
68 const ParquetWriteConfig& config = ParquetWriteConfig{});
69};
70
71} // namespace OpenMS
72
73#endif // WITH_PARQUET
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19