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

Method WriteDict

be/src/util/dict-encoding.h:636–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634
635template<typename T>
636inline void DictEncoder<T>::WriteDict(uint8_t* buffer) {
637 for (const Node& node: nodes_) {
638 buffer += ParquetPlainEncoder::Encode(node.value, encoded_value_size_, buffer);
639 }
640}
641
642inline int DictEncoderBase::WriteData(uint8_t* buffer, int buffer_len) {
643 // Write bit width in first byte

Callers 4

FlushMethod · 0.80
DictEncodeAllFunction · 0.80
ValidateDictFunction · 0.80
TESTFunction · 0.80

Calls 1

EncodeFunction · 0.85

Tested by 2

ValidateDictFunction · 0.64
TESTFunction · 0.64