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

Method CopyLiteralsToOutput

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

Source from the content-addressed store, hash-verified

592
593template <typename T>
594uint32_t DictDecoder<T>::CopyLiteralsToOutput(
595 uint32_t max_to_copy, StrideWriter<T>* out) {
596 uint32_t num_to_copy =
597 std::min<uint32_t>(num_literal_values_ - next_literal_idx_, max_to_copy);
598 for (uint32_t i = 0; i < num_to_copy; ++i) {
599 out->SetNext(decoded_values_[next_literal_idx_++]);
600 }
601 return num_to_copy;
602}
603
604template <typename T>
605bool DictDecoder<T>::DecodeNextValue(T* value) {

Callers

nothing calls this directly

Calls 1

SetNextMethod · 0.45

Tested by

no test coverage detected