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

Method WriteDict

cpp/src/parquet/test_util.h:408–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406 }
407
408 std::shared_ptr<Buffer> WriteDict() {
409 std::shared_ptr<Buffer> dict_buffer =
410 AllocateBuffer(::arrow::default_memory_pool(), dict_traits_->dict_encoded_size());
411 dict_traits_->WriteDict(dict_buffer->mutable_data());
412 return dict_buffer;
413 }
414
415 int32_t num_values() const { return num_dict_values_; }
416

Callers

nothing calls this directly

Calls 5

default_memory_poolFunction · 0.85
dict_encoded_sizeMethod · 0.80
AllocateBufferFunction · 0.70
WriteDictMethod · 0.45
mutable_dataMethod · 0.45

Tested by

no test coverage detected