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

Method GetBuffer

be/src/runtime/buffered-tuple-stream.h:438–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436 inline bool is_pinned() const { return handle.is_pinned(); }
437 inline int pin_count() const { return handle.pin_count(); }
438 Status GetBuffer(const BufferPool::BufferHandle** buffer) {
439 RETURN_IF_ERROR(handle.GetBuffer(buffer));
440 retrieved_buffer.Store(true);
441 return Status::OK();
442 }
443
444 /// Attach the buffer from this page to 'batch'. Only valid to call if the page is
445 /// pinned and 'retrieved_buffer' is true. Decrements parent->bytes_pinned_.

Callers

nothing calls this directly

Calls 2

OKFunction · 0.85
StoreMethod · 0.45

Tested by

no test coverage detected