1#pragma once
2
3#include <cstddef>
4#include <vector>
5
6
7namespace DB
8{
9
10
11/** A pair of marks that defines the range of rows in a part. Specifically, the range has the form [begin * index_granularity, end * index_granularity).
12 */
13struct MarkRange
14{
15 size_t begin;
16 size_t end;
17
18 MarkRange() = default;
19 MarkRange(const size_t begin_, const size_t end_) : begin{begin_}, end{end_} {}
20};
21
22using MarkRanges = std::vector<MarkRange>;
23
24
25}
26