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

Function FromNetworkAddressPB

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

Source from the content-addressed store, hash-verified

255}
256
257TNetworkAddress FromNetworkAddressPB(const NetworkAddressPB& address) {
258 TNetworkAddress t_address;
259 t_address.__set_hostname(address.hostname());
260 t_address.__set_port(address.port());
261 if (address.has_uds_address()) t_address.__set_uds_address(address.uds_address());
262 return t_address;
263}
264
265NetworkAddressPB FromTNetworkAddress(const TNetworkAddress& address) {
266 NetworkAddressPB address_pb;

Callers 8

TEST_FFunction · 0.85
QueryStateExpandedMethod · 0.85
PrepareQueryContextMethod · 0.85
CreateQueryStateMethod · 0.85
AddFilterSourceMethod · 0.85
SetExternalPlanMethod · 0.85
CheckTranslationFunction · 0.85

Calls 2

hostnameMethod · 0.80
portMethod · 0.45

Tested by 3

TEST_FFunction · 0.68
CreateQueryStateMethod · 0.68
CheckTranslationFunction · 0.68