| 294 | } |
| 295 | |
| 296 | Result<std::shared_ptr<Tensor>> RecordBatch::ToTensor(bool null_to_nan, bool row_major, |
| 297 | MemoryPool* pool) const { |
| 298 | std::shared_ptr<Tensor> tensor; |
| 299 | ARROW_RETURN_NOT_OK( |
| 300 | internal::RecordBatchToTensor(*this, null_to_nan, row_major, pool, &tensor)); |
| 301 | return tensor; |
| 302 | } |
| 303 | |
| 304 | const std::string& RecordBatch::column_name(int i) const { |
| 305 | return schema_->field(i)->name(); |
nothing calls this directly
no test coverage detected