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

Function MakeNetworkAddressPB

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

Source from the content-addressed store, hash-verified

178}
179
180NetworkAddressPB MakeNetworkAddressPB(const string& hostname, int port) {
181 NetworkAddressPB ret;
182 ret.set_hostname(hostname);
183 ret.set_port(port);
184 return ret;
185}
186
187string GetUDSAddress(const std::string& hostname, int port, const UniqueIdPB& backend_id,
188 const UdsAddressUniqueIdPB& uds_addr_unique_id) {

Callers 14

TEST_FFunction · 0.85
InitMethod · 0.85
ExecShutdownRequestMethod · 0.85
TryKillQueryRemotelyMethod · 0.85
SetUpMethod · 0.85
TEST_PFunction · 0.85
TEST_PFunction · 0.85
ExecEnvMethod · 0.85

Calls 3

GetUDSAddressFunction · 0.85
UUIDToUniqueIdPBFunction · 0.85
set_portMethod · 0.45

Tested by 8

TEST_FFunction · 0.68
SetUpMethod · 0.68
TEST_PFunction · 0.68
TEST_PFunction · 0.68
SetUpMethod · 0.68
GetNextInstanceIdMethod · 0.68