ClickHouse/src/Storages/MergeTree/ParallelReplicasReadingCoordinator.h

24 lines
469 B
C++
Raw Normal View History

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