blob: fda2b1c52b61f0b900d5e8b5b90047c12868f408 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace search::bmcluster {
/*
* Range of document "keys" used to generate documents
*/
class BmRange
{
uint32_t _start;
uint32_t _end;
public:
BmRange(uint32_t start_in, uint32_t end_in)
: _start(start_in),
_end(end_in)
{
}
uint32_t get_start() const { return _start; }
uint32_t get_end() const { return _end; }
};
}
|