| 168 | |
| 169 | template <typename Type, typename Sequence> |
| 170 | std::shared_ptr<Buffer> EncodeValues(Encoding::type encoding, bool use_dictionary, |
| 171 | const Sequence& values, int length, |
| 172 | const ColumnDescriptor* descr) { |
| 173 | auto encoder = MakeTypedEncoder<Type>(encoding, use_dictionary, descr); |
| 174 | encoder->Put(values, length); |
| 175 | return encoder->FlushValues(); |
| 176 | } |
| 177 | |
| 178 | template <typename T> |
| 179 | static void InitValues(int num_values, uint32_t seed, std::vector<T>& values, |
nothing calls this directly
no test coverage detected