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

Function PrintIdSet

be/src/util/debug-util.cc:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91string PrintIdSet(const std::set<TUniqueId>& ids, const std::string& separator) {
92 stringstream out;
93 auto it = ids.begin();
94 while (it != ids.end()) {
95 out << PrintId(*it);
96 if (++it != ids.end()) {
97 out << separator;
98 }
99 }
100 return out.str();
101}
102
103bool ParseId(const string& s, TUniqueId* id) {
104 // For backwards compatibility, this method parses two forms of query ID from text:

Callers 2

FillSessionsInfoMethod · 0.85
FillConnectionsInfoMethod · 0.85

Calls 4

PrintIdFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected