MCPcopy Create free account
hub / github.com/apache/arrow / EncodeValues

Function EncodeValues

cpp/src/parquet/test_util.h:170–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168
169template <typename Type, typename Sequence>
170std::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
178template <typename T>
179static void InitValues(int num_values, uint32_t seed, std::vector<T>& values,

Callers

nothing calls this directly

Calls 2

PutMethod · 0.45
FlushValuesMethod · 0.45

Tested by

no test coverage detected