MCPcopy Create free account
hub / github.com/apache/impala / ~RowBatch

Method ~RowBatch

be/src/runtime/row-batch.cc:209–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209RowBatch::~RowBatch() {
210 tuple_data_pool_.FreeAll();
211 FreeBuffers();
212 if (tuple_ptrs_info_.get() != nullptr) {
213 ExecEnv::GetInstance()->buffer_pool()->FreeBuffer(
214 tuple_ptrs_info_->client, &(tuple_ptrs_info_->buffer));
215 } else {
216 DCHECK(tuple_ptrs_ != nullptr);
217 free(tuple_ptrs_);
218 mem_tracker_->Release(tuple_ptrs_size_);
219 }
220 tuple_ptrs_ = nullptr;
221}
222
223Status RowBatch::Serialize(
224 OutboundRowBatch* output_batch, TrackedString* compression_scratch) {

Callers

nothing calls this directly

Calls 5

getMethod · 0.65
FreeAllMethod · 0.45
FreeBufferMethod · 0.45
buffer_poolMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected