| 2500 | } |
| 2501 | |
| 2502 | std::vector<std::string> Schema::field_names() const { |
| 2503 | std::vector<std::string> names; |
| 2504 | for (const auto& field : impl_->fields_) { |
| 2505 | names.push_back(field->name()); |
| 2506 | } |
| 2507 | return names; |
| 2508 | } |
| 2509 | |
| 2510 | class SchemaBuilder::Impl { |
| 2511 | public: |