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

Function EncodeValues

cpp/src/parquet/test_util.h:169–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167
168template <typename Type, typename Sequence>
169std::shared_ptr<Buffer> EncodeValues(Encoding::type encoding, bool use_dictionary,
170 const Sequence& values, int length,
171 const ColumnDescriptor* descr) {
172 auto encoder = MakeTypedEncoder<Type>(encoding, use_dictionary, descr);
173 encoder->Put(values, length);
174 return encoder->FlushValues();
175}
176
177template <typename T>
178void 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