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

Method label

be/src/exec/exec-node.cc:425–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425string ExecNode::label() const {
426 map<int, const char*>::const_iterator i = _TPlanNodeType_VALUES_TO_NAMES.find(type_);
427 string node_type_name = "UNKNOWN";
428 if (i != _TPlanNodeType_VALUES_TO_NAMES.end()) {
429 node_type_name = i->second;
430 }
431 return Substitute("$0 (id=$1)", node_type_name, std::to_string(id_));
432}
433
434void ExecNode::CollectNodes(TPlanNodeType::type node_type, vector<ExecNode*>* nodes) {
435 if (type_ == node_type) nodes->push_back(this);

Callers 8

Chart-2.9.4.min.jsFile · 0.45
InitStreamsMethod · 0.45
PrepareForWriteMethod · 0.45
OpenMethod · 0.45
MemLimitExceededMethod · 0.45
TEST_FFunction · 0.45

Calls 3

SubstituteFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by 1

TEST_FFunction · 0.36