21 lines
497 B
C++
21 lines
497 B
C++
/*
|
|
* Copyright (C) 2019-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/util/noncopyable_function.hh>
|
|
|
|
#include "readers/mutation_reader.hh"
|
|
|
|
namespace mutation_writer {
|
|
|
|
using classify_by_timestamp = noncopyable_function<int64_t(api::timestamp_type)>;
|
|
future<> segregate_by_timestamp(mutation_reader producer, classify_by_timestamp classifier, mutation_reader_consumer consumer);
|
|
|
|
} // namespace mutation_writer
|