| 2394 | } |
| 2395 | |
| 2396 | Status Schema::CanReferenceFieldsByNames(const std::vector<std::string>& names) const { |
| 2397 | for (const auto& name : names) { |
| 2398 | ARROW_RETURN_NOT_OK(CanReferenceFieldByName(name)); |
| 2399 | } |
| 2400 | return Status::OK(); |
| 2401 | } |
| 2402 | |
| 2403 | FieldVector Schema::GetAllFieldsByName(std::string_view name) const { |
| 2404 | FieldVector result; |