ClickHouse/src/IO/SynchronousReader.h
2021-08-27 02:32:11 +03:00

20 lines
314 B
C++

#pragma once
#include <IO/AsynchronousReader.h>
namespace DB
{
/** Implementation of IAsynchronousReader that in fact synchronous.
* The only addition is posix_fadvise.
*/
class SynchronousReader final : public IAsynchronousReader
{
public:
std::future<Result> submit(Request request) override;
};
}