2018-05-23 20:19:33 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-05-24 02:39:22 +00:00
|
|
|
#include <vector>
|
2018-05-23 20:19:33 +00:00
|
|
|
|
|
|
|
#include <Processors/IProcessor.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
/** Wraps pipeline in a single processor.
|
|
|
|
* This processor has no inputs and outputs and just executes the pipeline,
|
|
|
|
* performing all synchronous work from the current thread.
|
|
|
|
*/
|
2019-02-08 16:10:57 +00:00
|
|
|
//class SequentialPipelineExecutor : public IProcessor
|
|
|
|
//{
|
|
|
|
//private:
|
|
|
|
// Processors processors;
|
|
|
|
// IProcessor * current_processor = nullptr;
|
|
|
|
//
|
|
|
|
//public:
|
|
|
|
// SequentialPipelineExecutor(const Processors & processors);
|
|
|
|
//
|
|
|
|
// String getName() const override { return "SequentialPipelineExecutor"; }
|
|
|
|
//
|
|
|
|
// Status prepare() override;
|
|
|
|
// void work() override;
|
|
|
|
// void schedule(EventCounter & watch) override;
|
|
|
|
//};
|
2018-05-23 20:19:33 +00:00
|
|
|
|
|
|
|
}
|