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

Function getHandleData

be/src/runtime/tuple-cache-mgr.cc:302–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300void TupleCacheMgr::HandleDeleter::operator()(Handle* ptr) const { delete ptr; }
301
302static uint8_t* getHandleData(const Cache* cache, TupleCacheMgr::Handle* handle) {
303 DCHECK(handle->cache_handle != nullptr);
304 return cache->Value(handle->cache_handle).mutable_data();
305}
306
307TupleCacheState TupleCacheMgr::GetState(TupleCacheMgr::Handle* handle) const {
308 uint8_t* data = getHandleData(cache_.get(), handle);

Callers 6

GetStateMethod · 0.85
UpdateStateMethod · 0.85
GetChargeMethod · 0.85
UpdateWriteSizeMethod · 0.85
RequestWriteSizeMethod · 0.85
GetPathMethod · 0.85

Calls 2

mutable_dataMethod · 0.80
ValueMethod · 0.45

Tested by

no test coverage detected