| 327 | } |
| 328 | |
| 329 | std::shared_ptr<Field> Field::WithType(const std::shared_ptr<DataType>& type) const { |
| 330 | return std::make_shared<Field>(name_, type, nullable_, metadata_); |
| 331 | } |
| 332 | |
| 333 | std::shared_ptr<Field> Field::WithName(const std::string& name) const { |
| 334 | return std::make_shared<Field>(name, type_, nullable_, metadata_); |
no outgoing calls