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

Method Codec

be/src/util/codec.cc:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211Codec::Codec(MemPool* mem_pool, bool reuse_buffer, bool supports_streaming)
212 : memory_pool_(mem_pool),
213 reuse_buffer_(reuse_buffer),
214 supports_streaming_(supports_streaming) {
215 if (memory_pool_ != nullptr) {
216 temp_memory_pool_.reset(new MemPool(memory_pool_->mem_tracker()));
217 }
218}
219
220void Codec::Close() {
221 if (temp_memory_pool_.get() != nullptr) {

Callers

nothing calls this directly

Calls 2

resetMethod · 0.65
mem_trackerMethod · 0.45

Tested by

no test coverage detected