Files
scylladb/idl/ring_position.idl.hh
Avi Kivity 0ae22a09d4 LICENSE: Update to version 1.1
Updated terms of non-commercial use (must be a never-customer).
2026-04-12 19:46:33 +03:00

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();
};
}