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

Method GetInt

be/src/util/process-state-info.cc:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43namespace impala {
44
45int ProcessStateInfo::GetInt(const string& state_key) const {
46 ProcessStateMap::const_iterator it = process_state_map_.find(state_key);
47 if (it != process_state_map_.end()) return atoi(it->second.c_str());
48 return -1;
49}
50
51int64_t ProcessStateInfo::GetInt64(const string& state_key) const {
52 ProcessStateMap::const_iterator it = process_state_map_.find(state_key);

Callers 4

TESTFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36