| 634 | |
| 635 | template<typename T> |
| 636 | inline void DictEncoder<T>::WriteDict(uint8_t* buffer) { |
| 637 | for (const Node& node: nodes_) { |
| 638 | buffer += ParquetPlainEncoder::Encode(node.value, encoded_value_size_, buffer); |
| 639 | } |
| 640 | } |
| 641 | |
| 642 | inline int DictEncoderBase::WriteData(uint8_t* buffer, int buffer_len) { |
| 643 | // Write bit width in first byte |