Skip to content

Commit 9f94e96

Browse files
committed
Clickhouse - introduce Block
1 parent 02ec956 commit 9f94e96

File tree

1 file changed

+20
-0
lines changed
  • extra_plugins/output/clickhouse/src

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* @file
3+
* @author Michal Sedlak <[email protected]>
4+
* @brief Block representation
5+
* @date 2025
6+
*
7+
* Copyright(c) 2025 CESNET z.s.p.o.
8+
* SPDX-License-Identifier: BSD-3-Clause
9+
*/
10+
11+
#pragma once
12+
13+
#include <vector>
14+
#include "clickhouse.h"
15+
16+
struct Block {
17+
std::vector<std::shared_ptr<clickhouse::Column>> columns;
18+
clickhouse::Block block;
19+
unsigned int rows = 0;
20+
};

0 commit comments

Comments
 (0)