| 323 | } |
| 324 | |
| 325 | std::shared_ptr<Field> Field::RemoveMetadata() const { |
| 326 | return std::make_shared<Field>(name_, type_, nullable_); |
| 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_); |
no outgoing calls