| 306 | Ordering::Implicit()) {} |
| 307 | |
| 308 | static Result<ExecNode*> Make(ExecPlan* plan, std::vector<ExecNode*> inputs, |
| 309 | const ExecNodeOptions& options) { |
| 310 | RETURN_NOT_OK(ValidateExecNodeInputs(plan, inputs, 0, "TableSourceNode")); |
| 311 | const auto& table_options = checked_cast<const TableSourceNodeOptions&>(options); |
| 312 | const auto& table = table_options.table; |
| 313 | const int64_t batch_size = table_options.max_batch_size; |
| 314 | |
| 315 | RETURN_NOT_OK(ValidateTableSourceNodeInput(table, batch_size)); |
| 316 | |
| 317 | return plan->EmplaceNode<TableSourceNode>(plan, table, batch_size); |
| 318 | } |
| 319 | |
| 320 | const char* kind_name() const override { return "TableSourceNode"; } |
| 321 |
nothing calls this directly
no test coverage detected