mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-22 15:52:13 +00:00
19 lines
513 B
C++
19 lines
513 B
C++
/*
|
|
* Copyright (C) 2022-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
class mutation_reader;
|
|
|
|
// Create an adaptor which provides a next_partition() implementation for
|
|
// readers which don't have one.
|
|
// `next_partition()` is implemented by discarding fragments until the next one
|
|
// is a partition start one.
|
|
// The returned reader doesn't support any form of fast-forwarding.
|
|
mutation_reader make_next_partition_adaptor(mutation_reader&& rd);
|