/*
 * Copyright (C) 2022-present ScyllaDB
 */

/*
 * SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
 */

#pragma once

#include "interval.hh"

class mutation_reader;

namespace dht {
class ring_position;
using partition_range = interval<ring_position>;
}

namespace query {
class partition_slice;
}

/// Create a wrapper that filters fragments according to partition range and slice.
mutation_reader make_slicing_filtering_reader(mutation_reader, const dht::partition_range&, const query::partition_slice&);
