ClickHouse/src/Storages/MergeTree/ParallelReplicasReadingCoordinator.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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>;
}