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

Method AppendValues

cpp/src/parquet/test_util.h:399–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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