mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-22 07:42:16 +00:00
17 lines
329 B
C++
17 lines
329 B
C++
/*
|
|
* Copyright 2016-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
*/
|
|
|
|
namespace dht {
|
|
class ring_position {
|
|
enum class token_bound:int8_t {start = -1, end = 1};
|
|
dht::token token();
|
|
dht::ring_position::token_bound bound();
|
|
std::optional<partition_key> key();
|
|
};
|
|
}
|