2021-12-09 10:39:28 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <Storages/MergeTree/RequestResponse.h>
|
|
|
|
|
2022-11-14 05:09:03 +00:00
|
|
|
|
2021-12-09 10:39:28 +00:00
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
class ParallelReplicasReadingCoordinator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ParallelReplicasReadingCoordinator();
|
|
|
|
~ParallelReplicasReadingCoordinator();
|
|
|
|
PartitionReadResponse handleRequest(PartitionReadRequest request);
|
|
|
|
private:
|
|
|
|
class Impl;
|
|
|
|
std::unique_ptr<Impl> pimpl;
|
|
|
|
};
|
|
|
|
|
2022-06-02 09:46:33 +00:00
|
|
|
using ParallelReplicasReadingCoordinatorPtr = std::shared_ptr<ParallelReplicasReadingCoordinator>;
|
|
|
|
|
2021-12-09 10:39:28 +00:00
|
|
|
}
|