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

Method ScopedRef

be/src/runtime/query-state.cc:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 "of the query. See JvmPauseMonitor for details. Reported by the JvmPauseMonitor.");
97
98QueryState::ScopedRef::ScopedRef(const TUniqueId& query_id) {
99 DCHECK(ExecEnv::GetInstance()->query_exec_mgr() != nullptr);
100 query_state_ = ExecEnv::GetInstance()->query_exec_mgr()->GetQueryState(query_id);
101}
102
103QueryState::ScopedRef::~ScopedRef() {
104 if (query_state_ == nullptr) return;

Callers

nothing calls this directly

Calls 2

query_exec_mgrMethod · 0.80
GetQueryStateMethod · 0.45

Tested by

no test coverage detected