| 95 | |
| 96 | struct SourceNode : ExecNode, public TracedNode { |
| 97 | SourceNode(ExecPlan* plan, std::shared_ptr<Schema> output_schema, |
| 98 | AsyncGenerator<std::optional<ExecBatch>> generator, |
| 99 | Ordering ordering = Ordering::Unordered()) |
| 100 | : ExecNode(plan, {}, {}, std::move(output_schema)), |
| 101 | TracedNode(this), |
| 102 | generator_(std::move(generator)), |
| 103 | ordering_(std::move(ordering)) {} |
| 104 | |
| 105 | static Result<ExecNode*> Make(ExecPlan* plan, std::vector<ExecNode*> inputs, |
| 106 | const ExecNodeOptions& options) { |
nothing calls this directly
no outgoing calls
no test coverage detected