mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 03:20:37 +00:00
these unused includes were identified by clangd. see https://clangd.llvm.org/guides/include-cleaner#unused-include-warning for more details on the "Unused include" warning. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#16725
36 lines
613 B
C++
36 lines
613 B
C++
/*
|
|
* Copyright (C) 2020-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/sstring.hh>
|
|
|
|
#include "dht/i_partitioner.hh"
|
|
|
|
class schema;
|
|
|
|
namespace sstables {
|
|
|
|
class key_view;
|
|
|
|
}
|
|
|
|
namespace cdc {
|
|
|
|
struct cdc_partitioner final : public dht::i_partitioner {
|
|
static const sstring classname;
|
|
|
|
cdc_partitioner() = default;
|
|
virtual const sstring name() const override;
|
|
virtual dht::token get_token(const schema& s, partition_key_view key) const override;
|
|
virtual dht::token get_token(const sstables::key_view& key) const override;
|
|
};
|
|
|
|
|
|
}
|