| 408 | } |
| 409 | |
| 410 | ExecBatch ToExecBatch() const { |
| 411 | ExecBatch result; |
| 412 | result.length = this->length; |
| 413 | for (const ExecValue& value : this->values) { |
| 414 | if (value.is_array()) { |
| 415 | result.values.push_back(value.array.ToArrayData()); |
| 416 | } else { |
| 417 | result.values.push_back(value.scalar->GetSharedPtr()); |
| 418 | } |
| 419 | } |
| 420 | return result; |
| 421 | } |
| 422 | |
| 423 | int64_t length = 0; |
| 424 | std::vector<ExecValue> values; |
nothing calls this directly
no test coverage detected