| 520 | } |
| 521 | |
| 522 | Status MergeFrom(KernelContext*, KernelState&& src) override { |
| 523 | const auto& other = checked_cast<const ThisType&>(src); |
| 524 | this->state += other.state; |
| 525 | this->count += other.count; |
| 526 | return Status::OK(); |
| 527 | } |
| 528 | |
| 529 | Status Finalize(KernelContext*, Datum* out) override { |
| 530 | const auto& struct_type = checked_cast<const StructType&>(*out_type); |