| 1583 | |
| 1584 | template <typename T> |
| 1585 | ::arrow::Status GetScratchData(const int64_t num_values, T** out) { |
| 1586 | ARROW_RETURN_NOT_OK(this->data_buffer->Resize(num_values * sizeof(T), false)); |
| 1587 | *out = reinterpret_cast<T*>(this->data_buffer->mutable_data()); |
| 1588 | return ::arrow::Status::OK(); |
| 1589 | } |
| 1590 | |
| 1591 | MemoryPool* memory_pool; |
| 1592 | const ArrowWriterProperties* properties; |
nothing calls this directly
no test coverage detected