Project
Loading...
Searching...
No Matches
TableConsumer.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef FRAMEWORK_TABLECONSUMER_H
13#define FRAMEWORK_TABLECONSUMER_H
14
15#include <cstdint>
16#include <memory>
17
18namespace arrow
19{
20class Table;
21class Buffer;
22} // namespace arrow
23
24namespace o2
25{
26namespace framework
27{
32{
33 public:
34 TableConsumer(const uint8_t* data, int64_t size);
36 std::shared_ptr<arrow::Table> asArrowTable();
37
38 private:
39 std::shared_ptr<arrow::Buffer> mBuffer;
40};
41
42} // namespace framework
43} // namespace o2
44
45#endif // FRAMEWORK_TABLECONSUMER_H
std::shared_ptr< arrow::Table > asArrowTable()
Return the table in the message as a arrow::Table instance.
GLsizeiptr size
Definition glcorearb.h:659
GLboolean * data
Definition glcorearb.h:298
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...