| 211 | const char* kind_name() const override { return "PivotLongerNode"; } |
| 212 | |
| 213 | Status InputFinished(ExecNode* input, int total_batches) override { |
| 214 | DCHECK_EQ(input, inputs_[0]); |
| 215 | EVENT_ON_CURRENT_SPAN("InputFinished", {{"batches.length", total_batches}}); |
| 216 | return output_->InputFinished( |
| 217 | this, total_batches * static_cast<int>(options_.row_templates.size())); |
| 218 | } |
| 219 | |
| 220 | Status StartProducing() override { |
| 221 | NoteStartProducing(ToStringExtra()); |