| 1637 | } |
| 1638 | |
| 1639 | void ResetKeyValueMetadata() override { |
| 1640 | if (closed_) { |
| 1641 | throw ParquetException("Cannot add key-value metadata to closed column"); |
| 1642 | } |
| 1643 | key_value_metadata_ = nullptr; |
| 1644 | } |
| 1645 | |
| 1646 | private: |
| 1647 | using ValueEncoderType = typename EncodingTraits<ParquetType>::Encoder; |