| 392 | } |
| 393 | |
| 394 | std::vector<std::string> RecordBatch::ColumnNames() const { |
| 395 | std::vector<std::string> names(num_columns()); |
| 396 | for (int i = 0; i < num_columns(); ++i) { |
| 397 | names[i] = schema()->field(i)->name(); |
| 398 | } |
| 399 | return names; |
| 400 | } |
| 401 | |
| 402 | Result<std::shared_ptr<RecordBatch>> RecordBatch::RenameColumns( |
| 403 | const std::vector<std::string>& names) const { |
nothing calls this directly
no test coverage detected