1 | //===----------------------------------------------------------------------===// |
2 | // DuckDB |
3 | // |
4 | // duckdb/parallel/pipeline_event.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/parallel/base_pipeline_event.hpp" |
12 | |
13 | namespace duckdb { |
14 | |
15 | //! A PipelineEvent is responsible for scheduling a pipeline |
16 | class PipelineEvent : public BasePipelineEvent { |
17 | public: |
18 | PipelineEvent(shared_ptr<Pipeline> pipeline); |
19 | |
20 | public: |
21 | void Schedule() override; |
22 | void FinishEvent() override; |
23 | }; |
24 | |
25 | } // namespace duckdb |
26 | |