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

Method AppendValues

cpp/src/parquet/test_util.h:397–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395 ~DictionaryPageBuilder() {}
396
397 std::shared_ptr<Buffer> AppendValues(const std::vector<TC>& values) {
398 int num_values = static_cast<int>(values.size());
399 // Dictionary encoding
400 encoder_->Put(values.data(), num_values);
401 num_dict_values_ = dict_traits_->num_entries();
402 have_values_ = true;
403 return encoder_->FlushValues();
404 }
405
406 std::shared_ptr<Buffer> WriteDict() {
407 std::shared_ptr<Buffer> dict_buffer =

Callers

nothing calls this directly

Calls 5

num_entriesMethod · 0.80
sizeMethod · 0.45
PutMethod · 0.45
dataMethod · 0.45
FlushValuesMethod · 0.45

Tested by

no test coverage detected