As requested in #22120, moved the files and fixed other includes and build system. Moved files: - query.cc - query-request.hh - query-result.hh - query-result-reader.hh - query-result-set.cc - query-result-set.hh - query-result-writer.hh - query_id.hh - query_result_merger.hh Fixes: #22120 This is a cleanup, no need to backport Closes scylladb/scylladb#25105
36 lines
995 B
C++
36 lines
995 B
C++
/*
|
|
* Copyright (C) 2023-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: (LicenseRef-ScyllaDB-Source-Available-1.0)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "db/timeout_clock.hh"
|
|
#include "query/query-result.hh"
|
|
|
|
namespace locator {
|
|
|
|
class effective_replication_map;
|
|
|
|
using effective_replication_map_ptr = seastar::shared_ptr<const effective_replication_map>;
|
|
|
|
}
|
|
|
|
namespace replica::mutation_dump {
|
|
|
|
schema_ptr generate_output_schema_from_underlying_schema(schema_ptr underlying_schema);
|
|
|
|
future<foreign_ptr<lw_shared_ptr<query::result>>> dump_mutations(
|
|
sharded<database>& db,
|
|
locator::effective_replication_map_ptr erm_keepalive,
|
|
schema_ptr output_schema, // must have been generated from `underlying_schema`, with `generate_output_schema_from_underlying_schema()`
|
|
schema_ptr underlying_schema,
|
|
const dht::partition_range_vector& pr,
|
|
const query::read_command& cmd,
|
|
db::timeout_clock::time_point timeout);
|
|
|
|
} // namespace replica::mutation_dump
|