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

Function PrintId

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

Source from the content-addressed store, hash-verified

61namespace impala {
62
63string PrintId(const TUniqueId& id, const string& separator) {
64 stringstream out;
65 // Outputting the separator string resets the stream width.
66 out << hex << setfill('0') << setw(16) << id.hi << separator << setw(16) << id.lo;
67 return out.str();
68}
69
70string PrintId(const UniqueIdPB& id, const string& separator) {
71 stringstream out;

Callers 15

HeartbeatMethod · 0.85
UpdateCatalogdMethod · 0.85
UpdateStatestoredRoleMethod · 0.85
UpdateStateMethod · 0.85
RegisterMethod · 0.85
CheckRegistrationIdMethod · 0.85
SubscriberMethod · 0.85
StatestoreMethod · 0.85
SubscribersHandlerMethod · 0.85
DoSubscriberUpdateMethod · 0.85
CatalogHAInfoHandlerMethod · 0.85
CurrentSessionMethod · 0.85

Calls 1

strMethod · 0.45

Tested by 15

HeartbeatMethod · 0.68
UpdateCatalogdMethod · 0.68
UpdateStatestoredRoleMethod · 0.68
UpdateStateMethod · 0.68
RegisterMethod · 0.68
CheckRegistrationIdMethod · 0.68
SubscriberMethod · 0.68
StatestoreMethod · 0.68
SubscribersHandlerMethod · 0.68
DoSubscriberUpdateMethod · 0.68
CatalogHAInfoHandlerMethod · 0.68