| 76 | class FetchNode : public ExecNode, public TracedNode, util::SequencingQueue::Processor { |
| 77 | public: |
| 78 | FetchNode(ExecPlan* plan, std::vector<ExecNode*> inputs, |
| 79 | std::shared_ptr<Schema> output_schema, int64_t offset, int64_t count) |
| 80 | : ExecNode(plan, std::move(inputs), {"input"}, std::move(output_schema)), |
| 81 | TracedNode(this), |
| 82 | offset_(offset), |
| 83 | count_(count), |
| 84 | fetch_counter_(offset, count), |
| 85 | sequencing_queue_(util::SequencingQueue::Make(this)) {} |
| 86 | |
| 87 | static Result<ExecNode*> Make(ExecPlan* plan, std::vector<ExecNode*> inputs, |
| 88 | const ExecNodeOptions& options) { |