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

Function NetworkAddressPBToString

be/src/util/network-util.cc:251–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251string NetworkAddressPBToString(const NetworkAddressPB& address) {
252 stringstream ss;
253 ss << address.hostname() << ":" << dec << address.port();
254 return ss.str();
255}
256
257TNetworkAddress FromNetworkAddressPB(const NetworkAddressPB& address) {
258 TNetworkAddress t_address;

Callers 15

UpdateHostStatsMethod · 0.85
HasAvailableSlotsMethod · 0.85
RejectForScheduleMethod · 0.85
SetSlotsInUseMethod · 0.85
TEST_FFunction · 0.85

Calls 3

hostnameMethod · 0.80
portMethod · 0.45
strMethod · 0.45

Tested by 3

SetSlotsInUseMethod · 0.68
TEST_FFunction · 0.68