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